linux/drivers/firewire
Oleg Drokin d838d2c09a firewire: ohci: Misleading kfree in ohci.c::pci_probe/remove
It seems drivers/firewire/ohci.c is making some optimistic assumptions
about struct fw_ohci and that member "card" will always remain the first
member of the struct.
Plus it's probably going to confuse a lot of static code analyzers too.

So I wonder if there is a good reason not to free the ohci struct just
like it was allocated instead of the tricky &ohci->card way?

Signed-off-by: Oleg Drokin <green@linuxhacker.ru>

It is perhaps just a rudiment from before mainline submission of the
driver.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
2011-03-14 23:30:57 +01:00
..
core-card.c firewire: core: fix card->reset_jiffies overflow 2011-01-23 12:31:01 +01:00
core-cdev.c firewire: core: fix card->reset_jiffies overflow 2011-01-23 12:31:01 +01:00
core-device.c firewire: core: fix card->reset_jiffies overflow 2011-01-23 12:31:01 +01:00
core-iso.c firewire: core: rename some variables 2011-02-26 15:11:03 +01:00
core-topology.c firewire: core: fix card->reset_jiffies overflow 2011-01-23 12:31:01 +01:00
core-transaction.c firewire: use split transaction timeout only for split transactions 2011-01-04 08:48:34 +01:00
core.h firewire: make PHY packet header format consistent 2010-12-13 20:39:14 +01:00
init_ohci1394_dma.c ieee1394: move init_ohci1394_dma to drivers/firewire/ 2010-10-11 14:48:03 +02:00
Kconfig firewire: nosy: should work on Power Mac G4 PCI too 2011-02-26 15:11:03 +01:00
Makefile ieee1394: move init_ohci1394_dma to drivers/firewire/ 2010-10-11 14:48:03 +02:00
net.c firewire: net: set carrier state at ifup 2010-12-19 15:27:02 +01:00
nosy-user.h firewire: nosy: endianess fixes and annotations 2010-07-27 11:04:11 +02:00
nosy.c firewire: nosy: char device is not seekable 2010-12-12 15:47:02 +01:00
nosy.h firewire: nosy: misc cleanups 2010-07-27 11:04:10 +02:00
ohci.c firewire: ohci: Misleading kfree in ohci.c::pci_probe/remove 2011-03-14 23:30:57 +01:00
ohci.h firewire: ohci: fix TI TSB82AA2 regression since 2.6.35 2010-10-17 14:09:12 +02:00
sbp2.c SCSI host lock push-down 2010-11-16 13:33:23 -08:00