diff options
| author | Oleg Drokin <[email protected]> | 2011-03-11 01:17:27 +0000 |
|---|---|---|
| committer | Stefan Richter <[email protected]> | 2011-03-14 22:30:57 +0000 |
| commit | d838d2c09af0820e306e3e9e31f97e873823b0b4 (patch) | |
| tree | b51cb6854bac7282c925f67b612ee22e946445c2 /net/unix/af_unix.c | |
| parent | firewire: ohci: omit IntEvent.busReset check rom AT queueing (diff) | |
| download | kernel-d838d2c09af0820e306e3e9e31f97e873823b0b4.tar.gz kernel-d838d2c09af0820e306e3e9e31f97e873823b0b4.zip | |
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 <[email protected]>
It is perhaps just a rudiment from before mainline submission of the
driver.
Signed-off-by: Stefan Richter <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
