drm: fix nouveau warning
parent
91c6c4b240
commit
74a9ea896e
|
@ -615,7 +615,7 @@ int nouveau_ioctl_getparam(struct drm_device *dev, void *data, struct drm_file *
|
||||||
break;
|
break;
|
||||||
case NOUVEAU_GETPARAM_PCI_PHYSICAL:
|
case NOUVEAU_GETPARAM_PCI_PHYSICAL:
|
||||||
if ( dev -> sg )
|
if ( dev -> sg )
|
||||||
getparam->value=(uint64_t) dev->sg->virtual;
|
getparam->value=(unsigned long)dev->sg->virtual;
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
DRM_ERROR("Requested PCIGART address, while no PCIGART was created\n");
|
DRM_ERROR("Requested PCIGART address, while no PCIGART was created\n");
|
||||||
|
|
Loading…
Reference in New Issue