OSDN Git Service

scsi/core: Change the return type of scsi_noretry_cmd() into bool
authorBart Van Assche <bvanassche@acm.org>
Thu, 14 Jul 2022 18:07:06 +0000 (11:07 -0700)
committerJens Axboe <axboe@kernel.dk>
Thu, 14 Jul 2022 18:14:32 +0000 (12:14 -0600)
commit88b32c3cdf5fff7ed5bdaec7493428185cc65b6e
treeca6cb6db745a55f6dbaded68ba026e79aa6610fa
parentea957547e819a21bd49895c6162f78d542867d39
scsi/core: Change the return type of scsi_noretry_cmd() into bool

This patch prepares for introducing the new blk_opf_t type in the SCSI core.
Since the value returned by scsi_noretry_cmd() is only used in boolean
expressions, this patch does not change any functionality.

Cc: Martin K. Petersen <martin.petersen@oracle.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Ming Lei <ming.lei@redhat.com>
Cc: Hannes Reinecke <hare@suse.de>
Cc: John Garry <john.garry@huawei.com>
Cc: Mike Christie <michael.christie@oracle.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20220714180729.1065367-41-bvanassche@acm.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/scsi/scsi_error.c
drivers/scsi/scsi_priv.h