i2c: sis630: display unsigned hex
authorAmaury Decrême <amaury.decreme@gmail.com>
Mon, 28 Jan 2013 21:21:09 +0000 (22:21 +0100)
committerWolfram Sang <wolfram@the-dreams.de>
Mon, 11 Feb 2013 14:59:39 +0000 (15:59 +0100)
This patch corrects the display of the acpi_base unsigned hex value.

Signed-off-by: Amaury Decrême <amaury.decreme@gmail.com>
Reviewed-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Wolfram Sang <wolfram@the-dreams.de>
drivers/i2c/busses/i2c-sis630.c

index b2fa741..424545b 100644 (file)
@@ -463,7 +463,7 @@ static int sis630_setup(struct pci_dev *sis630_dev)
                goto exit;
        }
 
-       dev_dbg(&sis630_dev->dev, "ACPI base at 0x%04x\n", acpi_base);
+       dev_dbg(&sis630_dev->dev, "ACPI base at 0x%04hx\n", acpi_base);
 
        if (supported[i] == PCI_DEVICE_ID_SI_760)
                smbus_base = acpi_base + 0xE0;