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]
Date: Wed, 3 Apr 2024 19:10:42 -0700
From: Max Filippov <jcmvbkbc@...il.com>
To: Thorsten Blum <thorsten.blum@...lux.com>
Cc: Chris Zankel <chris@...kel.net>, Greg Kroah-Hartman <gregkh@...uxfoundation.org>, 
	"Jiri Slaby (SUSE)" <jirislaby@...nel.org>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] tty: xtensa/iss: Use umin() to fix Coccinelle warning

On Wed, Apr 3, 2024 at 4:48 PM Thorsten Blum <thorsten.blum@...lux.com> wrote:
>
> Use unsigned size_t to improve len data type and umin() to fix the
> following Coccinelle/coccicheck warning reported by minmax.cocci:
>
>         WARNING opportunity for min()
>
> Signed-off-by: Thorsten Blum <thorsten.blum@...lux.com>
> ---
>  arch/xtensa/platforms/iss/console.c | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)

Thanks. Applied to my xtensa tree.

-- Max

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ