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]
Message-Id: <20171128.160339.37744043841577511.davem@davemloft.net>
Date:   Tue, 28 Nov 2017 16:03:39 -0500 (EST)
From:   David Miller <davem@...emloft.net>
To:     colin.king@...onical.com
Cc:     3chas3@...il.com, linux-atm-general@...ts.sourceforge.net,
        netdev@...r.kernel.org, kernel-janitors@...r.kernel.org,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCH] atm: lanai: use %p to format kernel addresses instead
 of %x

From: Colin King <colin.king@...onical.com>
Date: Mon, 27 Nov 2017 13:39:32 +0000

> From: Colin Ian King <colin.king@...onical.com>
> 
> Don't use %x and casting to print out a kernel address, instead use %p
> and remove the casting.  Cleans up smatch warnings:
> 
> drivers/atm/lanai.c:1589 service_buffer_allocate() warn: argument 2 to
> %08lX specifier is cast from pointer
> drivers/atm/lanai.c:2221 lanai_dev_open() warn: argument 4 to %lx
> specifier is cast from pointer
> 
> Signed-off-by: Colin Ian King <colin.king@...onical.com>

Applied.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ