aboutsummaryrefslogtreecommitdiffstats
path: root/mm/readahead.c
diff options
context:
space:
mode:
authorLothar Waßmann <LW@KARO-electronics.de>2011-12-07 21:59:31 +0000
committerDavid S. Miller <davem@davemloft.net>2011-12-08 19:51:20 -0500
commite163cc97f9ac169f00e86df57bee365e82e9c365 (patch)
tree9c0071c6fc4e8add7055829fe7c9e1519deb40f7 /mm/readahead.c
parentnet/fec: preserve MII/RMII setting in fec_stop() (diff)
downloadlinux-dev-e163cc97f9ac169f00e86df57bee365e82e9c365.tar.xz
linux-dev-e163cc97f9ac169f00e86df57bee365e82e9c365.zip
net/fec: fix the .remove code
The .remove code is broken in several ways. - mdiobus_unregister() is called twice for the same object in case of dual FEC - phy_disconnect() is being called when the PHY is already disconnected - the requested IRQ(s) are not freed - fec_stop() is being called with the inteface already stopped All of those lead to kernel crashes if the remove function is actually used. Signed-off-by: Lothar Waßmann <LW@KARO-electronics.de> Tested-by: Shawn Guo <shawn.guo@linaro.org> Acked-by: Shawn Guo <shawn.guo@linaro.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'mm/readahead.c')
0 files changed, 0 insertions, 0 deletions