Re: /proc/bus/pci IOCTL breakage

2007-07-27 Thread Alexey Dobriyan
On Thu, Jul 26, 2007 at 11:04:35PM -0700, David Miller wrote: > From: David Miller <[EMAIL PROTECTED]> > Date: Thu, 26 Jul 2007 19:07:51 -0700 (PDT) > > > Two ways to fix: > > > > 1) Make the PROC wrapper call ->unlocked_ioctl() or ->ioctl() > >as a fallback of ->compat_ioctl is NULL. > > >

Re: /proc/bus/pci IOCTL breakage

2007-07-26 Thread David Miller
From: David Miller <[EMAIL PROTECTED]> Date: Thu, 26 Jul 2007 19:07:51 -0700 (PDT) > Two ways to fix: > > 1) Make the PROC wrapper call ->unlocked_ioctl() or ->ioctl() >as a fallback of ->compat_ioctl is NULL. > > 2) Make proc_bus_pci_operations provide a .compat_ioctl method, >but then

/proc/bus/pci IOCTL breakage

2007-07-26 Thread David Miller
This change: commit 786d7e1612f0b0adb6046f19b906609e4fe8b1ba Author: Alexey Dobriyan <[EMAIL PROTECTED]> Date: Sun Jul 15 23:39:00 2007 -0700 Fix rmmod/read/write races in /proc entries Broke ioctl() on /proc/bus/pci/* files for COMPAT platforms. proc_fops->ioctl() is defined for these P