Messages in this thread | | | Date | Mon, 4 Aug 2014 09:09:35 +0100 | From | Lee Jones <> | Subject | Re: [PATCH 06/19] mfd: htc-i2cpld: fix %d confusingly prefixed with 0x in format string |
| |
On Sun, 03 Aug 2014, Hans Wennborg wrote:
> Signed-off-by: Hans Wennborg <hans@hanshq.net> > --- > drivers/mfd/htc-i2cpld.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-)
Applied, thanks.
> diff --git a/drivers/mfd/htc-i2cpld.c b/drivers/mfd/htc-i2cpld.c > index b44f020..6bdb78c 100644 > --- a/drivers/mfd/htc-i2cpld.c > +++ b/drivers/mfd/htc-i2cpld.c > @@ -404,7 +404,7 @@ static int htcpld_register_chip_i2c( > } > > i2c_set_clientdata(client, chip); > - snprintf(client->name, I2C_NAME_SIZE, "Chip_0x%d", client->addr); > + snprintf(client->name, I2C_NAME_SIZE, "Chip_0x%x", client->addr); > chip->client = client; > > /* Reset the chip */
-- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |