summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMike Christie <michael.christie@oracle.com>2023-06-23 11:11:36 -0500
committerMartin K. Petersen <martin.petersen@oracle.com>2023-06-28 21:58:36 -0400
commit40863cb945c93a55aeaf8a2fd2bef1c7507ee8f2 (patch)
treef07a8bc347b60095d5001d8e91f2794581b73170 /tools
parent9b7c13b83c1dedb79a746eae9dfabc10a2673049 (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 <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202306221655.Kwtqi1gI-lkp@intel.com/ Signed-off-by: Mike Christie <michael.christie@oracle.com> Link: https://lore.kernel.org/r/20230623161136.6270-1-michael.christie@oracle.com Reviewed-by: Maurizio Lombardi <mlombard@redhat.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions