linux-stable/drivers/net
Randy Dunlap 7d63f7d4c2 net: dsa: restrict SMSC_LAN9303_I2C kconfig
[ Upstream commit 0a3ad7d323 ]

Since kconfig 'select' does not follow dependency chains, if symbol KSA
selects KSB, then KSA should also depend on the same symbols that KSB
depends on, in order to prevent Kconfig warnings and possible build
errors.

Change NET_DSA_SMSC_LAN9303_I2C and NET_DSA_SMSC_LAN9303_MDIO so that
they are limited to VLAN_8021Q if the latter is enabled. This prevents
the Kconfig warning:

WARNING: unmet direct dependencies detected for NET_DSA_SMSC_LAN9303
  Depends on [m]: NETDEVICES [=y] && NET_DSA [=y] && (VLAN_8021Q [=m] || VLAN_8021Q [=m]=n)
  Selected by [y]:
  - NET_DSA_SMSC_LAN9303_I2C [=y] && NETDEVICES [=y] && NET_DSA [=y] && I2C [=y]

Fixes: 430065e267 ("net: dsa: lan9303: add VLAN IDs to master device")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Andrew Lunn <andrew@lunn.ch>
Cc: Vivien Didelot <vivien.didelot@gmail.com>
Cc: Florian Fainelli <f.fainelli@gmail.com>
Cc: Vladimir Oltean <olteanv@gmail.com>
Cc: Juergen Borleis <jbe@pengutronix.de>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Eric Dumazet <edumazet@google.com>
Cc: Jakub Kicinski <kuba@kernel.org>
Cc: Paolo Abeni <pabeni@redhat.com>
Cc: Mans Rullgard <mans@mansr.com>
Reviewed-by: Vladimir Oltean <olteanv@gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-06-09 10:25:58 +02:00
..
appletalk
arcnet net: arcnet: com20020: Fix null-ptr-deref in com20020pci_probe() 2022-03-03 10:29:13 +00:00
bonding bonding: fix missed rcu protection 2022-06-09 10:25:56 +02:00
caif
can can: mcp251xfd: silence clang's -Wunaligned-access warning 2022-06-09 10:25:30 +02:00
dsa net: dsa: restrict SMSC_LAN9303_I2C kconfig 2022-06-09 10:25:58 +02:00
ethernet hinic: Avoid some over memory allocation 2022-06-09 10:25:58 +02:00
fddi
fjes
hamradio drivers: hamradio: 6pack: fix UAF bug caused by mod_timer() 2022-02-18 10:58:17 +00:00
hippi drivers: net: hippi: Fix deadlock in rr_close() 2022-05-09 09:16:28 +02:00
hyperv hv_netvsc: Fix potential dereference of NULL pointer 2022-06-09 10:25:57 +02:00
ieee802154
ipa net: ipa: ignore endianness if there is no header 2022-06-09 10:25:30 +02:00
ipvlan
mctp mctp: serial: Cancel pending work from ndo_uninit handler 2022-02-11 14:39:54 -08:00
mdio net: mdio: Fix ENOMEM return value in BCM6368 mux bus controller 2022-05-12 12:32:35 +02:00
netdevsim ipv6: fix data-race in fib6_info_hw_flags_set / fib6_purge_rt 2022-02-17 09:48:24 -08:00
pcs
phy net: phy: micrel: Allow probing without .driver_data 2022-06-09 10:25:29 +02:00
plip
ppp net: fix dev_fill_forward_path with pppoe + bridge 2022-05-25 09:59:07 +02:00
slip drivers: net: slip: fix NPD bug in sl_tx_timeout() 2022-04-20 09:36:23 +02:00
team
usb usbnet: Run unregister_netdev() before unbind() again 2022-06-09 10:25:27 +02:00
vmxnet3 net: vmxnet3: fix possible NULL pointer dereference in vmxnet3_rq_cleanup() 2022-05-25 09:59:08 +02:00
wan
wireguard wireguard: device: check for metadata_dst with skb_valid_dst() 2022-05-09 09:16:22 +02:00
wireless mt76: mt7915: fix twt table_mask to u16 in mt7915_dev 2022-06-09 10:25:51 +02:00
wwan net: wwan: qcom_bam_dmux: fix wrong pointer passed to IS_ERR() 2022-04-08 13:58:22 +02:00
xen-netback Revert "xen-netback: Check for hotplug-status existence before watching" 2022-02-24 08:58:37 -08:00
amt.c amt: fix memory leak for advertisement message 2022-06-09 10:25:57 +02:00
bareudp.c bareudp: use ipv6_mod_enabled to check if IPv6 enabled 2022-04-08 13:58:20 +02:00
dummy.c
eql.c
geneve.c
gtp.c
ifb.c
Kconfig
LICENSE.SRC
loopback.c
macsec.c
macvlan.c macvlan: Fix leaking skb in source mode with nodst option 2022-04-20 09:36:17 +02:00
macvtap.c macvtap: advertise link netns via netlink 2022-04-13 19:27:19 +02:00
Makefile
mdio.c
mhi_net.c
mii.c
net_failover.c
netconsole.c
nlmon.c
ntb_netdev.c
rionet.c
sb1000.c
Space.c
sungem_phy.c
tap.c tuntap: add sanity checks about msg_controllen in sendmsg 2022-04-13 19:27:19 +02:00
thunderbolt.c
tun.c tun: annotate access to queue->trans_start 2022-04-20 09:36:18 +02:00
veth.c veth: Ensure eth header is in skb's linear part 2022-04-20 09:36:12 +02:00
virtio_net.c virtio_net: fix wrong buf address calculation when using xdp 2022-05-09 09:16:16 +02:00
vrf.c vrf: fix packet sniffing for traffic originating from ip tunnels 2022-04-13 19:27:28 +02:00
vsockmon.c
vxlan.c vxlan: fix error return code in vxlan_fdb_append 2022-04-27 14:41:08 +02:00
xen-netfront.c xen/netfront: react properly to failing gnttab_end_foreign_access_ref() 2022-03-07 09:48:55 +01:00