scsi: use per-cpu buffer for formatting sense
Convert sense buffer logging to use the per-cpu buffer to avoid line breakup. Tested-by: Robert Elliott <elliott@hp.com> Reviewed-by: Robert Elliott <elliott@hp.com> Signed-off-by: Hannes Reinecke <hare@suse.de> Signed-off-by: Christoph Hellwig <hch@lst.de>
Este cometimento está contido em:

cometido por
Christoph Hellwig

ascendente
cbba5b0ee4
cometimento
2104551969
@@ -3318,11 +3318,8 @@ module_exit(exit_sd);
|
||||
static void sd_print_sense_hdr(struct scsi_disk *sdkp,
|
||||
struct scsi_sense_hdr *sshdr)
|
||||
{
|
||||
scsi_show_sense_hdr(sdkp->device,
|
||||
sdkp->disk ? sdkp->disk->disk_name : NULL, sshdr);
|
||||
scsi_show_extd_sense(sdkp->device,
|
||||
sdkp->disk ? sdkp->disk->disk_name : NULL,
|
||||
sshdr->asc, sshdr->ascq);
|
||||
scsi_print_sense_hdr(sdkp->device,
|
||||
sdkp->disk ? sdkp->disk->disk_name : NULL, sshdr);
|
||||
}
|
||||
|
||||
static void sd_print_result(const struct scsi_disk *sdkp, const char *msg,
|
||||
|
Criar uma nova questão referindo esta
Bloquear um utilizador