All of lore.kernel.org
 help / color / mirror / Atom feed
* [ti:ti-rt-linux-5.4.y 6213/12234] drivers/soc/ti/k3-socinfo.c:45:12: sparse: sparse: symbol 'partno_to_names' was not declared. Should it be
@ 2020-11-14 19:50 kernel test robot
  2020-11-14 19:50 ` [RFC PATCH ti] soc: ti: partno_to_names() can be static kernel test robot
  0 siblings, 1 reply; 3+ messages in thread
From: kernel test robot @ 2020-11-14 19:50 UTC (permalink / raw)
  To: kbuild-all

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

tree:   git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git ti-rt-linux-5.4.y
head:   b956d57638aa031e0b660684c0152dd698ecf150
commit: 31e01c3732b9098b6b634a6003a8224c05c3e5b6 [6213/12234] soc: ti: add k3 platforms chipid module driver
config: i386-randconfig-s002-20201115 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce:
        # apt-get install sparse
        # sparse version: v0.6.3-107-gaf3512a6-dirty
        git remote add ti git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git
        git fetch --no-tags ti ti-rt-linux-5.4.y
        git checkout 31e01c3732b9098b6b634a6003a8224c05c3e5b6
        # save the attached .config to linux build tree
        make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=i386 

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/soc/ti/k3-socinfo.c:45:12: sparse: sparse: symbol 'partno_to_names' 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: 37557 bytes --]

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

* [RFC PATCH ti] soc: ti: partno_to_names() can be static
  2020-11-14 19:50 [ti:ti-rt-linux-5.4.y 6213/12234] drivers/soc/ti/k3-socinfo.c:45:12: sparse: sparse: symbol 'partno_to_names' was not declared. Should it be kernel test robot
@ 2020-11-14 19:50 ` kernel test robot
  0 siblings, 0 replies; 3+ messages in thread
From: kernel test robot @ 2020-11-14 19:50 UTC (permalink / raw)
  To: kbuild-all

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


Fixes: 31e01c3732b9 ("soc: ti: add k3 platforms chipid module driver")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: kernel test robot <lkp@intel.com>
---
 k3-socinfo.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/soc/ti/k3-socinfo.c b/drivers/soc/ti/k3-socinfo.c
index eeb2b78eaffcfa..28e7bef80b3310 100644
--- a/drivers/soc/ti/k3-socinfo.c
+++ b/drivers/soc/ti/k3-socinfo.c
@@ -42,8 +42,8 @@ static const struct k3_soc_id {
 	{ 0xBB64, "J721E" },
 };
 
-int __init partno_to_names(unsigned int partno,
-			   struct soc_device_attribute *soc_dev_attr)
+static int __init partno_to_names(unsigned int partno,
+				  struct soc_device_attribute *soc_dev_attr)
 {
 	int i;
 

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

* [RFC PATCH ti] soc: ti: partno_to_names() can be static
  2020-04-21  6:24 [ti:ti-rt-linux-5.4.y 5705/5711] drivers/soc/ti/k3-socinfo.c:45:12: sparse: sparse: symbol 'partno_to_names' was not declared. Should it be static? kbuild test robot
@ 2020-04-21  6:24 ` kbuild test robot
  0 siblings, 0 replies; 3+ messages in thread
From: kbuild test robot @ 2020-04-21  6:24 UTC (permalink / raw)
  To: kbuild-all

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


Fixes: 31e01c3732b9 ("soc: ti: add k3 platforms chipid module driver")
Signed-off-by: kbuild test robot <lkp@intel.com>
---
 k3-socinfo.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/soc/ti/k3-socinfo.c b/drivers/soc/ti/k3-socinfo.c
index eeb2b78eaffcf..28e7bef80b331 100644
--- a/drivers/soc/ti/k3-socinfo.c
+++ b/drivers/soc/ti/k3-socinfo.c
@@ -42,8 +42,8 @@ static const struct k3_soc_id {
 	{ 0xBB64, "J721E" },
 };
 
-int __init partno_to_names(unsigned int partno,
-			   struct soc_device_attribute *soc_dev_attr)
+static int __init partno_to_names(unsigned int partno,
+				  struct soc_device_attribute *soc_dev_attr)
 {
 	int i;
 

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

end of thread, other threads:[~2020-11-14 19:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-14 19:50 [ti:ti-rt-linux-5.4.y 6213/12234] drivers/soc/ti/k3-socinfo.c:45:12: sparse: sparse: symbol 'partno_to_names' was not declared. Should it be kernel test robot
2020-11-14 19:50 ` [RFC PATCH ti] soc: ti: partno_to_names() can be static kernel test robot
  -- strict thread matches above, loose matches on Subject: below --
2020-04-21  6:24 [ti:ti-rt-linux-5.4.y 5705/5711] drivers/soc/ti/k3-socinfo.c:45:12: sparse: sparse: symbol 'partno_to_names' was not declared. Should it be static? kbuild test robot
2020-04-21  6:24 ` [RFC PATCH ti] soc: ti: partno_to_names() 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.