* [ammarfaizi2-block:dhowells/linux-fs/netfs-linked-list 29/57] include/linux/page-flags.h:788:9: sparse: sparse: incorrect type in argument 1 (different modifiers)
@ 2022-06-11 6:44 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-06-11 6:44 UTC (permalink / raw)
To: David Howells; +Cc: kbuild-all, GNU/Weeb Mailing List, linux-kernel
tree: https://github.com/ammarfaizi2/linux-block dhowells/linux-fs/netfs-linked-list
head: c19d336b7f0c53bd31e73f6d7d6c1524f0df55b8
commit: f951c9604853872cf088bb3dbf7d49e3f96b090d [29/57] mm: Make some folio function arguments const
config: x86_64-randconfig-s022 (https://download.01.org/0day-ci/archive/20220611/[email protected]/config)
compiler: gcc-11 (Debian 11.3.0-3) 11.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.4-30-g92122700-dirty
# https://github.com/ammarfaizi2/linux-block/commit/f951c9604853872cf088bb3dbf7d49e3f96b090d
git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block
git fetch --no-tags ammarfaizi2-block dhowells/linux-fs/netfs-linked-list
git checkout f951c9604853872cf088bb3dbf7d49e3f96b090d
# save the config file
mkdir build_dir && cp config build_dir/.config
make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=x86_64 SHELL=/bin/bash fs/netfs/
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <[email protected]>
sparse warnings: (new ones prefixed by >>)
fs/netfs/direct_read.c: note: in included file (through include/linux/mmzone.h, include/linux/gfp.h, include/linux/xarray.h, ...):
>> include/linux/page-flags.h:788:9: sparse: sparse: incorrect type in argument 1 (different modifiers) @@ expected struct page *page @@ got struct page const *page @@
include/linux/page-flags.h:788:9: sparse: expected struct page *page
include/linux/page-flags.h:788:9: sparse: got struct page const *page
>> include/linux/page-flags.h:788:9: sparse: sparse: incorrect type in argument 1 (different modifiers) @@ expected struct page *page @@ got struct page const *page @@
include/linux/page-flags.h:788:9: sparse: expected struct page *page
include/linux/page-flags.h:788:9: sparse: got struct page const *page
--
fs/netfs/misc.c: note: in included file (through include/linux/mmzone.h, include/linux/swap.h):
>> include/linux/page-flags.h:788:9: sparse: sparse: incorrect type in argument 1 (different modifiers) @@ expected struct page *page @@ got struct page const *page @@
include/linux/page-flags.h:788:9: sparse: expected struct page *page
include/linux/page-flags.h:788:9: sparse: got struct page const *page
>> include/linux/page-flags.h:788:9: sparse: sparse: incorrect type in argument 1 (different modifiers) @@ expected struct page *page @@ got struct page const *page @@
include/linux/page-flags.h:788:9: sparse: expected struct page *page
include/linux/page-flags.h:788:9: sparse: got struct page const *page
>> include/linux/page-flags.h:788:9: sparse: sparse: incorrect type in argument 1 (different modifiers) @@ expected struct page *page @@ got struct page const *page @@
include/linux/page-flags.h:788:9: sparse: expected struct page *page
include/linux/page-flags.h:788:9: sparse: got struct page const *page
>> include/linux/page-flags.h:788:9: sparse: sparse: incorrect type in argument 1 (different modifiers) @@ expected struct page *page @@ got struct page const *page @@
include/linux/page-flags.h:788:9: sparse: expected struct page *page
include/linux/page-flags.h:788:9: sparse: got struct page const *page
>> include/linux/page-flags.h:788:9: sparse: sparse: incorrect type in argument 1 (different modifiers) @@ expected struct page *page @@ got struct page const *page @@
include/linux/page-flags.h:788:9: sparse: expected struct page *page
include/linux/page-flags.h:788:9: sparse: got struct page const *page
>> include/linux/page-flags.h:788:9: sparse: sparse: incorrect type in argument 1 (different modifiers) @@ expected struct page *page @@ got struct page const *page @@
include/linux/page-flags.h:788:9: sparse: expected struct page *page
include/linux/page-flags.h:788:9: sparse: got struct page const *page
>> include/linux/page-flags.h:788:9: sparse: sparse: incorrect type in argument 1 (different modifiers) @@ expected struct page *page @@ got struct page const *page @@
include/linux/page-flags.h:788:9: sparse: expected struct page *page
include/linux/page-flags.h:788:9: sparse: got struct page const *page
--
fs/netfs/buffered_read.c: note: in included file (through include/linux/mmzone.h, include/linux/gfp.h, include/linux/xarray.h, ...):
>> include/linux/page-flags.h:788:9: sparse: sparse: incorrect type in argument 1 (different modifiers) @@ expected struct page *page @@ got struct page const *page @@
include/linux/page-flags.h:788:9: sparse: expected struct page *page
include/linux/page-flags.h:788:9: sparse: got struct page const *page
>> include/linux/page-flags.h:788:9: sparse: sparse: incorrect type in argument 1 (different modifiers) @@ expected struct page *page @@ got struct page const *page @@
include/linux/page-flags.h:788:9: sparse: expected struct page *page
include/linux/page-flags.h:788:9: sparse: got struct page const *page
>> include/linux/page-flags.h:788:9: sparse: sparse: incorrect type in argument 1 (different modifiers) @@ expected struct page *page @@ got struct page const *page @@
include/linux/page-flags.h:788:9: sparse: expected struct page *page
include/linux/page-flags.h:788:9: sparse: got struct page const *page
>> include/linux/page-flags.h:788:9: sparse: sparse: incorrect type in argument 1 (different modifiers) @@ expected struct page *page @@ got struct page const *page @@
include/linux/page-flags.h:788:9: sparse: expected struct page *page
include/linux/page-flags.h:788:9: sparse: got struct page const *page
>> include/linux/page-flags.h:788:9: sparse: sparse: incorrect type in argument 1 (different modifiers) @@ expected struct page *page @@ got struct page const *page @@
include/linux/page-flags.h:788:9: sparse: expected struct page *page
include/linux/page-flags.h:788:9: sparse: got struct page const *page
>> include/linux/page-flags.h:788:9: sparse: sparse: incorrect type in argument 1 (different modifiers) @@ expected struct page *page @@ got struct page const *page @@
include/linux/page-flags.h:788:9: sparse: expected struct page *page
include/linux/page-flags.h:788:9: sparse: got struct page const *page
>> include/linux/page-flags.h:788:9: sparse: sparse: incorrect type in argument 1 (different modifiers) @@ expected struct page *page @@ got struct page const *page @@
include/linux/page-flags.h:788:9: sparse: expected struct page *page
include/linux/page-flags.h:788:9: sparse: got struct page const *page
>> include/linux/page-flags.h:788:9: sparse: sparse: incorrect type in argument 1 (different modifiers) @@ expected struct page *page @@ got struct page const *page @@
include/linux/page-flags.h:788:9: sparse: expected struct page *page
include/linux/page-flags.h:788:9: sparse: got struct page const *page
>> include/linux/page-flags.h:788:9: sparse: sparse: incorrect type in argument 1 (different modifiers) @@ expected struct page *page @@ got struct page const *page @@
include/linux/page-flags.h:788:9: sparse: expected struct page *page
include/linux/page-flags.h:788:9: sparse: got struct page const *page
>> include/linux/page-flags.h:788:9: sparse: sparse: incorrect type in argument 1 (different modifiers) @@ expected struct page *page @@ got struct page const *page @@
include/linux/page-flags.h:788:9: sparse: expected struct page *page
include/linux/page-flags.h:788:9: sparse: got struct page const *page
>> include/linux/page-flags.h:788:9: sparse: sparse: incorrect type in argument 1 (different modifiers) @@ expected struct page *page @@ got struct page const *page @@
include/linux/page-flags.h:788:9: sparse: expected struct page *page
include/linux/page-flags.h:788:9: sparse: got struct page const *page
>> include/linux/page-flags.h:788:9: sparse: sparse: incorrect type in argument 1 (different modifiers) @@ expected struct page *page @@ got struct page const *page @@
include/linux/page-flags.h:788:9: sparse: expected struct page *page
include/linux/page-flags.h:788:9: sparse: got struct page const *page
>> include/linux/page-flags.h:788:9: sparse: sparse: incorrect type in argument 1 (different modifiers) @@ expected struct page *page @@ got struct page const *page @@
include/linux/page-flags.h:788:9: sparse: expected struct page *page
include/linux/page-flags.h:788:9: sparse: got struct page const *page
>> include/linux/page-flags.h:788:9: sparse: sparse: incorrect type in argument 1 (different modifiers) @@ expected struct page *page @@ got struct page const *page @@
include/linux/page-flags.h:788:9: sparse: expected struct page *page
include/linux/page-flags.h:788:9: sparse: got struct page const *page
--
fs/netfs/io.c: note: in included file (through include/linux/mmzone.h, include/linux/gfp.h, include/linux/umh.h, include/linux/kmod.h, ...):
>> include/linux/page-flags.h:788:9: sparse: sparse: incorrect type in argument 1 (different modifiers) @@ expected struct page *page @@ got struct page const *page @@
include/linux/page-flags.h:788:9: sparse: expected struct page *page
include/linux/page-flags.h:788:9: sparse: got struct page const *page
>> include/linux/page-flags.h:788:9: sparse: sparse: incorrect type in argument 1 (different modifiers) @@ expected struct page *page @@ got struct page const *page @@
include/linux/page-flags.h:788:9: sparse: expected struct page *page
include/linux/page-flags.h:788:9: sparse: got struct page const *page
vim +788 include/linux/page-flags.h
e7d324850bfcb3 Muchun Song 2022-03-22 785
f951c960485387 David Howells 2022-06-08 786 static __always_inline int PageHead(const struct page *page)
e7d324850bfcb3 Muchun Song 2022-03-22 787 {
e7d324850bfcb3 Muchun Song 2022-03-22 @788 PF_POISONED_CHECK(page);
e7d324850bfcb3 Muchun Song 2022-03-22 789 return test_bit(PG_head, &page->flags) && !page_is_fake_head(page);
e7d324850bfcb3 Muchun Song 2022-03-22 790 }
e7d324850bfcb3 Muchun Song 2022-03-22 791
:::::: The code at line 788 was first introduced by commit
:::::: e7d324850bfcb30df563d144c0363cc44595277d mm: hugetlb: free the 2nd vmemmap page associated with each HugeTLB page
:::::: TO: Muchun Song <[email protected]>
:::::: CC: Linus Torvalds <[email protected]>
--
0-DAY CI Kernel Test Service
https://01.org/lkp
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-06-11 6:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-11 6:44 [ammarfaizi2-block:dhowells/linux-fs/netfs-linked-list 29/57] include/linux/page-flags.h:788:9: sparse: sparse: incorrect type in argument 1 (different modifiers) kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox