diff options
author | Bart Van Assche <[email protected]> | 2023-05-29 13:26:36 -0700 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2023-05-31 11:42:46 -0400 |
commit | c854bcdf5e18a3b672e363138f2f6657a1803170 (patch) | |
tree | 69e70df549306993f8d99a39a4077eac461951bb /lib/test_fortify/write_overflow_field-memset.c | |
parent | ac9a78681b921877518763ba0e89202254349d1b (diff) |
scsi: core: Rework scsi_host_block()
Make scsi_host_block() easier to read by converting it to the widely used
early-return style. See also commit f983622ae605 ("scsi: core: Avoid
calling synchronize_rcu() for each device in scsi_host_block()").
Reviewed-by: Mike Christie <[email protected]>
Reviewed-by: Ming Lei <[email protected]>
Cc: Ye Bin <[email protected]>
Cc: Hannes Reinecke <[email protected]>
Signed-off-by: Bart Van Assche <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow_field-memset.c')
0 files changed, 0 insertions, 0 deletions