From: kernel test robot <lkp@intel.com>
To: "Mike Rapoport (Microsoft)" <rppt@kernel.org>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: [rppt:gfp-to-kmalloc/v0.1 76/238] arch/x86/kvm/vmx/sgx.c:4:9: warning: 'pr_fmt' macro redefined
Date: Tue, 19 May 2026 08:33:32 +0800 [thread overview]
Message-ID: <202605190859.5TIBA761-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/rppt/linux.git gfp-to-kmalloc/v0.1
head: cf8f69ff9142effba4d8d9a70a1a4f275044376c
commit: 9f39e5e1674188b92a32f709a9c3225553110dc0 [76/238] KVM: VMX: replace __get_free_page() with kmalloc()
config: x86_64-rhel-9.4-rust (https://download.01.org/0day-ci/archive/20260519/202605190859.5TIBA761-lkp@intel.com/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
rustc: rustc 1.88.0 (6b00bc388 2025-06-23)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260519/202605190859.5TIBA761-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/202605190859.5TIBA761-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> arch/x86/kvm/vmx/sgx.c:4:9: warning: 'pr_fmt' macro redefined [-Wmacro-redefined]
4 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
| ^
include/linux/printk.h:401:9: note: previous definition is here
401 | #define pr_fmt(fmt) fmt
| ^
1 warning generated.
vim +/pr_fmt +4 arch/x86/kvm/vmx/sgx.c
8d20bd638167038 Sean Christopherson 2022-11-30 @4 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
9798adbc04cf1b1 Sean Christopherson 2021-04-12 5
:::::: The code at line 4 was first introduced by commit
:::::: 8d20bd6381670382669d9bb39b5fd566a84cdbef KVM: x86: Unify pr_fmt to use module name for all KVM modules
:::::: TO: Sean Christopherson <seanjc@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:[~2026-05-19 2:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-19 0:33 kernel test robot [this message]
-- strict thread matches above, loose matches on Subject: below --
2026-05-19 0:23 [rppt:gfp-to-kmalloc/v0.1 76/238] arch/x86/kvm/vmx/sgx.c:4:9: warning: 'pr_fmt' macro redefined 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=202605190859.5TIBA761-lkp@intel.com \
--to=lkp@intel.com \
--cc=llvm@lists.linux.dev \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=rppt@kernel.org \
/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