Arnd Bergmann wrote:
> gcc-10 shows a false-positive warning with CONFIG_KASAN:
>
> drivers/net/wireless/ath/ath9k/dynack.c: In function
> 'ath_dynack_sample_tx_ts':
> include/linux/etherdevice.h:290:14: warning: writing 4 bytes into a region of
> size 0 [-Wstringop-overflow=]
> 290 | *(u32
On Sat, Nov 7, 2020 at 12:21 PM Kalle Valo wrote:
> Johannes Berg writes:
> > On Mon, 2020-11-02 at 18:26 +0200, Kalle Valo wrote:
> >> Arnd Bergmann writes:
> >> Isn't there a better way to handle this? I really would not want
> >> checking for GCC versions become a common approach in drivers.
Johannes Berg writes:
> On Mon, 2020-11-02 at 18:26 +0200, Kalle Valo wrote:
>> Arnd Bergmann writes:
>>
>> > From: Arnd Bergmann
>> >
>> > gcc-10 shows a false-positive warning with CONFIG_KASAN:
>> >
>> > drivers/net/wireless/ath/ath9k/dynack.c: In function
>> > 'ath_dynack_sample_tx_ts':
On Mon, Nov 2, 2020 at 7:01 PM Johannes Berg wrote:
> On Mon, 2020-11-02 at 18:26 +0200, Kalle Valo wrote:
> > Arnd Bergmann writes:
> > > From: Arnd Bergmann
> >
> > Isn't there a better way to handle this? I really would not want
> > checking for GCC versions become a common approach in driver
On Mon, 2020-11-02 at 18:26 +0200, Kalle Valo wrote:
> Arnd Bergmann writes:
>
> > From: Arnd Bergmann
> >
> > gcc-10 shows a false-positive warning with CONFIG_KASAN:
> >
> > drivers/net/wireless/ath/ath9k/dynack.c: In function
> > 'ath_dynack_sample_tx_ts':
> > include/linux/etherdevice.h:2
Arnd Bergmann writes:
> From: Arnd Bergmann
>
> gcc-10 shows a false-positive warning with CONFIG_KASAN:
>
> drivers/net/wireless/ath/ath9k/dynack.c: In function
> 'ath_dynack_sample_tx_ts':
> include/linux/etherdevice.h:290:14: warning: writing 4 bytes into a region of
> size 0 [-Wstringop-ov
From: Arnd Bergmann
gcc-10 shows a false-positive warning with CONFIG_KASAN:
drivers/net/wireless/ath/ath9k/dynack.c: In function 'ath_dynack_sample_tx_ts':
include/linux/etherdevice.h:290:14: warning: writing 4 bytes into a region of
size 0 [-Wstringop-overflow=]
290 | *(u32 *)dst = *(const
7 matches
Mail list logo