alistair23-linux/drivers/usb/host
Sebastian Andrzej Siewior ff30bf1ca4 USB: remove optional bus bindings in isp1760, fixing runtime warning
Roland Reported the following:
| kmem_cache_create: duplicate cache isp1760_qtd
| Pid: 461, comm: modprobe Tainted: G        W  2.6.28-rc2-git3-default #4
| Call Trace:
|  [<c017540e>] kmem_cache_create+0xc9/0x3a3
|  [<c0159a8d>] free_pages_bulk+0x16c/0x1c9
|  [<f165c05f>] isp1760_init+0x0/0xb [isp1760]
|  [<f165c018>] init_kmem_once+0x18/0x5f [isp1760]
|  [<f165c064>] isp1760_init+0x5/0xb [isp1760]
|  [<c010113d>] _stext+0x4d/0x148
|  [<c0142936>] load_module+0x12cd/0x142e
|  [<c01743c4>] kmem_cache_destroy+0x0/0xd7
|  [<c0142b1e>] sys_init_module+0x87/0x176
|  [<c01039eb>] sysenter_do_call+0x12/0x2f

The reason, is that ret is initialized with ENODEV instead of 0 _or_
the kmem cache is not freed in error case with no bus binding.

The difference between OF+PCI and OF only is
| 15148     804      32   15984    3e70 isp1760-of-pci.o
| 13748     676       8   14432    3860 isp1760-of.o

about 1.5 KiB.

Until there is a checkbox where the user *must* select atleast one item,
and may select multiple entries I don't make it selectable anymore.
Having a driver which can't be used under any circumstances is broken
anyway and I've seen distros shipping it that way.

Reported-by: Roland Kletzing <devzero@web.de>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>a
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2008-11-13 14:45:03 -08:00
..
whci wusb: WHCI host controller driver 2008-09-17 16:54:31 +01:00
ehci-au1xxx.c USB: Au1xxx-usb: suspend/resume support. 2008-07-21 15:16:44 -07:00
ehci-dbg.c USB: EHCI, OHCI, UHCI: remove version numbers 2008-10-17 14:41:02 -07:00
ehci-fsl.c USB: EHCI: Reconciling USB register differences on MPC85xx vs MPC83xx 2008-07-21 15:16:45 -07:00
ehci-fsl.h ehci-fsl: fix cache coherency problem on system with large memory 2007-05-23 20:14:15 -07:00
ehci-hcd.c USB: Fix unused label warnings in drivers/usb/host/ehci-hcd.c 2008-10-20 14:23:29 -07:00
ehci-hub.c USB: EHCI: fix remote-wakeup support for ARC/TDI core 2008-10-17 14:41:03 -07:00
ehci-ixp4xx.c ALSA: Correct Vladimir Barinov's e-mail address 2008-10-10 13:41:45 +02:00
ehci-mem.c Revert "USB: EHCI cpufreq fix" 2007-08-20 23:38:44 -07:00
ehci-orion.c [ARM] Move include/asm-arm/plat-orion to arch/arm/plat-orion/include/plat 2008-08-09 13:44:58 +02:00
ehci-pci.c USB: EHCI: suppress unwanted error messages 2008-05-29 13:59:03 -07:00
ehci-ppc-of.c USB: EHCI: suppress unwanted error messages 2008-05-29 13:59:03 -07:00
ehci-ps3.c USB: Fix PS3 USB shutdown problems 2008-11-13 14:45:02 -08:00
ehci-q.c list.h: Add list_splice_tail() and list_splice_tail_init() 2008-08-07 09:49:42 -04:00
ehci-sched.c USB: fix EHCI periodic transfers 2008-09-23 13:58:08 -07:00
ehci.h USB: EHCI: fix remote-wakeup support for ARC/TDI core 2008-10-17 14:41:03 -07:00
hwa-hc.c wusb: add HWA host controller driver 2008-09-17 16:54:31 +01:00
isp116x-hcd.c USB: Let some USB host controllers get IRQ flags from resource 2008-10-17 14:40:52 -07:00
isp116x.h Rename WARN() to WARNING() to clear the namespace 2008-07-25 10:53:29 -07:00
isp1760-hcd.c USB: ISP1760: fixed trivial math in comment 2008-08-21 10:26:32 -07:00
isp1760-hcd.h usb: isp1760: don't be noisy about short packets. 2008-08-13 17:32:55 -07:00
isp1760-if.c USB: remove optional bus bindings in isp1760, fixing runtime warning 2008-11-13 14:45:03 -08:00
Kconfig USB: remove optional bus bindings in isp1760, fixing runtime warning 2008-11-13 14:45:03 -08:00
Makefile wusb: add HWA host controller driver 2008-09-17 16:54:31 +01:00
ohci-at91.c USB: automatically enable RHSC interrupts 2008-08-21 10:26:38 -07:00
ohci-au1xxx.c USB: automatically enable RHSC interrupts 2008-08-21 10:26:38 -07:00
ohci-dbg.c USB: EHCI, OHCI, UHCI: remove version numbers 2008-10-17 14:41:02 -07:00
ohci-ep93xx.c USB: automatically enable RHSC interrupts 2008-08-21 10:26:38 -07:00
ohci-hcd.c USB: ohci: add support for tmio-ohci cell 2008-10-22 10:05:27 -07:00
ohci-hub.c USB: OHCI: fix endless polling behavior 2008-10-17 14:41:04 -07:00
ohci-lh7a404.c USB: automatically enable RHSC interrupts 2008-08-21 10:26:38 -07:00
ohci-mem.c USB: OHCI handles more ZFMicro quirks 2007-10-12 14:54:59 -07:00
ohci-omap.c USB: ohci-omap: handle other omap15xx chips 2008-10-17 14:40:59 -07:00
ohci-pci.c USB: automatically enable RHSC interrupts 2008-08-21 10:26:38 -07:00
ohci-pnx4008.c USB: EHCI, OHCI, UHCI: remove version numbers 2008-10-17 14:41:02 -07:00
ohci-pnx8550.c USB: automatically enable RHSC interrupts 2008-08-21 10:26:38 -07:00
ohci-ppc-of.c USB: automatically enable RHSC interrupts 2008-08-21 10:26:38 -07:00
ohci-ppc-soc.c USB: automatically enable RHSC interrupts 2008-08-21 10:26:38 -07:00
ohci-ps3.c USB: Fix PS3 USB shutdown problems 2008-11-13 14:45:02 -08:00
ohci-pxa27x.c [ARM] ohci-pxa27x: use ioremap() and offset for register access 2008-10-07 19:12:58 +01:00
ohci-q.c USB: quirk PLL power down mode 2008-08-13 17:32:58 -07:00
ohci-s3c2410.c USB: automatically enable RHSC interrupts 2008-08-21 10:26:38 -07:00
ohci-sa1111.c USB: automatically enable RHSC interrupts 2008-08-21 10:26:38 -07:00
ohci-sh.c USB: automatically enable RHSC interrupts 2008-08-21 10:26:38 -07:00
ohci-sm501.c USB: automatically enable RHSC interrupts 2008-08-21 10:26:38 -07:00
ohci-ssb.c USB: automatically enable RHSC interrupts 2008-08-21 10:26:38 -07:00
ohci-tmio.c USB: ohci: add support for tmio-ohci cell 2008-10-22 10:05:27 -07:00
ohci.h usb: remove code associated with !CONFIG_PPC_MERGE 2008-10-17 14:40:57 -07:00
pci-quirks.c USB: replace remaining __FUNCTION__ occurrences 2008-04-24 21:16:55 -07:00
pci-quirks.h [PATCH] USB: pci-quirks.c: proper prototypes 2006-04-14 11:12:20 -07:00
r8a66597-hcd.c USB: remove err() macro from more usb drivers 2008-10-17 14:41:14 -07:00
r8a66597.h USB: r8a66597-hcd: Add support for SH7366 USB host 2008-04-24 21:16:49 -07:00
sl811-hcd.c USB: Let some USB host controllers get IRQ flags from resource 2008-10-17 14:40:52 -07:00
sl811.h Rename WARN() to WARNING() to clear the namespace 2008-07-25 10:53:29 -07:00
sl811_cs.c pcmcia: encapsulate ioaddr_t 2008-08-29 09:43:14 +02:00
u132-hcd.c USB: automatically enable RHSC interrupts 2008-08-21 10:26:38 -07:00
uhci-debug.c USB: add urb->unlinked field 2007-10-12 14:55:19 -07:00
uhci-hcd.c USB: EHCI: log a warning if ehci-hcd is not loaded first 2008-10-17 14:41:03 -07:00
uhci-hcd.h USB: UHCI: disable remote wakeup when it's not needed 2008-05-02 10:25:57 -07:00
uhci-hub.c USB: uhci: mark root_hub_hub_des[] as const 2008-07-21 15:16:30 -07:00
uhci-q.c USB: UHCI: improve scheduling of interrupt URBs 2008-10-17 14:41:01 -07:00