All of lore.kernel.org
 help / color / mirror / Atom feed
* [xlnx:xlnx_rebase_v5.4 842/1700] drivers/spi/spi-mem.c:18:6: warning: no previous prototype for 'update_stripe'
@ 2021-03-03  1:52 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-03-03  1:52 UTC (permalink / raw)
  To: Amit Kumar Mahapatra
  Cc: kbuild-all, linux-arm-kernel, Michal Simek,
	Naga Sureshkumar Relli, Harini Katakam,
	Punnaiah Choudary Kalluri, Soren Brinkmann

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

Hi Amit,

FYI, the error/warning still remains.

tree:   https://github.com/Xilinx/linux-xlnx xlnx_rebase_v5.4
head:   49bdb4e70d2001f3a5bf0bf5e990cca4a85210f4
commit: 3780469dd372e934445de2fbb5e8cf6e712b9b99 [842/1700] spi: Add Zynq QSPI controller driver
config: nios2-randconfig-r005-20210303 (attached as .config)
compiler: nios2-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://github.com/Xilinx/linux-xlnx/commit/3780469dd372e934445de2fbb5e8cf6e712b9b99
        git remote add xlnx https://github.com/Xilinx/linux-xlnx
        git fetch --no-tags xlnx xlnx_rebase_v5.4
        git checkout 3780469dd372e934445de2fbb5e8cf6e712b9b99
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=nios2 

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

All warnings (new ones prefixed by >>):

>> drivers/spi/spi-mem.c:18:6: warning: no previous prototype for 'update_stripe' [-Wmissing-prototypes]
      18 | bool update_stripe(const u8 opcode)
         |      ^~~~~~~~~~~~~

Kconfig warnings: (for reference only)
   WARNING: unmet direct dependencies detected for SERIAL_CORE_CONSOLE
   Depends on TTY && HAS_IOMEM
   Selected by
   - EARLY_PRINTK


vim +/update_stripe +18 drivers/spi/spi-mem.c

    17	
  > 18	bool update_stripe(const u8 opcode)
    19	{
    20		if (opcode ==  SPINOR_OP_BE_4K ||
    21		    opcode ==  SPINOR_OP_BE_32K ||
    22		    opcode ==  SPINOR_OP_CHIP_ERASE ||
    23		    opcode ==  SPINOR_OP_SE ||
    24		    opcode ==  SPINOR_OP_BE_32K_4B ||
    25		    opcode ==  SPINOR_OP_SE_4B ||
    26		    opcode == SPINOR_OP_BE_4K_4B ||
    27		    opcode ==  SPINOR_OP_WRSR ||
    28		    opcode ==  SPINOR_OP_WREAR ||
    29		    opcode ==  SPINOR_OP_BRWR ||
    30		    opcode ==  SPINOR_OP_WRSR2)
    31			return false;
    32	
    33		return true;
    34	}
    35	

---
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: 24243 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] 2+ messages in thread

* [xlnx:xlnx_rebase_v5.4 842/1700] drivers/spi/spi-mem.c:18:6: warning: no previous prototype for 'update_stripe'
@ 2021-03-03  1:52 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-03-03  1:52 UTC (permalink / raw)
  To: kbuild-all

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

Hi Amit,

FYI, the error/warning still remains.

tree:   https://github.com/Xilinx/linux-xlnx xlnx_rebase_v5.4
head:   49bdb4e70d2001f3a5bf0bf5e990cca4a85210f4
commit: 3780469dd372e934445de2fbb5e8cf6e712b9b99 [842/1700] spi: Add Zynq QSPI controller driver
config: nios2-randconfig-r005-20210303 (attached as .config)
compiler: nios2-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://github.com/Xilinx/linux-xlnx/commit/3780469dd372e934445de2fbb5e8cf6e712b9b99
        git remote add xlnx https://github.com/Xilinx/linux-xlnx
        git fetch --no-tags xlnx xlnx_rebase_v5.4
        git checkout 3780469dd372e934445de2fbb5e8cf6e712b9b99
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=nios2 

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

All warnings (new ones prefixed by >>):

>> drivers/spi/spi-mem.c:18:6: warning: no previous prototype for 'update_stripe' [-Wmissing-prototypes]
      18 | bool update_stripe(const u8 opcode)
         |      ^~~~~~~~~~~~~

Kconfig warnings: (for reference only)
   WARNING: unmet direct dependencies detected for SERIAL_CORE_CONSOLE
   Depends on TTY && HAS_IOMEM
   Selected by
   - EARLY_PRINTK


vim +/update_stripe +18 drivers/spi/spi-mem.c

    17	
  > 18	bool update_stripe(const u8 opcode)
    19	{
    20		if (opcode ==  SPINOR_OP_BE_4K ||
    21		    opcode ==  SPINOR_OP_BE_32K ||
    22		    opcode ==  SPINOR_OP_CHIP_ERASE ||
    23		    opcode ==  SPINOR_OP_SE ||
    24		    opcode ==  SPINOR_OP_BE_32K_4B ||
    25		    opcode ==  SPINOR_OP_SE_4B ||
    26		    opcode == SPINOR_OP_BE_4K_4B ||
    27		    opcode ==  SPINOR_OP_WRSR ||
    28		    opcode ==  SPINOR_OP_WREAR ||
    29		    opcode ==  SPINOR_OP_BRWR ||
    30		    opcode ==  SPINOR_OP_WRSR2)
    31			return false;
    32	
    33		return true;
    34	}
    35	

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

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

end of thread, other threads:[~2021-03-03 15:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-03  1:52 [xlnx:xlnx_rebase_v5.4 842/1700] drivers/spi/spi-mem.c:18:6: warning: no previous prototype for 'update_stripe' kernel test robot
2021-03-03  1:52 ` 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.