aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorSoumya Negi <soumya.negi97@gmail.com>2023-10-12 16:29:06 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-10-15 18:20:35 +0200
commit84b52696b99edbc63a855b5a44d9e7f02e11fde5 (patch)
tree365aa2671e073f9602f271c8258b5de500439bfb /tools/perf/scripts/python/bin
parentstaging: rts5208: Refactor macros to static inline functions (diff)
downloadlinux-84b52696b99edbc63a855b5a44d9e7f02e11fde5.tar.gz
linux-84b52696b99edbc63a855b5a44d9e7f02e11fde5.zip
staging: rts5208: Remove macros scsi_lock(), scsi_unlock()
The scsi_lock() and scsi_unlock() macros protect the sm_state and the single queue element srb for write access in the driver. As suggested, these names are very generic. Remove the macros from header file and call spin_lock_irq() & spin_unlock_irq() directly instead. Suggested-by: Dan Carpenter <dan.carpenter@linaro.org> Suggested-by: Julia Lawall <julia.lawall@inria.fr> Signed-off-by: Soumya Negi <soumya.negi97@gmail.com> Link: https://lore.kernel.org/r/75a5990190cf7a5d20d1c27237b90b583e68ced8.1697152251.git.soumya.negi97@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions