All of lore.kernel.org
 help / color / mirror / Atom feed
* [freescale-fslc:pr/218 6973/16341] drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:4112:5: sparse: sparse: symbol 'stmmactc_setup_mqprio' was not declared. Should it be
@ 2021-01-19  7:07 kernel test robot
  2021-01-19  7:07 ` [RFC PATCH freescale-fslc] MLK-23251-01: net: stmac: tsn: stmmactc_setup_mqprio() can be static kernel test robot
  0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2021-01-19  7:07 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 1340 bytes --]

tree:   https://github.com/Freescale/linux-fslc pr/218
head:   873af59ba276f436bbba540788de331e222a31d7
commit: 44980ad6bb897f146cdf6e8133b20e99eaa4db91 [6973/16341] MLK-23251-01: net: stmac: tsn: add tc mqprio support
config: x86_64-randconfig-s021-20210118 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce:
        # apt-get install sparse
        # sparse version: v0.6.3-208-g46a52ca4-dirty
        # https://github.com/Freescale/linux-fslc/commit/44980ad6bb897f146cdf6e8133b20e99eaa4db91
        git remote add freescale-fslc https://github.com/Freescale/linux-fslc
        git fetch --no-tags freescale-fslc pr/218
        git checkout 44980ad6bb897f146cdf6e8133b20e99eaa4db91
        # save the attached .config to linux build tree
        make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=x86_64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>


"sparse warnings: (new ones prefixed by >>)"
>> drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:4112:5: sparse: sparse: symbol 'stmmactc_setup_mqprio' was not declared. Should it be static?

Please review and possibly fold the followup patch.

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 41656 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [RFC PATCH freescale-fslc] MLK-23251-01: net: stmac: tsn: stmmactc_setup_mqprio() can be static
  2021-01-19  7:07 [freescale-fslc:pr/218 6973/16341] drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:4112:5: sparse: sparse: symbol 'stmmactc_setup_mqprio' was not declared. Should it be kernel test robot
@ 2021-01-19  7:07 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-01-19  7:07 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 894 bytes --]


Fixes: 44980ad6bb89 ("MLK-23251-01: net: stmac: tsn: add tc mqprio support")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: kernel test robot <lkp@intel.com>
---
 stmmac_main.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c b/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
index edd1e07c050abc6..14457cfab54c44a 100644
--- a/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
+++ b/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
@@ -4109,7 +4109,7 @@ static int stmmac_setup_tc_block_cb(enum tc_setup_type type, void *type_data,
 
 static LIST_HEAD(stmmac_block_cb_list);
 
-int stmmactc_setup_mqprio(struct net_device *ndev, void *type_data)
+static int stmmactc_setup_mqprio(struct net_device *ndev, void *type_data)
 {
 	struct tc_mqprio_qopt *mqprio = type_data;
 	u8 num_tc;

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-01-19  7:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-19  7:07 [freescale-fslc:pr/218 6973/16341] drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:4112:5: sparse: sparse: symbol 'stmmactc_setup_mqprio' was not declared. Should it be kernel test robot
2021-01-19  7:07 ` [RFC PATCH freescale-fslc] MLK-23251-01: net: stmac: tsn: stmmactc_setup_mqprio() can be static kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.