On 06/23/2018 12:22 PM, Douglas Gilbert wrote:
Place scsi_io_completion()'s complex error processing associated with a
local enumeration into a static helper function. That enumeration's
values start with "ACTION_" so use the suffix "_action" in the helper
function's name.

Signed-off-by: Douglas Gilbert <[email protected]>
Reviewed-by: Johannes Thumshirn <[email protected]>
Reviewed-by: Bart Van Assche <[email protected]>
---
  drivers/scsi/scsi_lib.c | 329 +++++++++++++++++++++-------------------
  1 file changed, 175 insertions(+), 154 deletions(-)

Reviewed-by: Hannes Reinecke <[email protected]>

Cheers,

Hannes

Reply via email to