diff options
author | Mike Christie <[email protected]> | 2023-06-23 11:11:36 -0500 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2023-06-28 21:58:36 -0400 |
commit | 40863cb945c93a55aeaf8a2fd2bef1c7507ee8f2 (patch) | |
tree | f07a8bc347b60095d5001d8e91f2794581b73170 /scripts/generate_rust_analyzer.py | |
parent | 9b7c13b83c1dedb79a746eae9dfabc10a2673049 (diff) |
scsi: target: iblock: Quiet bool conversion warning with pr_preempt use
We want to pass in true for pr_preempt's argument if we are doing a
PRO_PREEMPT_AND_ABORT, so just test sa against PRO_PREEMPT_AND_ABORT, and
pass the result directly to pr_preempt.
Reported-by: kernel test robot <[email protected]>
Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
Signed-off-by: Mike Christie <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Maurizio Lombardi <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions