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] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150225134405.GG2039@nanopsycho.orion>
Date:	Wed, 25 Feb 2015 14:44:05 +0100
From:	Jiri Pirko <jiri@...nulli.us>
To:	Dan Carpenter <dan.carpenter@...cle.com>
Cc:	Scott Feldman <sfeldma@...il.com>, netdev@...r.kernel.org,
	linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [patch 2/2] rocker: silence shift wrapping warning

Wed, Feb 25, 2015 at 02:36:12PM CET, dan.carpenter@...cle.com wrote:
>"val" is declared as a u64 so static checkers complain that this shift
>can wrap.  I don't have the hardware but probably it's doesn't have over

It's a QEMU hardware, you can have it easily.

>31 ports.  Still we may as well silence the warning even if it's not a
>real bug.

It can have up to 62 ports.

>
>Signed-off-by: Dan Carpenter <dan.carpenter@...cle.com>
Acked-by: Jiri Pirko <jiri@...nulli.us>
--
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