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: Tue, 13 Feb 2024 08:44:25 -0600
From: Rob Herring <robh@...nel.org>
To: Dawei Li <dawei.li@...ngroup.cn>
Cc: lkp@...el.com, frowand.list@...il.com, oe-kbuild-all@...ts.linux.dev,
	devicetree@...r.kernel.org, stephen.boyd@...aro.org,
	robh+dt@...nel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] of: Make explicit cpu_to_be32 conversion to mute sparse
 warning


On Mon, 05 Feb 2024 10:40:33 +0800, Dawei Li wrote:
> Kernel test robot reports sparse warning:
> sparse warnings: (new ones prefixed by >>)
> >> drivers/of/base.c:1337:73: sparse: sparse: incorrect type in initializer
>    (different base types) @@  expected restricted __be32 @@  got int @@
>    drivers/of/base.c:1337:73: sparse:     expected restricted __be32
>    drivers/of/base.c:1337:73: sparse:     got int
> 
> Thus, Make explicit conversions to mute warning(Although BE and LE are
> exactly same in binary representation for 0/~0).
> 
> Reported-by: kernel test robot <lkp@...el.com>
> Closes: https://lore.kernel.org/oe-kbuild-all/202402042134.GEb3Bgwl-lkp@intel.com/
> Signed-off-by: Dawei Li <dawei.li@...ngroup.cn>
> ---
>  drivers/of/base.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 

Applied, thanks!


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ