linux_dsm_epyc7002/drivers/net/ethernet/emulex/benet
Baoyou Xie d766e7e6b6 be2net: mark symbols static where possible
We get 4 warnings when building kernel with W=1:
drivers/net/ethernet/emulex/benet/be_main.c:4368:6: warning: no previous prototype for 'be_calculate_pf_pool_rss_tables' [-Wmissing-prototypes]
drivers/net/ethernet/emulex/benet/be_cmds.c:4385:5: warning: no previous prototype for 'be_get_nic_pf_num_list' [-Wmissing-prototypes]
drivers/net/ethernet/emulex/benet/be_cmds.c:4537:6: warning: no previous prototype for 'be_reset_nic_desc' [-Wmissing-prototypes]
drivers/net/ethernet/emulex/benet/be_cmds.c:4910:5: warning: no previous prototype for '__be_cmd_set_logical_link_config' [-Wmissing-prototypes]

In fact, these functions are only used in the file in which they are
declared and don't need a declaration, but can be made static.
so this patch marks these functions with 'static'.

Signed-off-by: Baoyou Xie <baoyou.xie@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-09-19 21:52:10 -04:00
..
be_cmds.c be2net: mark symbols static where possible 2016-09-19 21:52:10 -04:00
be_cmds.h be2net: Add privilege level check for OPCODE_COMMON_GET_EXT_FAT_CAPABILITIES SLI cmd. 2016-09-07 22:44:55 -07:00
be_ethtool.c be2net: Support UE recovery in BEx/Skyhawk adapters 2016-09-07 22:44:55 -07:00
be_hw.h be2net: Support UE recovery in BEx/Skyhawk adapters 2016-09-07 22:44:55 -07:00
be_main.c be2net: mark symbols static where possible 2016-09-19 21:52:10 -04:00
be_roce.c be2net: Change copyright markings in source files 2016-06-27 04:06:24 -04:00
be_roce.h be2net: Change copyright markings in source files 2016-06-27 04:06:24 -04:00
be.h be2net: Update the driver version to 11.1.0.0 2016-09-07 22:44:56 -07:00
Kconfig benet: Replace ndo_add/del_vxlan_port with ndo_add/del_udp_enc_port 2016-06-17 20:23:30 -07:00
Makefile be2net: Add functionality to support RoCE driver 2012-05-08 11:17:47 -07:00