All of lore.kernel.org
 help / color / mirror / Atom feed
* [mchinth:sep_socwatch_linux_5_8 35/36] drivers/platform/x86/socwatch/sw_pci.c:64:6: sparse: sparse: symbol 'sw_print_pci_devices_i' was not declared. Should it be
@ 2020-07-30 12:06 kernel test robot
  2020-07-30 12:06 ` [RFC PATCH mchinth] sw_print_pci_devices_i() can be static kernel test robot
  0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2020-07-30 12:06 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://github.com/mchinth/linux sep_socwatch_linux_5_8
head:   6fa536362a8b39286150006ccda61e9e0a36c7af
commit: 6152a4b26562403266f9661ed8f4f4e3a4b05875 [35/36] SEP/SOCWATCH Update SoCWatch driver after rebasing to linux v5.7
config: i386-randconfig-s001-20200730 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-14) 9.3.0
reproduce:
        # apt-get install sparse
        # sparse version: v0.6.2-98-g4932334a-dirty
        git checkout 6152a4b26562403266f9661ed8f4f4e3a4b05875
        # 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/platform/x86/socwatch/sw_pci.c:64:6: sparse: sparse: symbol 'sw_print_pci_devices_i' 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: 37015 bytes --]

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

* [RFC PATCH mchinth] sw_print_pci_devices_i() can be static
  2020-07-30 12:06 [mchinth:sep_socwatch_linux_5_8 35/36] drivers/platform/x86/socwatch/sw_pci.c:64:6: sparse: sparse: symbol 'sw_print_pci_devices_i' was not declared. Should it be kernel test robot
@ 2020-07-30 12:06 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2020-07-30 12:06 UTC (permalink / raw)
  To: kbuild-all

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


Fixes: 6152a4b26562 ("SEP/SOCWATCH Update SoCWatch driver after rebasing to linux v5.7")
Signed-off-by: kernel test robot <lkp@intel.com>
---
 sw_pci.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/platform/x86/socwatch/sw_pci.c b/drivers/platform/x86/socwatch/sw_pci.c
index 09d38f2d940065..9769116c4ccd52 100644
--- a/drivers/platform/x86/socwatch/sw_pci.c
+++ b/drivers/platform/x86/socwatch/sw_pci.c
@@ -61,7 +61,7 @@
 
 static struct sw_pci_dev_msg s_pci_dev_list;
 
-void sw_print_pci_devices_i(void) {
+static void sw_print_pci_devices_i(void) {
 	int i = 0;
 
 	for(i = 0; i < s_pci_dev_list.num_entries; ++i) {

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

end of thread, other threads:[~2020-07-30 12:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-30 12:06 [mchinth:sep_socwatch_linux_5_8 35/36] drivers/platform/x86/socwatch/sw_pci.c:64:6: sparse: sparse: symbol 'sw_print_pci_devices_i' was not declared. Should it be kernel test robot
2020-07-30 12:06 ` [RFC PATCH mchinth] sw_print_pci_devices_i() 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.