lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Thu, 2 Dec 2021 11:38:26 +0800
From:   kernel test robot <lkp@...el.com>
To:     Arnd Bergmann <arnd@...db.de>
Cc:     llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
        linux-kernel@...r.kernel.org
Subject: [arnd-playground:randconfig-5.16-min 83/191]
 drivers/gpu/drm/i915/i915_pci.c:35:22: error: expected parameter declarator

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@...el.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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ