mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-05-05 03:08:15 +02:00
patch from Linux kernel 2.6.5
This commit is contained in:
parent
bc1428035c
commit
1bc7576474
3 changed files with 3 additions and 3 deletions
|
|
@ -601,7 +601,7 @@ static int DRM(probe)(struct pci_dev *pdev)
|
|||
DRM_ERROR( "Cannot initialize the agpgart module.\n" );
|
||||
DRM(stub_unregister)(dev->minor);
|
||||
DRM(takedown)( dev );
|
||||
return -ENOMEM;
|
||||
return -EINVAL;
|
||||
}
|
||||
#endif
|
||||
#if __REALLY_HAVE_MTRR
|
||||
|
|
|
|||
|
|
@ -601,7 +601,7 @@ static int DRM(probe)(struct pci_dev *pdev)
|
|||
DRM_ERROR( "Cannot initialize the agpgart module.\n" );
|
||||
DRM(stub_unregister)(dev->minor);
|
||||
DRM(takedown)( dev );
|
||||
return -ENOMEM;
|
||||
return -EINVAL;
|
||||
}
|
||||
#endif
|
||||
#if __REALLY_HAVE_MTRR
|
||||
|
|
|
|||
|
|
@ -84,7 +84,7 @@ ssize_t DRM(read)(struct file *filp, char *buf, size_t count, loff_t *off)
|
|||
}
|
||||
|
||||
wake_up_interruptible(&dev->buf_writers);
|
||||
return DRM_MIN(avail, count);;
|
||||
return DRM_MIN(avail, count);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue