linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 9/18] lpfc 8.3.42: Fixed logging format of setting driver sysfs attributes hard to interpret
@ 2013-09-06 16:20 James Smart
  0 siblings, 0 replies; only message in thread
From: James Smart @ 2013-09-06 16:20 UTC (permalink / raw)
  To: linux-scsi

Fixed logging format of setting driver sysfs attributes hard to interpret


Signed-off-by: James Smart <james.smart@emulex.com>

 ---

 lpfc_attr.c |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)


diff -upNr a/drivers/scsi/lpfc/lpfc_attr.c b/drivers/scsi/lpfc/lpfc_attr.c
--- a/drivers/scsi/lpfc/lpfc_attr.c	2013-09-04 13:18:04.000000000 -0400
+++ b/drivers/scsi/lpfc/lpfc_attr.c	2013-09-06 10:04:15.825058574 -0400
@@ -1865,8 +1865,10 @@ lpfc_##attr##_set(struct lpfc_vport *vpo
 { \
 	if (val >= minval && val <= maxval) {\
 		lpfc_printf_vlog(vport, KERN_ERR, LOG_INIT, \
-			"3053 lpfc_" #attr " changed from %d to %d\n", \
-			vport->cfg_##attr, val); \
+			"3053 lpfc_" #attr \
+			" changed from %d (x%x) to %d (x%x)\n", \
+			vport->cfg_##attr, vport->cfg_##attr, \
+			val, val); \
 		vport->cfg_##attr = val;\
 		return 0;\
 	}\




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-09-06 16:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-06 16:20 [PATCH 9/18] lpfc 8.3.42: Fixed logging format of setting driver sysfs attributes hard to interpret James Smart

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).