summaryrefslogtreecommitdiff
path: root/drivers/net/enc28j60.c
diff options
context:
space:
mode:
authorChristian Lamparter <chunkeey@web.de>2009-03-30 17:55:24 +0400
committerJohn W. Linville <linville@tuxdriver.com>2009-04-16 18:39:06 +0400
commit731c6531684250c46d732e369b25b003356f3947 (patch)
tree2f6b7f210fea5c093ba0cbb3e592557942aeb4e6 /drivers/net/enc28j60.c
parent540828196e48ec54b64067a2b9defd870bff3ece (diff)
downloadlinux-731c6531684250c46d732e369b25b003356f3947.tar.xz
p54spi: fix locking warning in p54spi_op_tx
This patch fixes the following waring: > ------------[ cut here ]------------ >WARNING: at kernel/softirq.c:138 local_bh_enable+0x54/0xbc() >Modules linked in: p54spi >[<c0034ff8>] (dump_stack+0x0/0x14) >[<c005b1a4>] (warn_on_slowpath+0x0/0x68) >[<c00604c8>] (local_bh_enable+0x0/0xbc) >[<bf000000>] (p54spi_op_tx+0x0/0x4c [p54spi]) >[<c01a4d34>] (p54_sta_unlock+0x0/0x78) p54spi_op_tx needs to be called from different locking contexts. Therefore we have to protect the linked list with irqsave spinlocks. Reported-by: Max Filippov <jcmvbkbc@gmail.com> Signed-off-by: Christian Lamparter <chunkeey@web.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/enc28j60.c')
0 files changed, 0 insertions, 0 deletions