linux/drivers/net
Fuyun Liang 3e1a8f10a1 net: hns3: fix a bug in hns3_driv_to_eth_caps
The value of link_modes.advertising and the value of link_modes.supported
is initialized to zero every time in for loop in hns3_driv_to_eth_caps().
But we just want to set specified bit for them. Initialization is
unnecessary. This patch fixes it.

Fixes: 496d03e (net: hns3: Add Ethtool support to HNS3 driver)
Signed-off-by: Fuyun Liang <liangfuyun1@huawei.com>
Signed-off-by: Lipeng <lipeng321@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-11-03 21:36:49 +09:00
..
appletalk drivers/net: appletalk/cops: Convert timers to use timer_setup() 2017-10-28 19:09:49 +09:00
arcnet drivers/net: arcnet: Convert timers to use timer_setup() 2017-10-27 12:09:16 +09:00
bonding bonding: remove rtmsg_ifinfo called in bond_master_upper_dev_link 2017-10-25 10:54:39 +09:00
caif
can Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-10-30 21:09:24 +09:00
cris
dsa net: dsa: lan9303: Add STP ALR entry on port 0 2017-11-01 21:30:24 +09:00
ethernet net: hns3: fix a bug in hns3_driv_to_eth_caps 2017-11-03 21:36:49 +09:00
fddi
fjes
hamradio mkiss: remove redundant assignment of len to ax->mtu 2017-11-01 12:09:45 +09:00
hippi drivers/net: hippi: Convert timers to use timer_setup() 2017-10-27 12:09:15 +09:00
hyperv hv_netvsc: Set tx_table to equal weight after subchannels open 2017-10-29 12:09:23 +09:00
ieee802154 Merge branch 'for-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next 2017-10-21 02:22:19 +01:00
ipvlan Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-10-30 21:09:24 +09:00
phy Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-11-02 15:23:39 +09:00
plip
ppp ppp: Destroy the mutex when cleanup 2017-11-01 21:21:02 +09:00
slip
team
usb net: hso: remove redundant unused variable dev 2017-11-01 21:23:56 +09:00
vmxnet3
wan wan: wanxl: remove redundant assignment to stat 2017-11-02 15:48:16 +09:00
wimax
wireless Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-11-02 15:23:39 +09:00
xen-netback Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-10-22 13:39:14 +01:00
dummy.c
eql.c
geneve.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-10-22 13:39:14 +01:00
gtp.c
ifb.c
Kconfig
LICENSE.SRC
loopback.c
macsec.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-10-22 13:39:14 +01:00
macvlan.c macvlan/macvtap: Add support for L2 forwarding offloads with macvtap 2017-10-19 12:43:59 +01:00
macvtap.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-10-30 21:09:24 +09:00
Makefile
mdio.c
mii.c
netconsole.c
nlmon.c
ntb_netdev.c drivers/net: ntb_netdev: Convert timers to use timer_setup() 2017-11-01 12:38:45 +09:00
rionet.c
sb1000.c
Space.c
sungem_phy.c
tap.c tun/tap: sanitize TUNSETSNDBUF input 2017-11-01 20:52:36 +09:00
thunderbolt.c thunderbolt: Right shifting to zero bug in tbnet_handle_packet() 2017-10-19 13:04:32 +01:00
tun.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-11-02 15:23:39 +09:00
veth.c
virtio_net.
virtio_net.c
vrf.c
vsockmon.c
vxlan.c
xen-netfront.c