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: <8608c7da4cfc45889f450a538fb0b443@AcuMS.aculab.com>
Date:   Fri, 20 May 2022 21:43:03 +0000
From:   David Laight <David.Laight@...LAB.COM>
To:     'Jakub Kicinski' <kuba@...nel.org>,
        Kees Cook <keescook@...omium.org>
CC:     "netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: RE: GCC 12 warnings

From: Jakub Kicinski
> Sent: 20 May 2022 18:24
...
> > +ifeq ($(KBUILD_EXTRA_WARN),)
> > +CFLAGS_kvaser_usb_hydra.o += -Wno-array-bounds
> > +endif
> 
> Ah, thanks, I must have tried -Wno-array-bounds before I figured out
> the condition and reverted back to full $(call cc-disable-warning, ..)
> Let me redo the patches.

I think you need a check that the compiler actually supports
-Wno-array-bounds.
But that only needs be done once, not for every file
that needs the option.

	David

-
Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK
Registration No: 1397386 (Wales)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ