All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH frank-w-bpi-r2-4.14] mt7531: mt753x_def_mapping[] can be static
  2019-10-23 13:40 [frank-w-bpi-r2-4.14:5.4-r64-rc 23/30] drivers/net/phy/mtk/mt753x/mt753x_vlan.c:9:23: sparse: sparse: symbol 'mt753x_def_mapping' was not declared. Should it be static? kbuild test robot
@ 2019-10-23 13:40 ` kbuild test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kbuild test robot @ 2019-10-23 13:40 UTC (permalink / raw)
  To: kbuild-all

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


Fixes: 6b85967d6c34 ("mt7531: update mt753x-driver from openwrt")
Signed-off-by: kbuild test robot <lkp@intel.com>
---
 mt753x_vlan.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/phy/mtk/mt753x/mt753x_vlan.c b/drivers/net/phy/mtk/mt753x/mt753x_vlan.c
index f3c8c38f3ea2a..f2d4e2ac5655c 100644
--- a/drivers/net/phy/mtk/mt753x/mt753x_vlan.c
+++ b/drivers/net/phy/mtk/mt753x/mt753x_vlan.c
@@ -6,7 +6,7 @@
 #include "mt753x.h"
 #include "mt753x_regs.h"
 
-struct mt753x_mapping mt753x_def_mapping[] = {
+static struct mt753x_mapping mt753x_def_mapping[] = {
 	{
 		.name = "llllw",
 		.pvids = { 1, 1, 1, 1, 2, 2, 1 },

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

* [frank-w-bpi-r2-4.14:5.4-r64-rc 23/30] drivers/net/phy/mtk/mt753x/mt753x_vlan.c:9:23: sparse: sparse: symbol 'mt753x_def_mapping' was not declared. Should it be static?
@ 2019-10-23 13:40 kbuild test robot
  2019-10-23 13:40 ` [RFC PATCH frank-w-bpi-r2-4.14] mt7531: mt753x_def_mapping[] can be static kbuild test robot
  0 siblings, 1 reply; 2+ messages in thread
From: kbuild test robot @ 2019-10-23 13:40 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://github.com/frank-w/BPI-R2-4.14 5.4-r64-rc
head:   f073b903c20aad178c8d60e865399a1db478305b
commit: 6b85967d6c34ef4584d065f48c88fc0b853bcd67 [23/30] mt7531: update mt753x-driver from openwrt
reproduce:
        # apt-get install sparse
        # sparse version: v0.6.1-dirty
        git checkout 6b85967d6c34ef4584d065f48c88fc0b853bcd67
        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/phy/mtk/mt753x/mt753x_vlan.c:9:23: sparse: sparse: symbol 'mt753x_def_mapping' 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

end of thread, other threads:[~2019-10-23 13:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-23 13:40 [frank-w-bpi-r2-4.14:5.4-r64-rc 23/30] drivers/net/phy/mtk/mt753x/mt753x_vlan.c:9:23: sparse: sparse: symbol 'mt753x_def_mapping' was not declared. Should it be static? kbuild test robot
2019-10-23 13:40 ` [RFC PATCH frank-w-bpi-r2-4.14] mt7531: mt753x_def_mapping[] 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.