lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Mon, 4 Aug 2014 09:09:35 +0100
From:	Lee Jones <lee.jones@...aro.org>
To:	Hans Wennborg <hans@...shq.net>
Cc:	sameo@...ux.intel.com, linux-kernel@...r.kernel.org
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@...shq.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@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ