From: Tejun Heo <htejun@gmail.com>
To: jgarzik@pobox.com, alan@lxorguk.ukuu.org.uk, axboe@suse.de,
albertcc@tw.ibm.com, lkosewsk@gmail.com,
linux-ide@vger.kernel.org
Cc: Tejun Heo <htejun@gmail.com>
Subject: [PATCH 3/3] libata: prefix sata register print outs with 0x
Date: Tue, 11 Apr 2006 22:26:29 +0900 [thread overview]
Message-ID: <1144761989558-git-send-email-htejun@gmail.com> (raw)
In-Reply-To: <11447619891579-git-send-email-htejun@gmail.com>
Prefix SStatus and SControl values with 0x as they are hex.
Signed-off-by: Tejun Heo <htejun@gmail.com>
---
drivers/scsi/libata-core.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
f95a0f4882a17839102844fa0afe74a88e554800
diff --git a/drivers/scsi/libata-core.c b/drivers/scsi/libata-core.c
index f1abe75..808a978 100644
--- a/drivers/scsi/libata-core.c
+++ b/drivers/scsi/libata-core.c
@@ -1520,11 +1520,11 @@ static void sata_print_link_status(struc
if (sata_dev_present(ap)) {
tmp = (sstatus >> 4) & 0xf;
printk(KERN_INFO
- "ata%u: SATA link up %s (SStatus %X SControl %X)\n",
+ "ata%u: SATA link up %s (SStatus 0x%X SControl 0x%X)\n",
ap->id, sata_spd_string(tmp), sstatus, scontrol);
} else {
printk(KERN_INFO
- "ata%u: SATA link down (SStatus %X SControl %X)\n",
+ "ata%u: SATA link down (SStatus 0x%X SControl 0x%X)\n",
ap->id, sstatus, scontrol);
}
}
--
1.2.4
next prev parent reply other threads:[~2006-04-11 13:26 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-11 13:26 [PATCHSET 3/9] misc ata_bus_probe() updates Tejun Heo
2006-04-11 13:26 ` [PATCH 2/3] libata: cosmetic update to ata_bus_probe() Tejun Heo
2006-04-11 13:26 ` Tejun Heo [this message]
2006-04-11 17:24 ` [PATCH 3/3] libata: prefix sata register print outs with 0x Jeff Garzik
2006-04-12 1:20 ` Tejun Heo
2006-04-11 13:26 ` [PATCH 1/3] libata: disable failed devices only once in ata_bus_probe() Tejun Heo
2006-04-11 17:22 ` Jeff Garzik
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1144761989558-git-send-email-htejun@gmail.com \
--to=htejun@gmail.com \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=albertcc@tw.ibm.com \
--cc=axboe@suse.de \
--cc=jgarzik@pobox.com \
--cc=linux-ide@vger.kernel.org \
--cc=lkosewsk@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).