summaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorJonathan Toppins <jtoppins@redhat.com>2018-03-14 19:36:25 +0300
committerDavid S. Miller <davem@davemloft.net>2018-03-14 20:43:02 +0300
commitea91df6d8a55836c7401eb6d5d4d828b659d8d67 (patch)
tree3e3b6edcd3b4c5d15345b5db6ef975341b08223d /drivers/fpga/fpga-mgr.c
parentd52e5a7e7ca49457dd31fc8b42fb7c0d58a31221 (diff)
downloadlinux-ea91df6d8a55836c7401eb6d5d4d828b659d8d67.tar.xz
tg3: prevent scheduling while atomic splat
The problem was introduced in commit 506b0a395f26 ("[netdrv] tg3: APE heartbeat changes"). The bug occurs because tp->lock spinlock is held which is obtained in tg3_start by way of tg3_full_lock(), line 11571. The documentation for usleep_range() specifically states it cannot be used inside a spinlock. Fixes: 506b0a395f26 ("[netdrv] tg3: APE heartbeat changes") Signed-off-by: Jonathan Toppins <jtoppins@redhat.com> Acked-by: Michael Chan <michael.chan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions