diff options
author | Thomas Gleixner <[email protected]> | 2020-11-26 14:29:51 +0100 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2020-12-01 00:03:53 -0500 |
commit | b8a5144370bc59dbb192b8f29298920ceadc3d1e (patch) | |
tree | 74d1625f82f9861614682a72eeb0ded3737fd130 /scripts/gdb/linux/config.py | |
parent | ca6853693cbdcc3f9a38f4544bd3d7b149509784 (diff) |
scsi: message: fusion: Remove in_interrupt() usage in mpt_config()
in_interrupt() is referenced all over the place in these drivers. Most of
these references are comments which are outdated and wrong.
Aside of that in_interrupt() is deprecated as it does not provide what the
name suggests. It covers more than hard/soft interrupt servicing context
and is semantically ill defined.
>From reading the mpt_config() code and the history this is clearly a debug
mechanism and should probably be replaced by might_sleep() or completely
removed because such checks are already in the subsequent functions.
Remove the in_interrupt() references and replace the usage in mpt_config()
with might_sleep().
Link: https://lore.kernel.org/r/[email protected]
Cc: Sathya Prakash <[email protected]>
Cc: Sreekanth Reddy <[email protected]>
Cc: Suganath Prabu Subramani <[email protected]>
Cc: [email protected]
Reviewed-by: Daniel Wagner <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Signed-off-by: Sebastian Andrzej Siewior <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/config.py')
0 files changed, 0 insertions, 0 deletions