All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: "Matthew Wilcox (Oracle)" <willy@infradead.org>
Cc: kbuild-all@lists.01.org,
	Linux Memory Management List <linux-mm@kvack.org>
Subject: [linux-next:master 11845/12015] mm/util.c:1094:6: error: no previous prototype for 'flush_dcache_folio'
Date: Mon, 6 Sep 2021 20:34:24 +0800	[thread overview]
Message-ID: <202109062013.AqW560fV-lkp@intel.com> (raw)

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   7800ca95d0ed11b492962dc3abc2181c9d5f7f82
commit: 7bc873e9bbab634d31851e654988a6953c635146 [11845/12015] Merge remote-tracking branch 'folio/for-next'
config: xtensa-randconfig-r031-20210906 (attached as .config)
compiler: xtensa-linux-gcc (GCC) 11.2.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=7bc873e9bbab634d31851e654988a6953c635146
        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 7bc873e9bbab634d31851e654988a6953c635146
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=xtensa 

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

>> mm/util.c:1094:6: error: no previous prototype for 'flush_dcache_folio' [-Werror=missing-prototypes]
    1094 | void flush_dcache_folio(struct folio *folio)
         |      ^~~~~~~~~~~~~~~~~~
   cc1: all warnings being treated as errors


vim +/flush_dcache_folio +1094 mm/util.c

3431c15c5e0a26 Matthew Wilcox (Oracle  2020-12-16  1092) 
3431c15c5e0a26 Matthew Wilcox (Oracle  2020-12-16  1093) #ifndef ARCH_IMPLEMENTS_FLUSH_DCACHE_FOLIO
3431c15c5e0a26 Matthew Wilcox (Oracle  2020-12-16 @1094) void flush_dcache_folio(struct folio *folio)

:::::: The code at line 1094 was first introduced by commit
:::::: 3431c15c5e0a2605e09d999eaa25db784d6f827f mm: Add flush_dcache_folio()

:::::: TO: Matthew Wilcox (Oracle) <willy@infradead.org>
:::::: CC: Matthew Wilcox (Oracle) <willy@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: 28658 bytes --]

WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [linux-next:master 11845/12015] mm/util.c:1094:6: error: no previous prototype for 'flush_dcache_folio'
Date: Mon, 06 Sep 2021 20:34:24 +0800	[thread overview]
Message-ID: <202109062013.AqW560fV-lkp@intel.com> (raw)

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   7800ca95d0ed11b492962dc3abc2181c9d5f7f82
commit: 7bc873e9bbab634d31851e654988a6953c635146 [11845/12015] Merge remote-tracking branch 'folio/for-next'
config: xtensa-randconfig-r031-20210906 (attached as .config)
compiler: xtensa-linux-gcc (GCC) 11.2.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=7bc873e9bbab634d31851e654988a6953c635146
        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 7bc873e9bbab634d31851e654988a6953c635146
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=xtensa 

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

>> mm/util.c:1094:6: error: no previous prototype for 'flush_dcache_folio' [-Werror=missing-prototypes]
    1094 | void flush_dcache_folio(struct folio *folio)
         |      ^~~~~~~~~~~~~~~~~~
   cc1: all warnings being treated as errors


vim +/flush_dcache_folio +1094 mm/util.c

3431c15c5e0a26 Matthew Wilcox (Oracle  2020-12-16  1092) 
3431c15c5e0a26 Matthew Wilcox (Oracle  2020-12-16  1093) #ifndef ARCH_IMPLEMENTS_FLUSH_DCACHE_FOLIO
3431c15c5e0a26 Matthew Wilcox (Oracle  2020-12-16 @1094) void flush_dcache_folio(struct folio *folio)

:::::: The code at line 1094 was first introduced by commit
:::::: 3431c15c5e0a2605e09d999eaa25db784d6f827f mm: Add flush_dcache_folio()

:::::: TO: Matthew Wilcox (Oracle) <willy@infradead.org>
:::::: CC: Matthew Wilcox (Oracle) <willy@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: 28658 bytes --]

             reply	other threads:[~2021-09-06 12:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-06 12:34 kernel test robot [this message]
2021-09-06 12:34 ` [linux-next:master 11845/12015] mm/util.c:1094:6: error: no previous prototype for 'flush_dcache_folio' 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=202109062013.AqW560fV-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-mm@kvack.org \
    --cc=willy@infradead.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.