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  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Sat, 03 Nov 2012 15:43:56 -0400 (EDT)
From:	David Miller <>
Subject: Re: [PATCH] atp: remove set_rx_mode_8012()

From: Paul Bolle <>
Date: Sat, 03 Nov 2012 10:53:15 +0100

> Building atp.o triggers this GCC warning:
>     drivers/net/ethernet/realtek/atp.c: In function ‘set_rx_mode’:
>     drivers/net/ethernet/realtek/atp.c:871:26: warning: ‘mc_filter[0]’ may be used uninitialized in this function [-Wuninitialized]
> GCC is correct. In promiscuous mode 'mc_filter' will be used
> uninitialized in set_rx_mode_8012(), which is apparently inlined into
> set_rx_mode().
> But it turns out set_rx_mode_8012() will never be called, since
> net_local.chip_type will always be RTL8002. So we can just remove
> set_rx_mode_8012() and do some related cleanups.
> Signed-off-by: Paul Bolle <>


Powered by blists - more mailing lists