lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 08 Aug 2014 11:50:19 +0000
From:	Yoshihiro YUNOMAE <>
To:	Hannes Reinecke <>
	"Martin K. Petersen" <>,,,
	"James E.J. Bottomley" <>,
	Hidehiro Kawai <>,
	Doug Gilbert <>,
	Masami Hiramatsu <>,
	Christoph Hellwig <>
Subject: [RFC PATCH 06/10] scsi/sd: Delete extra scsi_show_extd_sense() in

sd_print_sense_hdr() calls scsi_show_extd_sense(),
but scsi_print_sense_hdr() also calls scsi_show_extd_sense().
We can get same result, so we delete it.

Calling scsi_show_extd_sense() is introduced in fdd8b297.

Signed-off-by: Yoshihiro YUNOMAE <>
Cc: Hannes Reinecke <>
Cc: Doug Gilbert <>
Cc: Martin K. Petersen <>
Cc: Christoph Hellwig <>
Cc: "James E.J. Bottomley" <>
Cc: Hidehiro Kawai <>
Cc: Masami Hiramatsu <>
 drivers/scsi/sd.c |    2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/scsi/sd.c b/drivers/scsi/sd.c
index 8d7204a..22dd214 100644
--- a/drivers/scsi/sd.c
+++ b/drivers/scsi/sd.c
@@ -3286,8 +3286,6 @@ static void sd_print_sense_hdr(struct scsi_disk *sdkp,
 			       struct scsi_sense_hdr *sshdr)
 	scsi_print_sense_hdr(sdkp->device, sdkp->disk->disk_name, sshdr);
-	scsi_show_extd_sense(sdkp->device, sdkp->disk->disk_name,
-			     sshdr->asc, sshdr->ascq);
 static void sd_print_result(struct scsi_disk *sdkp, int result)

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

Powered by blists - more mailing lists