summaryrefslogtreecommitdiff
path: root/kernel/lockdep_states.h
diff options
context:
space:
mode:
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>2013-03-19 13:40:23 +0000
committerDavid S. Miller <davem@davemloft.net>2013-03-20 12:17:59 -0400
commit0582b7d15f8a7ae53dd2128b8eb01567b3fd2277 (patch)
tree3573e1c8cbbff92617caaf914efa10c36e58cd6e /kernel/lockdep_states.h
parent283951f95b067877ca5ea77afaa212bb1e0507b5 (diff)
sh_eth: fix bitbang memory leak
sh_mdio_init() allocates pointer to 'struct bb_info' but only stores it locally, so that sh_mdio_release() can't free it on driver unload. Add the pointer to 'struct bb_info' to 'struct sh_eth_private', so that sh_mdio_init() can save 'bitbang' variable for sh_mdio_release() to be able to free it later... Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/lockdep_states.h')
0 files changed, 0 insertions, 0 deletions