Prefix SStatus and SControl values with 0x as they are hex. Signed-off-by: Tejun Heo <htejun@xxxxxxxxx> --- 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 - : send the line "unsubscribe linux-ide" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html