From: kernel test robot <lkp@intel.com>
To: Sami Tolvanen <samitolvanen@google.com>
Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org,
Masahiro Yamada <masahiroy@kernel.org>
Subject: include/linux/kvm_host.h:1908:24: warning: field 'desc' with variable sized type 'struct kvm_stats_desc' not at the end of a struct or class is a GNU extension
Date: Mon, 9 Jun 2025 16:50:02 +0800 [thread overview]
Message-ID: <202506091622.dOo1Na3X-lkp@intel.com> (raw)
Hi Sami,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 19272b37aa4f83ca52bdf9c16d5d81bdd1354494
commit: 9c3681f9b9fd12cdbc4a542df599f1837512f3d5 kbuild: Add gendwarfksyms as an alternative to genksyms
date: 5 months ago
config: s390-randconfig-r132-20250609 (https://download.01.org/0day-ci/archive/20250609/202506091622.dOo1Na3X-lkp@intel.com/config)
compiler: clang version 21.0.0git (https://github.com/llvm/llvm-project f819f46284f2a79790038e1f6649172789734ae8)
reproduce: (https://download.01.org/0day-ci/archive/20250609/202506091622.dOo1Na3X-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202506091622.dOo1Na3X-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from <stdin>:3:
In file included from arch/s390/include/asm/asm-prototypes.h:4:
>> include/linux/kvm_host.h:1908:24: warning: field 'desc' with variable sized type 'struct kvm_stats_desc' not at the end of a struct or class is a GNU extension [-Wgnu-variable-sized-type-not-at-end]
1908 | struct kvm_stats_desc desc;
| ^
1 warning generated.
error: gendwarfksyms: process_module: dwarf_get_units failed: no debugging information?
vim +1908 include/linux/kvm_host.h
09cbcef6c60e77 Milan Pandurov 2019-12-13 1906
cb082bfab59a22 Jing Zhang 2021-06-18 1907 struct _kvm_stats_desc {
cb082bfab59a22 Jing Zhang 2021-06-18 @1908 struct kvm_stats_desc desc;
cb082bfab59a22 Jing Zhang 2021-06-18 1909 char name[KVM_STATS_NAME_SIZE];
cb082bfab59a22 Jing Zhang 2021-06-18 1910 };
cb082bfab59a22 Jing Zhang 2021-06-18 1911
:::::: The code at line 1908 was first introduced by commit
:::::: cb082bfab59a224a49ae803fed52cd03e8d6b5e0 KVM: stats: Add fd-based API to read binary stats data
:::::: TO: Jing Zhang <jingzhangos@google.com>
:::::: CC: Paolo Bonzini <pbonzini@redhat.com>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next reply other threads:[~2025-06-09 8:50 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-06-09 8:50 kernel test robot [this message]
2025-06-09 16:35 ` Sami Tolvanen
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=202506091622.dOo1Na3X-lkp@intel.com \
--to=lkp@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=masahiroy@kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=samitolvanen@google.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®