[Intel-gfx] ✗ Fi.CI.BUILD: failure for drm/i915/params: Align visibility of device level and global modparams

Patchwork patchwork at emeril.freedesktop.org
Wed May 26 12:58:39 UTC 2021


== Series Details ==

Series: drm/i915/params: Align visibility of device level and global modparams
URL   : https://patchwork.freedesktop.org/series/90588/
State : failure

== Summary ==

CALL    scripts/checksyscalls.sh
  CALL    scripts/atomic/check-atomics.sh
  DESCEND objtool
  CHK     include/generated/compile.h
  CC [M]  drivers/gpu/drm/i915/i915_debugfs_params.o
In file included from <command-line>:
drivers/gpu/drm/i915/i915_debugfs_params.c: In function ‘i915_debugfs_params’:
././include/linux/kconfig.h:25:30: error: pasting "__ARG_PLACEHOLDER_" and "?" does not give a valid preprocessing token
 #define ___or(x, y)   ____or(__ARG_PLACEHOLDER_##x, y)
                              ^~~~~~~~~~~~~~~~~~
././include/linux/kconfig.h:24:22: note: in expansion of macro ‘___or’
 #define __or(x, y)   ___or(x, y)
                      ^~~~~
././include/linux/kconfig.h:71:28: note: in expansion of macro ‘__or’
 #define IS_ENABLED(option) __or(IS_BUILTIN(option), IS_MODULE(option))
                            ^~~~
drivers/gpu/drm/i915/i915_params.h:74:43: note: in expansion of macro ‘IS_ENABLED’
  param(unsigned long, fake_lmem_start, 0, IS_ENABLED(CONFIG_DRM_I915_UNSTABLE_FAKE_LMEM ? 0400 : 0)) \
                                           ^~~~~~~~~~
drivers/gpu/drm/i915/i915_debugfs_params.c:241:2: note: in expansion of macro ‘I915_PARAMS_FOR_EACH’
  I915_PARAMS_FOR_EACH(REGISTER);
  ^~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/i915/i915_params.h:74:89: error: expected expression before ‘?’ token
  param(unsigned long, fake_lmem_start, 0, IS_ENABLED(CONFIG_DRM_I915_UNSTABLE_FAKE_LMEM ? 0400 : 0)) \
                                                                                         ^
drivers/gpu/drm/i915/i915_debugfs_params.c:240:80: note: in definition of macro ‘REGISTER’
 #define REGISTER(T, x, unused, mode, ...) _i915_param_create_file(dir, #x, #T, mode, &params->x);
                                                                                ^~~~
././include/linux/kconfig.h:26:34: note: in expansion of macro ‘__take_second_arg’
 #define ____or(arg1_or_junk, y)  __take_second_arg(arg1_or_junk 1, y)
                                  ^~~~~~~~~~~~~~~~~
././include/linux/kconfig.h:25:23: note: in expansion of macro ‘____or’
 #define ___or(x, y)   ____or(__ARG_PLACEHOLDER_##x, y)
                       ^~~~~~
././include/linux/kconfig.h:24:22: note: in expansion of macro ‘___or’
 #define __or(x, y)   ___or(x, y)
                      ^~~~~
././include/linux/kconfig.h:71:28: note: in expansion of macro ‘__or’
 #define IS_ENABLED(option) __or(IS_BUILTIN(option), IS_MODULE(option))
                            ^~~~
././include/linux/kconfig.h:43:38: note: in expansion of macro ‘__take_second_arg’
 #define ____is_defined(arg1_or_junk) __take_second_arg(arg1_or_junk 1, 0)
                                      ^~~~~~~~~~~~~~~~~
././include/linux/kconfig.h:42:29: note: in expansion of macro ‘____is_defined’
 #define ___is_defined(val)  ____is_defined(__ARG_PLACEHOLDER_##val)
                             ^~~~~~~~~~~~~~
././include/linux/kconfig.h:41:27: note: in expansion of macro ‘___is_defined’
 #define __is_defined(x)   ___is_defined(x)
                           ^~~~~~~~~~~~~
././include/linux/kconfig.h:56:27: note: in expansion of macro ‘__is_defined’
 #define IS_MODULE(option) __is_defined(option##_MODULE)
                           ^~~~~~~~~~~~
././include/linux/kconfig.h:71:53: note: in expansion of macro ‘IS_MODULE’
 #define IS_ENABLED(option) __or(IS_BUILTIN(option), IS_MODULE(option))
                                                     ^~~~~~~~~
drivers/gpu/drm/i915/i915_params.h:74:43: note: in expansion of macro ‘IS_ENABLED’
  param(unsigned long, fake_lmem_start, 0, IS_ENABLED(CONFIG_DRM_I915_UNSTABLE_FAKE_LMEM ? 0400 : 0)) \
                                           ^~~~~~~~~~
drivers/gpu/drm/i915/i915_debugfs_params.c:241:2: note: in expansion of macro ‘I915_PARAMS_FOR_EACH’
  I915_PARAMS_FOR_EACH(REGISTER);
  ^~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/i915/i915_params.h:74:98: error: invalid suffix "_MODULE" on integer constant
  param(unsigned long, fake_lmem_start, 0, IS_ENABLED(CONFIG_DRM_I915_UNSTABLE_FAKE_LMEM ? 0400 : 0)) \
                                                                                                  ^
drivers/gpu/drm/i915/i915_debugfs_params.c:240:80: note: in definition of macro ‘REGISTER’
 #define REGISTER(T, x, unused, mode, ...) _i915_param_create_file(dir, #x, #T, mode, &params->x);
                                                                                ^~~~
././include/linux/kconfig.h:26:34: note: in expansion of macro ‘__take_second_arg’
 #define ____or(arg1_or_junk, y)  __take_second_arg(arg1_or_junk 1, y)
                                  ^~~~~~~~~~~~~~~~~
././include/linux/kconfig.h:25:23: note: in expansion of macro ‘____or’
 #define ___or(x, y)   ____or(__ARG_PLACEHOLDER_##x, y)
                       ^~~~~~
././include/linux/kconfig.h:24:22: note: in expansion of macro ‘___or’
 #define __or(x, y)   ___or(x, y)
                      ^~~~~
././include/linux/kconfig.h:71:28: note: in expansion of macro ‘__or’
 #define IS_ENABLED(option) __or(IS_BUILTIN(option), IS_MODULE(option))
                            ^~~~
././include/linux/kconfig.h:43:38: note: in expansion of macro ‘__take_second_arg’
 #define ____is_defined(arg1_or_junk) __take_second_arg(arg1_or_junk 1, 0)
                                      ^~~~~~~~~~~~~~~~~
././include/linux/kconfig.h:42:29: note: in expansion of macro ‘____is_defined’
 #define ___is_defined(val)  ____is_defined(__ARG_PLACEHOLDER_##val)
                             ^~~~~~~~~~~~~~
././include/linux/kconfig.h:41:27: note: in expansion of macro ‘___is_defined’
 #define __is_defined(x)   ___is_defined(x)
                           ^~~~~~~~~~~~~
././include/linux/kconfig.h:56:27: note: in expansion of macro ‘__is_defined’
 #define IS_MODULE(option) __is_defined(option##_MODULE)
                           ^~~~~~~~~~~~
././include/linux/kconfig.h:71:53: note: in expansion of macro ‘IS_MODULE’
 #define IS_ENABLED(option) __or(IS_BUILTIN(option), IS_MODULE(option))
                                                     ^~~~~~~~~
drivers/gpu/drm/i915/i915_params.h:74:43: note: in expansion of macro ‘IS_ENABLED’
  param(unsigned long, fake_lmem_start, 0, IS_ENABLED(CONFIG_DRM_I915_UNSTABLE_FAKE_LMEM ? 0400 : 0)) \
                                           ^~~~~~~~~~
drivers/gpu/drm/i915/i915_debugfs_params.c:241:2: note: in expansion of macro ‘I915_PARAMS_FOR_EACH’
  I915_PARAMS_FOR_EACH(REGISTER);
  ^~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/i915/i915_debugfs_params.c:240:43: error: too few arguments to function ‘_i915_param_create_file’
 #define REGISTER(T, x, unused, mode, ...) _i915_param_create_file(dir, #x, #T, mode, &params->x);
                                           ^~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/i915/i915_params.h:74:2: note: in expansion of macro ‘REGISTER’
  param(unsigned long, fake_lmem_start, 0, IS_ENABLED(CONFIG_DRM_I915_UNSTABLE_FAKE_LMEM ? 0400 : 0)) \
  ^~~~~
drivers/gpu/drm/i915/i915_debugfs_params.c:241:2: note: in expansion of macro ‘I915_PARAMS_FOR_EACH’
  I915_PARAMS_FOR_EACH(REGISTER);
  ^~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/i915/i915_debugfs_params.c:202:1: note: declared here
 _i915_param_create_file(struct dentry *parent, const char *name,
 ^~~~~~~~~~~~~~~~~~~~~~~
scripts/Makefile.build:272: recipe for target 'drivers/gpu/drm/i915/i915_debugfs_params.o' failed
make[4]: *** [drivers/gpu/drm/i915/i915_debugfs_params.o] Error 1
scripts/Makefile.build:515: recipe for target 'drivers/gpu/drm/i915' failed
make[3]: *** [drivers/gpu/drm/i915] Error 2
scripts/Makefile.build:515: recipe for target 'drivers/gpu/drm' failed
make[2]: *** [drivers/gpu/drm] Error 2
scripts/Makefile.build:515: recipe for target 'drivers/gpu' failed
make[1]: *** [drivers/gpu] Error 2
Makefile:1839: recipe for target 'drivers' failed
make: *** [drivers] Error 2




More information about the Intel-gfx mailing list