summaryrefslogtreecommitdiffstats
path: root/lib/klist.c
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2020-11-16 17:21:16 +0100
committerJakub Kicinski <kuba@kernel.org>2020-11-18 16:43:59 -0800
commit2de680dea6a888271087521a9501a74af57fa076 (patch)
treeff45981fe756f42c893c2176adb2e821f84af4d9 /lib/klist.c
parentf2bcc2fa275b913093ff5b403be5d11342fdb055 (diff)
downloadlinux-stable-2de680dea6a888271087521a9501a74af57fa076.tar.gz
linux-stable-2de680dea6a888271087521a9501a74af57fa076.tar.bz2
linux-stable-2de680dea6a888271087521a9501a74af57fa076.zip
atm: lanai: Remove in_interrupt() usage
lanai_shutdown_tx_vci() uses in_interrupt() to issue a warning message if the function was used in context in which it is not safe to sleep. The usage of in_interrupt() in driver code is deprecated as it can not always detect all states where it is not allowed to sleep. msleep() has debug code which will trigger a warning if used in bad context. Remove in_interrupt(). Cc: Chas Williams <3chas3@gmail.com> Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'lib/klist.c')
0 files changed, 0 insertions, 0 deletions