Hi Namjae,
First bad commit (maybe != root cause):
tree:
https://github.com/zen-kernel/zen-kernel 5.6/exfat
head: 669f683801d1ef2a6716baa6363ef33379be6da5
commit: 42256ca2e038dc7fd23e4c19898877392bd3d512 [12/15] exfat: add exfat in fs/Kconfig
and fs/Makefile
config: i386-allyesconfig (attached as .config)
compiler: gcc-7 (Debian 7.4.0-6) 7.4.0
reproduce:
git checkout 42256ca2e038dc7fd23e4c19898877392bd3d512
# save the attached .config to linux build tree
make ARCH=i386
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp(a)intel.com>
Note: the zen-kernel-zen-kernel/5.6/exfat HEAD 669f683801d1ef2a6716baa6363ef33379be6da5
builds fine.
It only hurts bisectibility.
All errors (new ones prefixed by >>):
fs/exfat/super.c:222:37: error: macro "fsparam_enum" requires 3 arguments,
but only 2 given
fsparam_enum("errors", Opt_errors),
^
fs/exfat/super.c:222:2: error: 'fsparam_enum' undeclared here (not in a
function); did you mean 'fs_param_is_enum'?
fsparam_enum("errors", Opt_errors),
^~~~~~~~~~~~
fs_param_is_enum
fs/exfat/super.c:228:39: error: array type has incomplete element type 'struct
fs_parameter_enum'
static const struct fs_parameter_enum exfat_param_enums[] = {
^~~~~~~~~~~~~~~~~
fs/exfat/super.c:235:21: error: variable 'exfat_parameters' has initializer but
incomplete type
static const struct fs_parameter_description exfat_parameters = {
^~~~~~~~~~~~~~~~~~~~~~~~
fs/exfat/super.c:236:3: error: 'const struct fs_parameter_description' has no
member named 'name'
.name = "exfat",
^~~~
fs/exfat/super.c:236:11: warning: excess elements in struct initializer
.name = "exfat",
^~~~~~~
fs/exfat/super.c:236:11: note: (near initialization for 'exfat_parameters')
fs/exfat/super.c:237:3: error: 'const struct fs_parameter_description' has no
member named 'specs'
.specs = exfat_param_specs,
^~~~~
fs/exfat/super.c:237:12: warning: excess elements in struct initializer
.specs = exfat_param_specs,
^~~~~~~~~~~~~~~~~
fs/exfat/super.c:237:12: note: (near initialization for 'exfat_parameters')
fs/exfat/super.c:238:3: error: 'const struct fs_parameter_description' has no
member named 'enums'
.enums = exfat_param_enums,
^~~~~
fs/exfat/super.c:238:12: warning: excess elements in struct initializer
.enums = exfat_param_enums,
^~~~~~~~~~~~~~~~~
fs/exfat/super.c:238:12: note: (near initialization for 'exfat_parameters')
fs/exfat/super.c: In function 'exfat_parse_param':
fs/exfat/super.c:248:21: error: passing argument 2 of 'fs_parse' from
incompatible pointer type [-Werror=incompatible-pointer-types]
opt = fs_parse(fc, &exfat_parameters, param, &result);
^
In file included from fs/exfat/super.c:7:0:
include/linux/fs_parser.h:68:19: note: expected 'const struct fs_parameter_spec
*' but argument is of type 'const struct fs_parameter_description *'
static inline int fs_parse(struct fs_context *fc,
^~~~~~~~
fs/exfat/super.c: At top level:
> fs/exfat/super.c:669:17: error: initialization from incompatible
pointer type [-Werror=incompatible-pointer-types]
.parameters =
&exfat_parameters,
^
fs/exfat/super.c:669:17: note: (near initialization for
'exfat_fs_type.parameters')
fs/exfat/super.c:235:46: error: storage size of 'exfat_parameters' isn't
known
static const struct fs_parameter_description exfat_parameters = {
^~~~~~~~~~~~~~~~
fs/exfat/super.c:228:39: warning: 'exfat_param_enums' defined but not used
[-Wunused-variable]
static const struct fs_parameter_enum exfat_param_enums[] = {
^~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +669 fs/exfat/super.c
03e85038b1b69b Namjae Jeon 2020-01-15 664
03e85038b1b69b Namjae Jeon 2020-01-15 665 static struct file_system_type exfat_fs_type =
{
03e85038b1b69b Namjae Jeon 2020-01-15 666 .owner = THIS_MODULE,
03e85038b1b69b Namjae Jeon 2020-01-15 667 .name = "exfat",
03e85038b1b69b Namjae Jeon 2020-01-15 668 .init_fs_context = exfat_init_fs_context,
03e85038b1b69b Namjae Jeon 2020-01-15 @669 .parameters = &exfat_parameters,
03e85038b1b69b Namjae Jeon 2020-01-15 670 .kill_sb = kill_block_super,
03e85038b1b69b Namjae Jeon 2020-01-15 671 .fs_flags = FS_REQUIRES_DEV,
03e85038b1b69b Namjae Jeon 2020-01-15 672 };
03e85038b1b69b Namjae Jeon 2020-01-15 673
:::::: The code at line 669 was first introduced by commit
:::::: 03e85038b1b69bde7977190d95e967723b1ba39f exfat: add super block operations
:::::: TO: Namjae Jeon <namjae.jeon(a)samsung.com>
:::::: CC: Jan Alexander Steffens (heftig) <jan.steffens(a)gmail.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org