linux_dsm_epyc7002/drivers/net
Wei Yongjun 847d97e013 sun/cassini: mark cas_resume() as __maybe_unused
In certain configurations without power management support, gcc report
the following warning:

drivers/net/ethernet/sun/cassini.c:5206:12: warning:
 'cas_resume' defined but not used [-Wunused-function]
 5206 | static int cas_resume(struct device *dev_d)
      |            ^~~~~~~~~~

Mark cas_resume() as __maybe_unused to make it clear.

Fixes: f193f4ebde ("sun/cassini: use generic power management")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-07-07 12:59:37 -07:00
..
appletalk docs: networking: move AppleTalk / LocalTalk drivers to the hw driver section 2020-06-26 16:08:45 -07:00
arcnet treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
bonding bonding: allow xfrm offload setup post-module-load 2020-07-01 15:53:32 -07:00
caif caif: fix cfv_netdev_tx()'s return type 2020-06-28 20:52:53 -07:00
can can: peak_canfd: Replace zero-length array with flexible-array 2020-06-15 23:08:31 -05:00
dsa net: dsa: vitesse-vsc73xx: Convert to plain comments to avoid kerneldoc warnings 2020-07-05 15:49:03 -07:00
ethernet sun/cassini: mark cas_resume() as __maybe_unused 2020-07-07 12:59:37 -07:00
fddi docs: networking: move FDDI drivers to the hw driver section 2020-06-26 16:08:45 -07:00
fjes
hamradio docs: networking: move baycom to the hw driver section 2020-06-26 16:08:44 -07:00
hippi treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
hyperv
ieee802154 treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
ipa net: ipa: fix HOLB timer calculation 2020-07-03 14:37:33 -07:00
ipvlan
netdevsim
phy net: phy: mdio-octeon: Cleanup module loading dependencies 2020-07-07 12:47:11 -07:00
plip net: plip: fix plip_tx_packet()'s return type 2020-06-28 20:52:53 -07:00
ppp treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
slip treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
team treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
usb usbnet: ipheth: fix ipheth_tx()'s return type 2020-06-28 20:52:53 -07:00
vmxnet3
wan treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
wimax
wireguard wireguard: receive: account for napi_gro_receive never returning GRO_DROP 2020-06-25 16:16:21 -07:00
wireless docs: networking: move ray_cs to the hw driver section 2020-06-26 16:08:44 -07:00
xen-netback xen networking: add XDP offset adjustment to xen-netback 2020-07-01 15:25:14 -07:00
bareudp.c bareudp: Added attribute to enable & disable rx metadata collection 2020-06-28 20:48:20 -07:00
dummy.c
eql.c
geneve.c geneve: move all configuration under struct geneve_config 2020-07-06 13:16:20 -07:00
gtp.c
ifb.c
Kconfig xen networking: add basic XDP support for xen-netfront 2020-07-01 15:25:14 -07:00
LICENSE.SRC
loopback.c
macsec.c net: change addr_list_lock back to static key 2020-06-09 12:59:45 -07:00
macvlan.c net: change addr_list_lock back to static key 2020-06-09 12:59:45 -07:00
macvtap.c
Makefile
mdio.c
mii.c
net_failover.c
netconsole.c
nlmon.c
ntb_netdev.c
rionet.c
sb1000.c
Space.c
sungem_phy.c
tap.c
thunderbolt.c net: thunderbolt: Add comment clarifying prtcstns flags 2020-06-23 20:36:02 -07:00
tun.c
veth.c
virtio_net.c
vrf.c vrf: add l3mdev registration for table to VRF device lookup 2020-06-20 17:22:23 -07:00
vsockmon.c
vxlan.c vxlan: fix last fdb index during dump of fdb with nhid 2020-06-25 16:12:34 -07:00
xen-netfront.c net/xen-netfront: add kernel TX timestamps 2020-07-03 12:36:30 -07:00