Re: [PATCH 06/19] mfd: htc-i2cpld: fix %d confusingly prefixed with 0x in format string
From: Lee Jones
Date: Mon Aug 04 2014 - 04:09:46 EST
On Sun, 03 Aug 2014, Hans Wennborg wrote:
> Signed-off-by: Hans Wennborg <hans@xxxxxxxxxx>
> ---
> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/