From: kernel test robot <lkp@intel.com>
To: oe-kbuild@lists.linux.dev
Cc: lkp@intel.com
Subject: [dwmw2:vgic-iidr-group-fixes 3/3] include/kvm_util.h:1139:16: warning: passing argument 1 of 'memcpy' discards 'volatile' qualifier from pointer target type
Date: Wed, 08 Apr 2026 06:45:19 +0200 [thread overview]
Message-ID: <202604080614.wKKMYdgW-lkp@intel.com> (raw)
::::::
:::::: Manual check reason: "low confidence bisect report"
::::::
BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
TO: David Woodhouse <dwmw@amazon.co.uk>
tree: git://git.infradead.org/users/dwmw2/linux vgic-iidr-group-fixes
head: 89879757040970ab272f17b4ec2fb7d6a7986372
commit: c1ec22a93f919c6d3bee511832ca8422f9e61471 [3/3] KVM: arm64: selftests: Add vgic IIDR revision test
:::::: branch date: 8 hours ago
:::::: commit date: 9 hours ago
config: arm64-allnoconfig-bpf (https://download.01.org/0day-ci/archive/20260408/202604080614.wKKMYdgW-lkp@intel.com/config)
compiler: aarch64-linux-gnu-gcc (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260408/202604080614.wKKMYdgW-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/r/202604080614.wKKMYdgW-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from arm64/vgic_group_iidr.c:13:
arm64/vgic_group_iidr.c: In function 'run_test':
>> include/kvm_util.h:1139:16: warning: passing argument 1 of 'memcpy' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
1139 | memcpy(_p, &(g), sizeof(g)); \
| ^~
arm64/vgic_group_iidr.c:87:9: note: in expansion of macro 'sync_global_to_guest'
87 | sync_global_to_guest(vm, shared_rev);
| ^~~~~~~~~~~~~~~~~~~~
In file included from include/test_util.h:17,
from arm64/vgic_group_iidr.c:12:
/usr/aarch64-linux-gnu/include/string.h:43:39: note: expected 'void * restrict' but argument is of type 'volatile uint64_t *' {aka 'volatile long unsigned int *'}
43 | extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
| ~~~~~~~~~~~~~~~~~^~~~~~
include/kvm_util.h:1139:20: warning: passing argument 2 of 'memcpy' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
1139 | memcpy(_p, &(g), sizeof(g)); \
| ^~~~
arm64/vgic_group_iidr.c:87:9: note: in expansion of macro 'sync_global_to_guest'
87 | sync_global_to_guest(vm, shared_rev);
| ^~~~~~~~~~~~~~~~~~~~
/usr/aarch64-linux-gnu/include/string.h:43:70: note: expected 'const void * restrict' but argument is of type 'volatile uint64_t *' {aka 'volatile long unsigned int *'}
43 | extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~
>> include/kvm_util.h:1139:16: warning: passing argument 1 of 'memcpy' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
1139 | memcpy(_p, &(g), sizeof(g)); \
| ^~
arm64/vgic_group_iidr.c:89:9: note: in expansion of macro 'sync_global_to_guest'
89 | sync_global_to_guest(vm, shared_rev);
| ^~~~~~~~~~~~~~~~~~~~
/usr/aarch64-linux-gnu/include/string.h:43:39: note: expected 'void * restrict' but argument is of type 'volatile uint64_t *' {aka 'volatile long unsigned int *'}
43 | extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
| ~~~~~~~~~~~~~~~~~^~~~~~
include/kvm_util.h:1139:20: warning: passing argument 2 of 'memcpy' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
1139 | memcpy(_p, &(g), sizeof(g)); \
| ^~~~
arm64/vgic_group_iidr.c:89:9: note: in expansion of macro 'sync_global_to_guest'
89 | sync_global_to_guest(vm, shared_rev);
| ^~~~~~~~~~~~~~~~~~~~
/usr/aarch64-linux-gnu/include/string.h:43:70: note: expected 'const void * restrict' but argument is of type 'volatile uint64_t *' {aka 'volatile long unsigned int *'}
43 | extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~
At top level:
cc1: note: unrecognized command-line option '-Wno-gnu-variable-sized-type-not-at-end' may have been intended to silence earlier diagnostics
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next reply other threads:[~2026-04-08 4:45 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-08 4:45 kernel test robot [this message]
-- strict thread matches above, loose matches on Subject: below --
2026-04-08 6:29 [dwmw2:vgic-iidr-group-fixes 3/3] include/kvm_util.h:1139:16: warning: passing argument 1 of 'memcpy' discards 'volatile' qualifier from pointer target type 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=202604080614.wKKMYdgW-lkp@intel.com \
--to=lkp@intel.com \
--cc=oe-kbuild@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.