* [hch-block:blkdev.h-includes 2/17] fs/f2fs/compress.c:562:34: error: unexpected type name 'uint': expected identifier
@ 2021-09-07 22:43 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-09-07 22:43 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 4495 bytes --]
tree: git://git.infradead.org/users/hch/block.git blkdev.h-includes
head: aabc85fbc02908351f2a88da0164b28aa5342778
commit: c8d94d15acbdf53d533da43cf3c82ad5afb49136 [2/17] mm: don't include <linux/blk-cgroup.h> in <linux/backing-dev.h>
config: hexagon-randconfig-r033-20210906 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 9c476172b93367d2cb88d7d3f4b1b5b456fa6020)
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
git remote add hch-block git://git.infradead.org/users/hch/block.git
git fetch --no-tags hch-block blkdev.h-includes
git checkout c8d94d15acbdf53d533da43cf3c82ad5afb49136
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross O=build_dir ARCH=hexagon SHELL=/bin/bash drivers/md/ fs/f2fs/
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 >>):
>> fs/f2fs/compress.c:562:34: error: unexpected type name 'uint': expected identifier
module_param(num_compress_pages, uint, 0444);
^
>> fs/f2fs/compress.c:562:40: error: expected identifier
module_param(num_compress_pages, uint, 0444);
^
fs/f2fs/compress.c:562:1: error: declaration specifier missing, defaulting to 'int' [-Werror]
module_param(num_compress_pages, uint, 0444);
^
int
>> fs/f2fs/compress.c:562:13: error: this function declaration is not a prototype [-Werror,-Wstrict-prototypes]
module_param(num_compress_pages, uint, 0444);
^
void
fs/f2fs/compress.c:564:3: error: expected identifier
"Number of intermediate compress pages to preallocate");
^
fs/f2fs/compress.c:563:1: error: declaration specifier missing, defaulting to 'int' [-Werror]
MODULE_PARM_DESC(num_compress_pages,
^
int
fs/f2fs/compress.c:563:17: error: this function declaration is not a prototype [-Werror,-Wstrict-prototypes]
MODULE_PARM_DESC(num_compress_pages,
^
7 errors generated.
--
>> drivers/md/dm-ima.c:54:15: error: implicit declaration of function 'memalloc_noio_save' [-Werror,-Wimplicit-function-declaration]
noio_flag = memalloc_noio_save();
^
>> drivers/md/dm-ima.c:59:3: error: implicit declaration of function 'memalloc_noio_restore' [-Werror,-Wimplicit-function-declaration]
memalloc_noio_restore(noio_flag);
^
drivers/md/dm-ima.c:59:3: note: did you mean 'memalloc_noio_save'?
drivers/md/dm-ima.c:54:15: note: 'memalloc_noio_save' declared here
noio_flag = memalloc_noio_save();
^
drivers/md/dm-ima.c:137:15: error: implicit declaration of function 'memalloc_noio_save' [-Werror,-Wimplicit-function-declaration]
noio_flag = memalloc_noio_save();
^
drivers/md/dm-ima.c:143:3: error: implicit declaration of function 'memalloc_noio_restore' [-Werror,-Wimplicit-function-declaration]
memalloc_noio_restore(noio_flag);
^
4 errors generated.
vim +/uint +562 fs/f2fs/compress.c
4c8ff7095bef64f Chao Yu 2019-11-01 559
99bbe3070130599 Jaegeuk Kim 2020-06-16 560 static mempool_t *compress_page_pool;
5e6bbde95982300 Chao Yu 2020-04-08 561 static int num_compress_pages = 512;
5e6bbde95982300 Chao Yu 2020-04-08 @562 module_param(num_compress_pages, uint, 0444);
5e6bbde95982300 Chao Yu 2020-04-08 563 MODULE_PARM_DESC(num_compress_pages,
5e6bbde95982300 Chao Yu 2020-04-08 564 "Number of intermediate compress pages to preallocate");
5e6bbde95982300 Chao Yu 2020-04-08 565
:::::: The code at line 562 was first introduced by commit
:::::: 5e6bbde95982300d66d78fb282d4ee39df78fc33 f2fs: introduce mempool for {,de}compress intermediate page allocation
:::::: TO: Chao Yu <yuchao0@huawei.com>
:::::: CC: Jaegeuk Kim <jaegeuk@kernel.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: 28508 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-09-07 22:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-07 22:43 [hch-block:blkdev.h-includes 2/17] fs/f2fs/compress.c:562:34: error: unexpected type name 'uint': expected identifier kernel test robot
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.