[linux-next:master 11845/12015] mm/util.c:1094:6: error: no previous prototype for 'flush_dcache_folio'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>

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@xxxxxxxxxxxxx>
:::::: CC: Matthew Wilcox (Oracle) <willy@xxxxxxxxxxxxx>

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

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux