All of lore.kernel.org
 help / color / mirror / Atom feed
* [xlnx:master 173/199] include/linux/mtd/cfi.h:76:2: sparse: sparse: No CONFIG_MTD_CFI_Ix selected. No NOR chip support can work.
@ 2020-06-06  0:30 ` kernel test robot
  0 siblings, 0 replies; 5+ messages in thread
From: kernel test robot @ 2020-06-06  0:30 UTC (permalink / raw)
  To: Nicholas Graumann
  Cc: Naga Sureshkumar Relli, Michal Simek, kbuild-all,
	linux-arm-kernel

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

tree:   https://github.com/Xilinx/linux-xlnx master
head:   0a673209eb66ae657980dfab9ef90690647ee344
commit: 3e0fe58e108f56ee9ae5bd107aeb947ab18ef0a2 [173/199] spi: Move update_stripe definition to spi-mem
config: i386-randconfig-s002-20200605 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-13) 9.3.0
reproduce:
        # apt-get install sparse
        # sparse version: v0.6.1-246-g41f651b4-dirty
        git checkout 3e0fe58e108f56ee9ae5bd107aeb947ab18ef0a2
        # save the attached .config to linux build tree
        make W=1 C=1 ARCH=i386 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'

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 >>)

>> include/linux/mtd/cfi.h:76:2: sparse: sparse: No CONFIG_MTD_CFI_Ix selected. No NOR chip support can work.
   In file included from include/linux/mtd/spi-nor.h:14,
                    from drivers/spi/spi-mem.c:10:
   include/linux/mtd/cfi.h:76:2: warning: #warning No CONFIG_MTD_CFI_Ix selected. No NOR chip support can work. [-Wcpp]
      76 | #warning No CONFIG_MTD_CFI_Ix selected. No NOR chip support can work.
         |  ^~~~~~~
   In file included from include/linux/mtd/mtd.h:27,
                    from include/linux/mtd/spi-nor.h:15,
                    from drivers/spi/spi-mem.c:10:
   include/linux/of.h: In function '__of_changeset_add_update_property_stringv':
   include/linux/of.h:1542:2: warning: function '__of_changeset_add_update_property_stringv' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format]
    1542 |  str = kvasprintf(GFP_KERNEL, fmt, vargs);
         |  ^~~

vim +76 include/linux/mtd/cfi.h

^1da177e4c3f41 Linus Torvalds  2005-04-16  74  
241651d04d672f David Woodhouse 2007-09-06  75  #ifndef cfi_interleave
241651d04d672f David Woodhouse 2007-09-06 @76  #warning No CONFIG_MTD_CFI_Ix selected. No NOR chip support can work.
241651d04d672f David Woodhouse 2007-09-06  77  static inline int cfi_interleave(void *cfi)
241651d04d672f David Woodhouse 2007-09-06  78  {
241651d04d672f David Woodhouse 2007-09-06  79  	BUG();
241651d04d672f David Woodhouse 2007-09-06  80  	return 0;
241651d04d672f David Woodhouse 2007-09-06  81  }
241651d04d672f David Woodhouse 2007-09-06  82  #endif
241651d04d672f David Woodhouse 2007-09-06  83  

:::::: The code at line 76 was first introduced by commit
:::::: 241651d04d672fb685b2874707016cbbf95931e5 [MTD] Fix CFI build error when no map width or interleave supported

:::::: TO: David Woodhouse <dwmw2@infradead.org>
:::::: CC: David Woodhouse <dwmw2@infradead.org>

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

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

[-- Attachment #3: Type: text/plain, Size: 176 bytes --]

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* [xlnx:master 173/199] include/linux/mtd/cfi.h:76:2: sparse: sparse: No CONFIG_MTD_CFI_Ix selected. No NOR chip support can work.
@ 2020-06-06  0:30 ` kernel test robot
  0 siblings, 0 replies; 5+ messages in thread
From: kernel test robot @ 2020-06-06  0:30 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://github.com/Xilinx/linux-xlnx master
head:   0a673209eb66ae657980dfab9ef90690647ee344
commit: 3e0fe58e108f56ee9ae5bd107aeb947ab18ef0a2 [173/199] spi: Move update_stripe definition to spi-mem
config: i386-randconfig-s002-20200605 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-13) 9.3.0
reproduce:
        # apt-get install sparse
        # sparse version: v0.6.1-246-g41f651b4-dirty
        git checkout 3e0fe58e108f56ee9ae5bd107aeb947ab18ef0a2
        # save the attached .config to linux build tree
        make W=1 C=1 ARCH=i386 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'

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 >>)

>> include/linux/mtd/cfi.h:76:2: sparse: sparse: No CONFIG_MTD_CFI_Ix selected. No NOR chip support can work.
   In file included from include/linux/mtd/spi-nor.h:14,
                    from drivers/spi/spi-mem.c:10:
   include/linux/mtd/cfi.h:76:2: warning: #warning No CONFIG_MTD_CFI_Ix selected. No NOR chip support can work. [-Wcpp]
      76 | #warning No CONFIG_MTD_CFI_Ix selected. No NOR chip support can work.
         |  ^~~~~~~
   In file included from include/linux/mtd/mtd.h:27,
                    from include/linux/mtd/spi-nor.h:15,
                    from drivers/spi/spi-mem.c:10:
   include/linux/of.h: In function '__of_changeset_add_update_property_stringv':
   include/linux/of.h:1542:2: warning: function '__of_changeset_add_update_property_stringv' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format]
    1542 |  str = kvasprintf(GFP_KERNEL, fmt, vargs);
         |  ^~~

vim +76 include/linux/mtd/cfi.h

^1da177e4c3f41 Linus Torvalds  2005-04-16  74  
241651d04d672f David Woodhouse 2007-09-06  75  #ifndef cfi_interleave
241651d04d672f David Woodhouse 2007-09-06 @76  #warning No CONFIG_MTD_CFI_Ix selected. No NOR chip support can work.
241651d04d672f David Woodhouse 2007-09-06  77  static inline int cfi_interleave(void *cfi)
241651d04d672f David Woodhouse 2007-09-06  78  {
241651d04d672f David Woodhouse 2007-09-06  79  	BUG();
241651d04d672f David Woodhouse 2007-09-06  80  	return 0;
241651d04d672f David Woodhouse 2007-09-06  81  }
241651d04d672f David Woodhouse 2007-09-06  82  #endif
241651d04d672f David Woodhouse 2007-09-06  83  

:::::: The code at line 76 was first introduced by commit
:::::: 241651d04d672fb685b2874707016cbbf95931e5 [MTD] Fix CFI build error when no map width or interleave supported

:::::: TO: David Woodhouse <dwmw2@infradead.org>
:::::: CC: David Woodhouse <dwmw2@infradead.org>

---
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: 28320 bytes --]

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

* [xlnx:master 173/199] include/linux/mtd/cfi.h:76:2: sparse: sparse: No CONFIG_MTD_CFI_Ix selected. No NOR chip support can work.
@ 2020-09-08 18:19 ` kernel test robot
  0 siblings, 0 replies; 5+ messages in thread
From: kernel test robot @ 2020-09-08 18:19 UTC (permalink / raw)
  To: Nicholas Graumann
  Cc: Naga Sureshkumar Relli, Michal Simek, kbuild-all,
	linux-arm-kernel

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

tree:   https://github.com/Xilinx/linux-xlnx master
head:   0a673209eb66ae657980dfab9ef90690647ee344
commit: 3e0fe58e108f56ee9ae5bd107aeb947ab18ef0a2 [173/199] spi: Move update_stripe definition to spi-mem
config: x86_64-randconfig-s021-20200908 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce:
        # apt-get install sparse
        # sparse version: v0.6.2-191-g10164920-dirty
        git checkout 3e0fe58e108f56ee9ae5bd107aeb947ab18ef0a2
        # 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/spi/spi-mem.c: note: in included file (through include/linux/mtd/spi-nor.h):
>> include/linux/mtd/cfi.h:76:2: sparse: sparse: No CONFIG_MTD_CFI_Ix selected. No NOR chip support can work.
   In file included from include/linux/mtd/spi-nor.h:14,
                    from drivers/spi/spi-mem.c:10:
   include/linux/mtd/cfi.h:76:2: warning: #warning No CONFIG_MTD_CFI_Ix selected. No NOR chip support can work. [-Wcpp]
      76 | #warning No CONFIG_MTD_CFI_Ix selected. No NOR chip support can work.
         |  ^~~~~~~
   drivers/spi/spi-mem.o: warning: objtool: spi_mem_exec_op()+0x90: sibling call from callable instruction with modified stack frame

# https://github.com/Xilinx/linux-xlnx/commit/3e0fe58e108f56ee9ae5bd107aeb947ab18ef0a2
git remote add xlnx https://github.com/Xilinx/linux-xlnx
git fetch --no-tags xlnx master
git checkout 3e0fe58e108f56ee9ae5bd107aeb947ab18ef0a2
vim +76 include/linux/mtd/cfi.h

^1da177e4c3f41 Linus Torvalds  2005-04-16  74  
241651d04d672f David Woodhouse 2007-09-06  75  #ifndef cfi_interleave
241651d04d672f David Woodhouse 2007-09-06 @76  #warning No CONFIG_MTD_CFI_Ix selected. No NOR chip support can work.
241651d04d672f David Woodhouse 2007-09-06  77  static inline int cfi_interleave(void *cfi)
241651d04d672f David Woodhouse 2007-09-06  78  {
241651d04d672f David Woodhouse 2007-09-06  79  	BUG();
241651d04d672f David Woodhouse 2007-09-06  80  	return 0;
241651d04d672f David Woodhouse 2007-09-06  81  }
241651d04d672f David Woodhouse 2007-09-06  82  #endif
241651d04d672f David Woodhouse 2007-09-06  83  

:::::: The code at line 76 was first introduced by commit
:::::: 241651d04d672fb685b2874707016cbbf95931e5 [MTD] Fix CFI build error when no map width or interleave supported

:::::: TO: David Woodhouse <dwmw2@infradead.org>
:::::: CC: David Woodhouse <dwmw2@infradead.org>

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

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

[-- Attachment #3: Type: text/plain, Size: 176 bytes --]

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* [xlnx:master 173/199] include/linux/mtd/cfi.h:76:2: sparse: sparse: No CONFIG_MTD_CFI_Ix selected. No NOR chip support can work.
@ 2020-09-08 18:19 ` kernel test robot
  0 siblings, 0 replies; 5+ messages in thread
From: kernel test robot @ 2020-09-08 18:19 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://github.com/Xilinx/linux-xlnx master
head:   0a673209eb66ae657980dfab9ef90690647ee344
commit: 3e0fe58e108f56ee9ae5bd107aeb947ab18ef0a2 [173/199] spi: Move update_stripe definition to spi-mem
config: x86_64-randconfig-s021-20200908 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce:
        # apt-get install sparse
        # sparse version: v0.6.2-191-g10164920-dirty
        git checkout 3e0fe58e108f56ee9ae5bd107aeb947ab18ef0a2
        # 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/spi/spi-mem.c: note: in included file (through include/linux/mtd/spi-nor.h):
>> include/linux/mtd/cfi.h:76:2: sparse: sparse: No CONFIG_MTD_CFI_Ix selected. No NOR chip support can work.
   In file included from include/linux/mtd/spi-nor.h:14,
                    from drivers/spi/spi-mem.c:10:
   include/linux/mtd/cfi.h:76:2: warning: #warning No CONFIG_MTD_CFI_Ix selected. No NOR chip support can work. [-Wcpp]
      76 | #warning No CONFIG_MTD_CFI_Ix selected. No NOR chip support can work.
         |  ^~~~~~~
   drivers/spi/spi-mem.o: warning: objtool: spi_mem_exec_op()+0x90: sibling call from callable instruction with modified stack frame

# https://github.com/Xilinx/linux-xlnx/commit/3e0fe58e108f56ee9ae5bd107aeb947ab18ef0a2
git remote add xlnx https://github.com/Xilinx/linux-xlnx
git fetch --no-tags xlnx master
git checkout 3e0fe58e108f56ee9ae5bd107aeb947ab18ef0a2
vim +76 include/linux/mtd/cfi.h

^1da177e4c3f41 Linus Torvalds  2005-04-16  74  
241651d04d672f David Woodhouse 2007-09-06  75  #ifndef cfi_interleave
241651d04d672f David Woodhouse 2007-09-06 @76  #warning No CONFIG_MTD_CFI_Ix selected. No NOR chip support can work.
241651d04d672f David Woodhouse 2007-09-06  77  static inline int cfi_interleave(void *cfi)
241651d04d672f David Woodhouse 2007-09-06  78  {
241651d04d672f David Woodhouse 2007-09-06  79  	BUG();
241651d04d672f David Woodhouse 2007-09-06  80  	return 0;
241651d04d672f David Woodhouse 2007-09-06  81  }
241651d04d672f David Woodhouse 2007-09-06  82  #endif
241651d04d672f David Woodhouse 2007-09-06  83  

:::::: The code at line 76 was first introduced by commit
:::::: 241651d04d672fb685b2874707016cbbf95931e5 [MTD] Fix CFI build error when no map width or interleave supported

:::::: TO: David Woodhouse <dwmw2@infradead.org>
:::::: CC: David Woodhouse <dwmw2@infradead.org>

---
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: 32779 bytes --]

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

* [xlnx:master 173/199] include/linux/mtd/cfi.h:76:2: sparse: sparse: No CONFIG_MTD_CFI_Ix selected. No NOR chip support can work.
@ 2020-11-11  2:51 kernel test robot
  0 siblings, 0 replies; 5+ messages in thread
From: kernel test robot @ 2020-11-11  2:51 UTC (permalink / raw)
  To: kbuild

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

CC: kbuild-all(a)lists.01.org
CC: linux-arm-kernel(a)lists.infradead.org
TO: Nicholas Graumann <nick.graumann@gmail.com>
CC: Michal Simek <monstr@monstr.eu>
CC: Naga Sureshkumar Relli <naga.sureshkumar.relli@xilinx.com>

tree:   https://github.com/Xilinx/linux-xlnx master
head:   0a673209eb66ae657980dfab9ef90690647ee344
commit: 3e0fe58e108f56ee9ae5bd107aeb947ab18ef0a2 [173/199] spi: Move update_stripe definition to spi-mem
:::::: branch date: 10 months ago
:::::: commit date: 11 months ago
config: x86_64-randconfig-s022-20201110 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce:
        # apt-get install sparse
        # sparse version: v0.6.3-76-gf680124b-dirty
        # https://github.com/Xilinx/linux-xlnx/commit/3e0fe58e108f56ee9ae5bd107aeb947ab18ef0a2
        git remote add xlnx https://github.com/Xilinx/linux-xlnx
        git fetch --no-tags xlnx master
        git checkout 3e0fe58e108f56ee9ae5bd107aeb947ab18ef0a2
        # 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/spi/spi-mem.c: note: in included file (through include/linux/mtd/spi-nor.h):
>> include/linux/mtd/cfi.h:76:2: sparse: sparse: No CONFIG_MTD_CFI_Ix selected. No NOR chip support can work.
   In file included from include/linux/mtd/spi-nor.h:14,
                    from drivers/spi/spi-mem.c:10:
   include/linux/mtd/cfi.h:76:2: warning: #warning No CONFIG_MTD_CFI_Ix selected. No NOR chip support can work. [-Wcpp]
      76 | #warning No CONFIG_MTD_CFI_Ix selected. No NOR chip support can work.
         |  ^~~~~~~

vim +76 include/linux/mtd/cfi.h

^1da177e4c3f415 Linus Torvalds  2005-04-16  74  
241651d04d672fb David Woodhouse 2007-09-06  75  #ifndef cfi_interleave
241651d04d672fb David Woodhouse 2007-09-06 @76  #warning No CONFIG_MTD_CFI_Ix selected. No NOR chip support can work.
241651d04d672fb David Woodhouse 2007-09-06  77  static inline int cfi_interleave(void *cfi)
241651d04d672fb David Woodhouse 2007-09-06  78  {
241651d04d672fb David Woodhouse 2007-09-06  79  	BUG();
241651d04d672fb David Woodhouse 2007-09-06  80  	return 0;
241651d04d672fb David Woodhouse 2007-09-06  81  }
241651d04d672fb David Woodhouse 2007-09-06  82  #endif
241651d04d672fb David Woodhouse 2007-09-06  83  

:::::: The code at line 76 was first introduced by commit
:::::: 241651d04d672fb685b2874707016cbbf95931e5 [MTD] Fix CFI build error when no map width or interleave supported

:::::: TO: David Woodhouse <dwmw2@infradead.org>
:::::: CC: David Woodhouse <dwmw2@infradead.org>

---
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: 29049 bytes --]

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

end of thread, other threads:[~2020-11-11  2:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-11  2:51 [xlnx:master 173/199] include/linux/mtd/cfi.h:76:2: sparse: sparse: No CONFIG_MTD_CFI_Ix selected. No NOR chip support can work kernel test robot
  -- strict thread matches above, loose matches on Subject: below --
2020-09-08 18:19 kernel test robot
2020-09-08 18:19 ` kernel test robot
2020-06-06  0:30 kernel test robot
2020-06-06  0:30 ` 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.