Re: [PATCH] ISDN: Change pci_find_device() calls to pci_get_device()

2007-09-21 Thread Surya Prabhakar N
On Fri, 2007-09-21 at 10:55 +0200, Gregory 'GaLi' Cavelier wrote: > The following patch removes the obsolete pci_find_device() calls and replaces > them with pci_get_device() for all ISDN drivers. > > Compilation is fine but I haven't tested it since I don't own a ISDN card. > Should be fine sin

drivers/net/tokenring/3c359.c

2007-08-13 Thread Surya Prabhakar N
Hi, Replacing kmalloc with kzalloc and cleaning up memset in drivers/net/tokenring/3c359.c Signed-off-by: Surya Prabhakar <[EMAIL PROTECTED]> --- diff --git a/drivers/net/tokenring/3c359.c b/drivers/net/tokenring/3c359.c index 9f1b6ab..d36dd53 100644 --- a/drivers/net/tokenring/3c359.c +++ b

[KJ] replacing kmalloc with kzalloc in drivers/net/sb1250-mac.c

2007-08-13 Thread Surya Prabhakar N
Hi, Replacing kmalloc with kzalloc and cleaning up memset in drivers/net/sb1250-mac.c Signed-off-by: Surya Prabhakar <[EMAIL PROTECTED]> --- diff --git a/drivers/net/sb1250-mac.c b/drivers/net/sb1250-mac.c index e7fdcf1..2dca5a7 100644 --- a/drivers/net/sb1250-mac.c +++ b/drivers/net/sb1250-

[KJ] replacing kmalloc with kzalloc in drivers/mtd/devices/docprobe.c

2007-08-13 Thread Surya Prabhakar N
Hi, Replacing kmalloc with kzalloc and cleaning up memset in drivers/mtd/devices/docprobe.c. Signed-off-by: Surya Prabhakar <[EMAIL PROTECTED]> --- diff --git a/drivers/mtd/devices/docprobe.c b/drivers/mtd/devices/docprobe.c index 54aa759..53be397 100644 --- a/drivers/mtd/devices/docprobe.c +

[KJ] replacing kmalloc with kzalloc in drivers/mtd/chips/jedec_probe.c

2007-08-13 Thread Surya Prabhakar N
Hi, Replacing kmalloc with kzalloc and cleaning up memset in drivers/mtd/chips/jedec_probe.c. Signed-off-by: Surya Prabhakar <[EMAIL PROTECTED]> --- diff --git a/drivers/mtd/chips/jedec_probe.c b/drivers/mtd/chips/jedec_probe.c index 58e561e..ba5fc39 100644 --- a/drivers/mtd/chips/jedec_probe

[KJ] replacing kmalloc with kzalloc in drivers/mtd/chips/cfi_probe.c

2007-08-13 Thread Surya Prabhakar N
Hi, Replacing kmalloc with kzalloc and cleaning up memset in arch/i386/kernel/io_apic.c Signed-off-by: Surya Prabhakar <[EMAIL PROTECTED]> --- diff --git a/drivers/mtd/chips/cfi_probe.c b/drivers/mtd/chips/cfi_probe.c index 60e11a0..efb51f7 100644 --- a/drivers/mtd/chips/cfi_probe.c +++ b/dr

[KJ-resend]replacing kmalloc with kzalloc in drivers/mtd/chips/cfi_probe.c

2007-08-13 Thread Surya Prabhakar N
Hi, Replacing kmalloc with kzalloc and cleaning up memset in drivers/mtd/chips/cfi_probe.c. Kindly ignore the previous similar patch. Signed-off-by: Surya Prabhakar <[EMAIL PROTECTED]> --- diff --git a/drivers/mtd/chips/cfi_probe.c b/drivers/mtd/chips/cfi_probe.c index 60e11a0..efb51f7 100644

cli/sti cleanup in drivers/net/cris/eth_v10.c

2007-08-13 Thread Surya Prabhakar N
Hi, Removed the cli/sti reference in eth_v10.c and updated it with proper spinlock code. Signed-off-by: Surya Prabhakar <[EMAIL PROTECTED]> --- diff --git a/drivers/net/cris/eth_v10.c b/drivers/net/cris/eth_v10.c index 5bdf5ca..d1f7225 100644 --- a/drivers/net/cris/eth_v10.c +++ b/drivers/

[KJ] replacing kmalloc with kzalloc in io_apic.c

2007-08-13 Thread Surya Prabhakar N
Hi, Replacing kmalloc with kzalloc and cleaning up memset in arch/i386/kernel/io_apic.c Signed-off-by: Surya Prabhakar <[EMAIL PROTECTED]> --- diff --git a/arch/i386/kernel/io_apic.c b/arch/i386/kernel/io_apic.c index 4b8a8da..1329615 100644 --- a/arch/i386/kernel/io_apic.c +++ b/arch/i386/

Drop patch update-isdn-tree-to-use-pci_get_device.patch from -mm tree

2007-07-15 Thread Surya Prabhakar N
Hi Andrew, I would request you to drop the patch update-isdn-tree-to-use-pci_get_device.patch from the -mm tree since a new bug is been identified in that by jeff. thanks. surya. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTEC

Re: [PATCH 1/12] drivers/isdn/hisax/avm_pci.c: replace pci_find_device with pci_get_device

2007-07-15 Thread Surya Prabhakar N
On Sun, 2007-07-15 at 03:40 -0400, Jeff Garzik wrote: > To be more clear, your solution is incorrect unless the pci_dev_put() > occurs after the last reference to hw.{elsa,diva,hfc,njet,...}.dev, > which is where the HiSax ISDN drivers store their reference to struct > pci_dev during the runtime

updated sbpcd.c

2007-06-28 Thread Surya Prabhakar N
again. * Still room for improvement in the request handling here if anyone * actually cares. Bring your own chainsaw.Paul G. 02/2002 + * + * Deprecated check_region cleanup to request_region + * -Surya Prabhakar N08/07/2007 */ @@ -555,6 +558,7 @@ stati