From: kernel test robot <lkp@intel.com>
To: Ingo Molnar <mingo@kernel.org>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org
Subject: [mingo-tip:sched/headers 1760/2579] fs/ceph/cache.h:130:16: error: implicit declaration of function 'filemap_dirty_folio'; did you mean 'filemap_get_folio'?
Date: Thu, 21 Apr 2022 14:42:32 +0800 [thread overview]
Message-ID: <202204210519.7NXwmnKd-lkp@intel.com> (raw)
tree: git://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git sched/headers
head: 49e1ec6c70a6eb4b7de9250a455b8b63eb42afbe
commit: 5906052f724ace8783a32193d743f4db58a3bfee [1760/2579] headers/deps: writeback: Remove the <linux/writeback_api.h> header from <linux/writeback.h>
config: i386-randconfig-a005 (https://download.01.org/0day-ci/archive/20220421/202204210519.7NXwmnKd-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.2.0-20) 11.2.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git/commit/?id=5906052f724ace8783a32193d743f4db58a3bfee
git remote add mingo-tip git://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git
git fetch --no-tags mingo-tip sched/headers
git checkout 5906052f724ace8783a32193d743f4db58a3bfee
# save the config file
mkdir build_dir && cp config build_dir/.config
make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash drivers/ fs/
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 fs/ceph/super.c:31:
fs/ceph/cache.h: In function 'ceph_fscache_dirty_folio':
>> fs/ceph/cache.h:130:16: error: implicit declaration of function 'filemap_dirty_folio'; did you mean 'filemap_get_folio'? [-Werror=implicit-function-declaration]
130 | return filemap_dirty_folio(mapping, folio);
| ^~~~~~~~~~~~~~~~~~~
| filemap_get_folio
cc1: some warnings being treated as errors
--
In file included from include/net/sock.h:49,
from fs/afs/internal.h:29,
from fs/afs/file.c:31:
include/linux/netdevice.h:171:9: error: unknown type name 'local_t'
171 | local_t rx_dropped;
| ^~~~~~~
include/linux/netdevice.h:172:9: error: unknown type name 'local_t'
172 | local_t tx_dropped;
| ^~~~~~~
include/linux/netdevice.h:173:9: error: unknown type name 'local_t'
173 | local_t rx_nohandler;
| ^~~~~~~
In file included from include/linux/compiler_types.h:73,
from <command-line>:
include/linux/netdevice.h:174:24: error: 'local_t' undeclared here (not in a function)
174 | } __aligned(4 * sizeof(local_t));
| ^~~~~~~
include/linux/compiler_attributes.h:33:68: note: in definition of macro '__aligned'
33 | #define __aligned(x) __attribute__((__aligned__(x)))
| ^
In file included from include/net/neighbour.h:7,
from include/net/dst.h:21,
from include/net/sock.h:66,
from fs/afs/internal.h:29,
from fs/afs/file.c:31:
include/linux/netdevice_api.h: In function 'dev_core_stats_rx_dropped_inc':
include/linux/netdevice_api.h:1807:17: error: implicit declaration of function 'local_inc'; did you mean 'local_lock'? [-Werror=implicit-function-declaration]
1807 | local_inc(&p->FIELD); \
| ^~~~~~~~~
include/linux/netdevice_api.h:1810:1: note: in expansion of macro 'DEV_CORE_STATS_INC'
1810 | DEV_CORE_STATS_INC(rx_dropped)
| ^~~~~~~~~~~~~~~~~~
In file included from fs/afs/file.c:31:
fs/afs/file.c: At top level:
>> fs/afs/internal.h:1540:25: error: 'filemap_dirty_folio' undeclared here (not in a function); did you mean 'filemap_get_folio'?
1540 | #define afs_dirty_folio filemap_dirty_folio
| ^~~~~~~~~~~~~~~~~~~
fs/afs/file.c:67:27: note: in expansion of macro 'afs_dirty_folio'
67 | .dirty_folio = afs_dirty_folio,
| ^~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +130 fs/ceph/cache.h
400e1286c0ec3f Jeff Layton 2021-12-07 126
8fb72b4a76933a Matthew Wilcox (Oracle 2022-02-09 127) static inline int ceph_fscache_dirty_folio(struct address_space *mapping,
8fb72b4a76933a Matthew Wilcox (Oracle 2022-02-09 128) struct folio *folio)
400e1286c0ec3f Jeff Layton 2021-12-07 129 {
8fb72b4a76933a Matthew Wilcox (Oracle 2022-02-09 @130) return filemap_dirty_folio(mapping, folio);
400e1286c0ec3f Jeff Layton 2021-12-07 131 }
400e1286c0ec3f Jeff Layton 2021-12-07 132
:::::: The code at line 130 was first introduced by commit
:::::: 8fb72b4a76933ae6f86725cc8e4a8190ba84d755 fscache: Convert fscache_set_page_dirty() to fscache_dirty_folio()
:::::: TO: Matthew Wilcox (Oracle) <willy@infradead.org>
:::::: CC: Matthew Wilcox (Oracle) <willy@infradead.org>
--
0-DAY CI Kernel Test Service
https://01.org/lkp
reply other threads:[~2022-04-21 6:45 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=202204210519.7NXwmnKd-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox