* [PATCH 06/19] mfd: htc-i2cpld: fix %d confusingly prefixed with 0x in format string
@ 2014-08-04 0:19 Hans Wennborg
2014-08-04 8:09 ` Lee Jones
0 siblings, 1 reply; 2+ messages in thread
From: Hans Wennborg @ 2014-08-04 0:19 UTC (permalink / raw)
To: sameo, lee.jones, linux-kernel; +Cc: Hans Wennborg
Signed-off-by: Hans Wennborg <hans@hanshq.net>
---
drivers/mfd/htc-i2cpld.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 */
--
2.0.0.526.g5318336
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH 06/19] mfd: htc-i2cpld: fix %d confusingly prefixed with 0x in format string
2014-08-04 0:19 [PATCH 06/19] mfd: htc-i2cpld: fix %d confusingly prefixed with 0x in format string Hans Wennborg
@ 2014-08-04 8:09 ` Lee Jones
0 siblings, 0 replies; 2+ messages in thread
From: Lee Jones @ 2014-08-04 8:09 UTC (permalink / raw)
To: Hans Wennborg; +Cc: sameo, linux-kernel
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-08-04 8:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-04 0:19 [PATCH 06/19] mfd: htc-i2cpld: fix %d confusingly prefixed with 0x in format string Hans Wennborg
2014-08-04 8:09 ` Lee Jones
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).