From: kernel test robot <lkp@intel.com>
To: "Mike Rapoport (Microsoft)" <rppt@kernel.org>
Cc: 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" redefined
Date: Tue, 19 May 2026 06:42:42 +0800 [thread overview]
Message-ID: <202605190517.ZuzmIxXP-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-kunit (https://download.01.org/0day-ci/archive/20260519/202605190517.ZuzmIxXP-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260519/202605190517.ZuzmIxXP-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/202605190517.ZuzmIxXP-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> arch/x86/kvm/vmx/sgx.c:4:9: warning: "pr_fmt" redefined
4 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
| ^~~~~~
In file included from include/asm-generic/bug.h:31,
from arch/x86/include/asm/bug.h:193,
from include/linux/bug.h:5,
from include/linux/slab.h:15,
from arch/x86/kvm/vmx/sgx.c:1:
include/linux/printk.h:401:9: note: this is the location of the previous definition
401 | #define pr_fmt(fmt) fmt
| ^~~~~~
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-18 22:42 kernel test robot [this message]
-- strict thread matches above, loose matches on Subject: below --
2026-05-18 22:10 [rppt:gfp-to-kmalloc/v0.1 76/238] arch/x86/kvm/vmx/sgx.c:4:9: warning: "pr_fmt" 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=202605190517.ZuzmIxXP-lkp@intel.com \
--to=lkp@intel.com \
--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 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.