From: kernel test robot <lkp@intel.com>
To: Arnd Bergmann <arnd@arndb.de>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
linux-kernel@vger.kernel.org
Subject: [arnd-playground:randconfig-5.16-min 83/191] drivers/gpu/drm/i915/i915_pci.c:35:22: error: expected parameter declarator
Date: Thu, 2 Dec 2021 11:38:26 +0800 [thread overview]
Message-ID: <202112021105.QvF3rmir-lkp@intel.com> (raw)
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
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [arnd-playground:randconfig-5.16-min 83/191] drivers/gpu/drm/i915/i915_pci.c:35:22: error: expected parameter declarator
Date: Thu, 02 Dec 2021 11:38:26 +0800 [thread overview]
Message-ID: <202112021105.QvF3rmir-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 3638 bytes --]
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(a)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(a)lists.01.org
next reply other threads:[~2021-12-02 3:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-02 3:38 kernel test robot [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202112021105.QvF3rmir-lkp@intel.com \
--to=lkp@intel.com \
--cc=arnd@arndb.de \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=llvm@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.