Re: [PATCH] lib: bitmap: Mute some odd section mismatch warning in xtensa kernel build

2021-08-15 Thread Yury Norov via Gcc
On Sun, Aug 15, 2021 at 03:21:32PM +1200, Barry Song wrote: > From: Barry Song > > Constanly there are some section mismatch issues reported in test_bitmap > for xtensa platform such as: > > Section mismatch in reference from the function bitmap_equal() to the > variable .init.data:initcall_

Re: [PATCH] linux/find: ignore -Wtype-limits to reduce W=2 warnings by 34% tree-wide

2022-04-26 Thread Yury Norov via Gcc
+ gcc@gcc.gnu.org + Rikard Falkeborn On Wed, Apr 27, 2022 at 01:16:58AM +0900, Vincent Mailhol wrote: > find_first_bit(), find_first_and_bit(), find_first_and_bit() and > find_first_and_bit() all invokes GENMASK(size - 1, 0). > > This triggers below warning when compiled with W=2. > > | ./inclu

Re: [PATCH] linux/find: ignore -Wtype-limits to reduce W=2 warnings by 34% tree-wide

2022-04-27 Thread Yury Norov via Gcc
On Wed, Apr 27, 2022 at 11:58:58AM +0900, Vincent MAILHOL wrote: > + Alexander Lobakin > > On Wed. 27 Apr 2022 at 05:42, Yury Norov wrote: > > + gcc@gcc.gnu.org > > + Rikard Falkeborn > > > > On Wed, Apr 27, 2022 at 01:16:58AM +0900, Vincent Mailhol wrote: > > > find_first_bit(), find_first_and