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:06 +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 01/10] scsi/constants: Cleanup printk message in

A device name is output like "sda: Sense Key : Medium Error [current]"
in __scsi_print_sense(), but it should be "[sda] Sense Key : Medium Error
[current]" because other printk messages output a device name like "[sda] foo."

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/constants.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/scsi/constants.c b/drivers/scsi/constants.c
index c6a7a4a..a0e8159 100644
--- a/drivers/scsi/constants.c
+++ b/drivers/scsi/constants.c
@@ -1470,7 +1470,7 @@ void __scsi_print_sense(struct scsi_device *sdev, const char *name,
-	sdev_printk(KERN_INFO, sdev, "%s: Sense Key : %s %s%s\n", name,
+	sdev_printk(KERN_INFO, sdev, "[%s] Sense Key : %s %s%s\n", name,

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