public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] scsi: megaraid_sas: Prevent future %p disaster
@ 2015-02-06 14:33 Rasmus Villemoes
  2015-02-10 16:46 ` Kashyap Desai
  0 siblings, 1 reply; 8+ messages in thread
From: Rasmus Villemoes @ 2015-02-06 14:33 UTC (permalink / raw)
  To: Kashyap Desai, Sumit Saxena, Uday Lingala, James E.J. Bottomley
  Cc: Rasmus Villemoes, megaraidlinux.pdl, linux-scsi, linux-kernel

There is currently no %po format extension, so currently the letters
"on" are simply skipped and the pointer is printed as expected (while
missing the word on). However, it is probably only a matter of time
before someone comes up with a %po extension, at which point this is
likely to fail spectacularly.

Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
---
 drivers/scsi/megaraid/megaraid_sas_base.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/scsi/megaraid/megaraid_sas_base.c b/drivers/scsi/megaraid/megaraid_sas_base.c
index ff283d23788a..e7c6b9c946d6 100644
--- a/drivers/scsi/megaraid/megaraid_sas_base.c
+++ b/drivers/scsi/megaraid/megaraid_sas_base.c
@@ -3105,7 +3105,7 @@ megasas_internal_reset_defer_cmds(struct megasas_instance *instance)
 	for (i = 0; i < max_cmd; i++) {
 		cmd = instance->cmd_list[i];
 		if (cmd->sync_cmd == 1 || cmd->scmd) {
-			printk(KERN_NOTICE "megasas: moving cmd[%d]:%p:%d:%p"
+			printk(KERN_NOTICE "megasas: moving cmd[%d]:%p:%d:%p "
 					"on the defer queue as internal\n",
 				defer_index, cmd, cmd->sync_cmd, cmd->scmd);
 
-- 
2.1.3


^ permalink raw reply related	[flat|nested] 8+ messages in thread
[parent not found: <OF651E5409.7FC1198E-ONC1257E49.0034C44E-C1257E49.0034D9A0@de.ibm.com>]

end of thread, other threads:[~2015-05-18 10:07 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-06 14:33 [PATCH] scsi: megaraid_sas: Prevent future %p disaster Rasmus Villemoes
2015-02-10 16:46 ` Kashyap Desai
2015-02-10 16:55   ` Joe Perches
2015-02-10 18:38     ` Joe Perches
2015-05-12 14:04   ` Rasmus Villemoes
2015-05-12 14:52     ` Joe Perches
2015-05-12 15:01       ` Joe Perches
     [not found] <OF651E5409.7FC1198E-ONC1257E49.0034C44E-C1257E49.0034D9A0@de.ibm.com>
2015-05-18 10:05 ` Ursula Braun

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox