linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [arnd-playground:randconfig-5.16-min 83/191] drivers/gpu/drm/i915/i915_pci.c:35:22: error: expected parameter declarator
@ 2021-12-02  3:38 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-12-02  3:38 UTC (permalink / raw)
  To: Arnd Bergmann; +Cc: llvm, kbuild-all, linux-kernel

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/arnd/playground.git randconfig-5.16-min
head:   7a16665b8fd19f170c0c15f1432c90e4750183f2
commit: 0f359885da8dfb90049605154752c25fe29c3631 [83/191] global: -Woverride-init warnings
config: x86_64-randconfig-a002-20211128 (https://download.01.org/0day-ci/archive/20211202/202112021105.QvF3rmir-lkp@intel.com/config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 4b553297ef3ee4dc2119d5429adf3072e90fac38)
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
        # https://git.kernel.org/pub/scm/linux/kernel/git/arnd/playground.git/commit/?id=0f359885da8dfb90049605154752c25fe29c3631
        git remote add arnd-playground https://git.kernel.org/pub/scm/linux/kernel/git/arnd/playground.git
        git fetch --no-tags arnd-playground randconfig-5.16-min
        git checkout 0f359885da8dfb90049605154752c25fe29c3631
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

Note: the arnd-playground/randconfig-5.16-min HEAD 7a16665b8fd19f170c0c15f1432c90e4750183f2 builds fine.
      It only hurts bisectability.

All errors (new ones prefixed by >>):

>> drivers/gpu/drm/i915/i915_pci.c:35:22: error: expected parameter declarator
   __diag_ignore(CLANG, 9, "-Winitializer-overrides", "features all override one another")
                        ^
>> drivers/gpu/drm/i915/i915_pci.c:35:22: error: expected ')'
   drivers/gpu/drm/i915/i915_pci.c:35:1: note: to match this '('
   __diag_ignore(CLANG, 9, "-Winitializer-overrides", "features all override one another")
   ^
   include/linux/compiler_types.h:361:21: note: expanded from macro '__diag_ignore'
           __diag_ ## compiler(version, ignore, option)
                              ^
   drivers/gpu/drm/i915/i915_pci.c:35:1: warning: declaration specifier missing, defaulting to 'int'
   __diag_ignore(CLANG, 9, "-Winitializer-overrides", "features all override one another")
   ^
   int
   include/linux/compiler_types.h:361:2: note: expanded from macro '__diag_ignore'
           __diag_ ## compiler(version, ignore, option)
           ^
   <scratch space>:118:1: note: expanded from here
   __diag_CLANG
   ^
>> drivers/gpu/drm/i915/i915_pci.c:35:1: error: this function declaration is not a prototype [-Werror,-Wstrict-prototypes]
   include/linux/compiler_types.h:361:21: note: expanded from macro '__diag_ignore'
           __diag_ ## compiler(version, ignore, option)
                              ^
>> drivers/gpu/drm/i915/i915_pci.c:35:88: error: expected ';' after top level declarator
   __diag_ignore(CLANG, 9, "-Winitializer-overrides", "features all override one another")
                                                                                          ^
                                                                                          ;
   1 warning and 4 errors generated.


vim +35 drivers/gpu/drm/i915/i915_pci.c

    32	
    33	
    34	__diag_ignore(GCC, 8, "-Woverride-init", "features all override one another")
  > 35	__diag_ignore(CLANG, 9, "-Winitializer-overrides", "features all override one another")
    36	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-12-02  3:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-02  3:38 [arnd-playground:randconfig-5.16-min 83/191] drivers/gpu/drm/i915/i915_pci.c:35:22: error: expected parameter declarator 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;
as well as URLs for NNTP newsgroup(s).