mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
scsi: use sdev as argument for sense code printing
We should be using the standard dev_printk() variants for sense code printing. [hch: remove __scsi_print_sense call in xen-scsiback, Acked by Juergen] [hch: folded bracing fix from Dan Carpenter] Signed-off-by: Hannes Reinecke <[email protected]> Reviewed-by: Robert Elliott <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
This commit is contained in:
parent
22e0d99415
commit
d811b848eb
18 changed files with 107 additions and 98 deletions
|
|
@ -274,10 +274,6 @@ static void scsiback_print_status(char *sense_buffer, int errors,
|
|||
tpg->tport->tport_name, pending_req->v2p->lun,
|
||||
pending_req->cmnd[0], status_byte(errors), msg_byte(errors),
|
||||
host_byte(errors), driver_byte(errors));
|
||||
|
||||
if (CHECK_CONDITION & status_byte(errors))
|
||||
__scsi_print_sense("xen-pvscsi", sense_buffer,
|
||||
SCSI_SENSE_BUFFERSIZE);
|
||||
}
|
||||
|
||||
static void scsiback_fast_flush_area(struct vscsibk_pend *req)
|
||||
|
|
|
|||
Loading…
Reference in a new issue