All of lore.kernel.org
 help / color / mirror / Atom feed
* [Intel-wired-lan] [jkirsher-next-queue:dev-queue 1397/1564] drivers/net/ethernet/aquantia/atlantic/aq_main.c:26:12: sparse: sparse: symbol 'aq_ndev_driver_name' was not declared. Should it be static?
@ 2019-05-01 21:06 kbuild test robot
  2019-05-01 21:06 ` [Intel-wired-lan] [RFC PATCH jkirsher-next-queue] net: aquantia: aq_ndev_driver_name[] can be static kbuild test robot
  0 siblings, 1 reply; 2+ messages in thread
From: kbuild test robot @ 2019-05-01 21:06 UTC (permalink / raw)
  To: intel-wired-lan

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/next-queue.git dev-queue
head:   27b3ae8c760033d085ce5a45020983fdabd2a7c9
commit: 58608082e66ddf9643cf6b98fe81c216a410ced1 [1397/1564] net: aquantia: create global service workqueue
reproduce:
        # apt-get install sparse
        git checkout 58608082e66ddf9643cf6b98fe81c216a410ced1
        make ARCH=x86_64 allmodconfig
        make C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'

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


sparse warnings: (new ones prefixed by >>)

>> drivers/net/ethernet/aquantia/atlantic/aq_main.c:26:12: sparse: sparse: symbol 'aq_ndev_driver_name' was not declared. Should it be static?

Please review and possibly fold the followup patch.

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

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

* [Intel-wired-lan] [RFC PATCH jkirsher-next-queue] net: aquantia: aq_ndev_driver_name[] can be static
  2019-05-01 21:06 [Intel-wired-lan] [jkirsher-next-queue:dev-queue 1397/1564] drivers/net/ethernet/aquantia/atlantic/aq_main.c:26:12: sparse: sparse: symbol 'aq_ndev_driver_name' was not declared. Should it be static? kbuild test robot
@ 2019-05-01 21:06 ` kbuild test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kbuild test robot @ 2019-05-01 21:06 UTC (permalink / raw)
  To: intel-wired-lan


Fixes: 58608082e66d ("net: aquantia: create global service workqueue")
Signed-off-by: kbuild test robot <lkp@intel.com>
---
 aq_main.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/ethernet/aquantia/atlantic/aq_main.c b/drivers/net/ethernet/aquantia/atlantic/aq_main.c
index 7f45e99..1ea8b77 100644
--- a/drivers/net/ethernet/aquantia/atlantic/aq_main.c
+++ b/drivers/net/ethernet/aquantia/atlantic/aq_main.c
@@ -23,7 +23,7 @@ MODULE_VERSION(AQ_CFG_DRV_VERSION);
 MODULE_AUTHOR(AQ_CFG_DRV_AUTHOR);
 MODULE_DESCRIPTION(AQ_CFG_DRV_DESC);
 
-const char aq_ndev_driver_name[] = AQ_CFG_DRV_NAME;
+static const char aq_ndev_driver_name[] = AQ_CFG_DRV_NAME;
 
 static const struct net_device_ops aq_ndev_ops;
 

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

end of thread, other threads:[~2019-05-01 21:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-01 21:06 [Intel-wired-lan] [jkirsher-next-queue:dev-queue 1397/1564] drivers/net/ethernet/aquantia/atlantic/aq_main.c:26:12: sparse: sparse: symbol 'aq_ndev_driver_name' was not declared. Should it be static? kbuild test robot
2019-05-01 21:06 ` [Intel-wired-lan] [RFC PATCH jkirsher-next-queue] net: aquantia: aq_ndev_driver_name[] can be static kbuild 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.