lkml.org 
[lkml]   [2014]   [Aug]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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/

\
 
 \ /
  Last update: 2014-08-04 10:41    [W:0.047 / U:0.588 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site