All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [linux-next:master 7039/7280] include/linux/mfd/tmio.h:21:37: error: implicit declaration of function 'writesw'; did you mean
Date: Fri, 20 Nov 2020 18:42:42 +0800	[thread overview]
Message-ID: <202011201829.1TIESxea-lkp@intel.com> (raw)

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   95065cb54210eba86bed10cb2118041524d54573
commit: 4939ba4aa4adfa7f118c5f6440d46f69359f34a8 [7039/7280] mtd: rawnand: tmio: Allow compile testing
config: alpha-allmodconfig (attached as .config)
compiler: alpha-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://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=4939ba4aa4adfa7f118c5f6440d46f69359f34a8
        git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
        git fetch --no-tags linux-next master
        git checkout 4939ba4aa4adfa7f118c5f6440d46f69359f34a8
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=alpha 

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

All errors (new ones prefixed by >>):

   In file included from drivers/mtd/nand/raw/tmio_nand.c:30:
   drivers/mtd/nand/raw/tmio_nand.c: In function 'tmio_nand_write_buf':
>> include/linux/mfd/tmio.h:21:37: error: implicit declaration of function 'writesw'; did you mean 'writew'? [-Werror=implicit-function-declaration]
      21 | #define tmio_iowrite16_rep(r, b, l) writesw(r, b, l)
         |                                     ^~~~~~~
   drivers/mtd/nand/raw/tmio_nand.c:247:2: note: in expansion of macro 'tmio_iowrite16_rep'
     247 |  tmio_iowrite16_rep(tmio->fcr + FCR_DATA, buf, len >> 1);
         |  ^~~~~~~~~~~~~~~~~~
   drivers/mtd/nand/raw/tmio_nand.c: In function 'tmio_nand_read_buf':
>> include/linux/mfd/tmio.h:15:36: error: implicit declaration of function 'readsw'; did you mean 'readw'? [-Werror=implicit-function-declaration]
      15 | #define tmio_ioread16_rep(r, b, l) readsw(r, b, l)
         |                                    ^~~~~~
   drivers/mtd/nand/raw/tmio_nand.c:254:2: note: in expansion of macro 'tmio_ioread16_rep'
     254 |  tmio_ioread16_rep(tmio->fcr + FCR_DATA, buf, len >> 1);
         |  ^~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors

vim +21 include/linux/mfd/tmio.h

b53cde3557b8f97 Dmitry Eremin-Solenikov 2008-10-15  12  
d3a2f71853ce543 Ian Molton              2008-07-31  13  #define tmio_ioread8(addr) readb(addr)
d3a2f71853ce543 Ian Molton              2008-07-31  14  #define tmio_ioread16(addr) readw(addr)
d3a2f71853ce543 Ian Molton              2008-07-31 @15  #define tmio_ioread16_rep(r, b, l) readsw(r, b, l)
d3a2f71853ce543 Ian Molton              2008-07-31  16  #define tmio_ioread32(addr) \
d3a2f71853ce543 Ian Molton              2008-07-31  17  	(((u32)readw((addr))) | (((u32)readw((addr) + 2)) << 16))
d3a2f71853ce543 Ian Molton              2008-07-31  18  
d3a2f71853ce543 Ian Molton              2008-07-31  19  #define tmio_iowrite8(val, addr) writeb((val), (addr))
d3a2f71853ce543 Ian Molton              2008-07-31  20  #define tmio_iowrite16(val, addr) writew((val), (addr))
d3a2f71853ce543 Ian Molton              2008-07-31 @21  #define tmio_iowrite16_rep(r, b, l) writesw(r, b, l)
d3a2f71853ce543 Ian Molton              2008-07-31  22  #define tmio_iowrite32(val, addr) \
d3a2f71853ce543 Ian Molton              2008-07-31  23  	do { \
d3a2f71853ce543 Ian Molton              2008-07-31  24  		writew((val),       (addr)); \
d3a2f71853ce543 Ian Molton              2008-07-31  25  		writew((val) >> 16, (addr) + 2); \
d3a2f71853ce543 Ian Molton              2008-07-31  26  	} while (0)
d3a2f71853ce543 Ian Molton              2008-07-31  27  

:::::: The code at line 21 was first introduced by commit
:::::: d3a2f71853ce543c5515d4982e202751e15b0b6d mfd: TMIO MMC structures and accessors.

:::::: TO: Ian Molton <spyro@f2s.com>
:::::: CC: Samuel Ortiz <sameo@openedhand.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: 66584 bytes --]

WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: Miquel Raynal <miquel.raynal@bootlin.com>
Cc: kbuild-all@lists.01.org,
	Linux Memory Management List <linux-mm@kvack.org>
Subject: [linux-next:master 7039/7280] include/linux/mfd/tmio.h:21:37: error: implicit declaration of function 'writesw'; did you mean
Date: Fri, 20 Nov 2020 18:42:42 +0800	[thread overview]
Message-ID: <202011201829.1TIESxea-lkp@intel.com> (raw)

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   95065cb54210eba86bed10cb2118041524d54573
commit: 4939ba4aa4adfa7f118c5f6440d46f69359f34a8 [7039/7280] mtd: rawnand: tmio: Allow compile testing
config: alpha-allmodconfig (attached as .config)
compiler: alpha-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://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=4939ba4aa4adfa7f118c5f6440d46f69359f34a8
        git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
        git fetch --no-tags linux-next master
        git checkout 4939ba4aa4adfa7f118c5f6440d46f69359f34a8
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=alpha 

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

All errors (new ones prefixed by >>):

   In file included from drivers/mtd/nand/raw/tmio_nand.c:30:
   drivers/mtd/nand/raw/tmio_nand.c: In function 'tmio_nand_write_buf':
>> include/linux/mfd/tmio.h:21:37: error: implicit declaration of function 'writesw'; did you mean 'writew'? [-Werror=implicit-function-declaration]
      21 | #define tmio_iowrite16_rep(r, b, l) writesw(r, b, l)
         |                                     ^~~~~~~
   drivers/mtd/nand/raw/tmio_nand.c:247:2: note: in expansion of macro 'tmio_iowrite16_rep'
     247 |  tmio_iowrite16_rep(tmio->fcr + FCR_DATA, buf, len >> 1);
         |  ^~~~~~~~~~~~~~~~~~
   drivers/mtd/nand/raw/tmio_nand.c: In function 'tmio_nand_read_buf':
>> include/linux/mfd/tmio.h:15:36: error: implicit declaration of function 'readsw'; did you mean 'readw'? [-Werror=implicit-function-declaration]
      15 | #define tmio_ioread16_rep(r, b, l) readsw(r, b, l)
         |                                    ^~~~~~
   drivers/mtd/nand/raw/tmio_nand.c:254:2: note: in expansion of macro 'tmio_ioread16_rep'
     254 |  tmio_ioread16_rep(tmio->fcr + FCR_DATA, buf, len >> 1);
         |  ^~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors

vim +21 include/linux/mfd/tmio.h

b53cde3557b8f97 Dmitry Eremin-Solenikov 2008-10-15  12  
d3a2f71853ce543 Ian Molton              2008-07-31  13  #define tmio_ioread8(addr) readb(addr)
d3a2f71853ce543 Ian Molton              2008-07-31  14  #define tmio_ioread16(addr) readw(addr)
d3a2f71853ce543 Ian Molton              2008-07-31 @15  #define tmio_ioread16_rep(r, b, l) readsw(r, b, l)
d3a2f71853ce543 Ian Molton              2008-07-31  16  #define tmio_ioread32(addr) \
d3a2f71853ce543 Ian Molton              2008-07-31  17  	(((u32)readw((addr))) | (((u32)readw((addr) + 2)) << 16))
d3a2f71853ce543 Ian Molton              2008-07-31  18  
d3a2f71853ce543 Ian Molton              2008-07-31  19  #define tmio_iowrite8(val, addr) writeb((val), (addr))
d3a2f71853ce543 Ian Molton              2008-07-31  20  #define tmio_iowrite16(val, addr) writew((val), (addr))
d3a2f71853ce543 Ian Molton              2008-07-31 @21  #define tmio_iowrite16_rep(r, b, l) writesw(r, b, l)
d3a2f71853ce543 Ian Molton              2008-07-31  22  #define tmio_iowrite32(val, addr) \
d3a2f71853ce543 Ian Molton              2008-07-31  23  	do { \
d3a2f71853ce543 Ian Molton              2008-07-31  24  		writew((val),       (addr)); \
d3a2f71853ce543 Ian Molton              2008-07-31  25  		writew((val) >> 16, (addr) + 2); \
d3a2f71853ce543 Ian Molton              2008-07-31  26  	} while (0)
d3a2f71853ce543 Ian Molton              2008-07-31  27  

:::::: The code at line 21 was first introduced by commit
:::::: d3a2f71853ce543c5515d4982e202751e15b0b6d mfd: TMIO MMC structures and accessors.

:::::: TO: Ian Molton <spyro@f2s.com>
:::::: CC: Samuel Ortiz <sameo@openedhand.com>

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

             reply	other threads:[~2020-11-20 10:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-20 10:42 kernel test robot [this message]
2020-11-20 10:42 ` [linux-next:master 7039/7280] include/linux/mfd/tmio.h:21:37: error: implicit declaration of function 'writesw'; did you mean kernel test robot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202011201829.1TIESxea-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.