All of lore.kernel.org
 help / color / mirror / Atom feed
* [ambarus:v5.10-atmel-qspi-under-spi-nor 23/35] drivers/mtd/spi-nor/atmel-quadspi.c:340:13: warning: no previous prototype for 'atmel_qspi_get_name'
@ 2020-11-19 13:24 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2020-11-19 13:24 UTC (permalink / raw)
  To: kbuild-all

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

Hi Tudor,

First bad commit (maybe != root cause):

tree:   https://github.com/ambarus/linux-0day v5.10-atmel-qspi-under-spi-nor
head:   fe0f9562057be30db3f6282b0809e3243bd5235d
commit: e228de6d80cb2ade5118680dd7721f2966bd31d3 [23/35] Revert "spi: Add QuadSPI driver for Atmel SAMA5D2"
config: arm-allyesconfig (attached as .config)
compiler: arm-linux-gnueabi-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/ambarus/linux-0day/commit/e228de6d80cb2ade5118680dd7721f2966bd31d3
        git remote add ambarus https://github.com/ambarus/linux-0day
        git fetch --no-tags ambarus v5.10-atmel-qspi-under-spi-nor
        git checkout e228de6d80cb2ade5118680dd7721f2966bd31d3
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm 

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/mtd/spi-nor/atmel-quadspi.c:340:13: warning: no previous prototype for 'atmel_qspi_get_name' [-Wmissing-prototypes]
     340 | const char *atmel_qspi_get_name(struct spi_mem *spimem)
         |             ^~~~~~~~~~~~~~~~~~~

vim +/atmel_qspi_get_name +340 drivers/mtd/spi-nor/atmel-quadspi.c

d5433def31531bd drivers/mtd/spi-nor/atmel-quadspi.c Piotr Bugalski 2018-11-05  339  
9e6be35cfd327c7 drivers/spi/atmel-quadspi.c         Tudor Ambarus  2020-11-04 @340  const char *atmel_qspi_get_name(struct spi_mem *spimem)
d5433def31531bd drivers/mtd/spi-nor/atmel-quadspi.c Piotr Bugalski 2018-11-05  341  {
d5433def31531bd drivers/mtd/spi-nor/atmel-quadspi.c Piotr Bugalski 2018-11-05  342  	return dev_name(spimem->spi->dev.parent);
d5433def31531bd drivers/mtd/spi-nor/atmel-quadspi.c Piotr Bugalski 2018-11-05  343  }
d5433def31531bd drivers/mtd/spi-nor/atmel-quadspi.c Piotr Bugalski 2018-11-05  344  

:::::: The code at line 340 was first introduced by commit
:::::: 9e6be35cfd327c7f0397a1bcc3839307f10b9917 Revert "spi: atmel-quadspi: Make atmel_qspi_get_name static"

:::::: TO: Tudor Ambarus <tudor.ambarus@microchip.com>
:::::: CC: Tudor Ambarus <tudor.ambarus@microchip.com>

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-11-19 13:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-19 13:24 [ambarus:v5.10-atmel-qspi-under-spi-nor 23/35] drivers/mtd/spi-nor/atmel-quadspi.c:340:13: warning: no previous prototype for 'atmel_qspi_get_name' 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.