From: kernel test robot <lkp@intel.com>
To: "Mario Limonciello (AMD)" <superm1@kernel.org>,
Yazen Ghannam <yazen.ghannam@amd.com>,
Jean Delvare <jdelvare@suse.com>
Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org,
Borislav Petkov <bp@alien8.de>,
"Mario Limonciello (AMD)" <superm1@kernel.org>
Subject: Re: [PATCH v4 6/6] x86/CPU/AMD: Print AGESA string from DMI additional information entry
Date: Thu, 22 Jan 2026 02:53:39 +0800 [thread overview]
Message-ID: <202601220139.ymxKIu3a-lkp@intel.com> (raw)
In-Reply-To: <20260121060431.432350-7-superm1@kernel.org>
Hi Mario,
kernel test robot noticed the following build warnings:
[auto build test WARNING on tip/x86/core]
[also build test WARNING on tip/master linus/master v6.19-rc6 next-20260120]
[cannot apply to jdelvare-staging/dmi-for-next bp/for-next tip/auto-latest]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Mario-Limonciello-AMD/firmware-dmi-Correct-an-indexing-error-in-dmi-h/20260121-140800
base: tip/x86/core
patch link: https://lore.kernel.org/r/20260121060431.432350-7-superm1%40kernel.org
patch subject: [PATCH v4 6/6] x86/CPU/AMD: Print AGESA string from DMI additional information entry
config: i386-buildonly-randconfig-003-20260121 (https://download.01.org/0day-ci/archive/20260122/202601220139.ymxKIu3a-lkp@intel.com/config)
compiler: gcc-13 (Debian 13.3.0-16) 13.3.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260122/202601220139.ymxKIu3a-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/202601220139.ymxKIu3a-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from arch/x86/kernel/cpu/amd.c:6:
include/linux/dmi.h: In function 'dmi_string_nosave':
include/linux/dmi.h:173:71: error: 'dmi_empty_string' undeclared (first use in this function)
173 | dmi_string_nosave(const struct dmi_header *dm, u8 s) { return dmi_empty_string; }
| ^~~~~~~~~~~~~~~~
include/linux/dmi.h:173:71: note: each undeclared identifier is reported only once for each function it appears in
>> include/linux/dmi.h:173:89: warning: control reaches end of non-void function [-Wreturn-type]
173 | dmi_string_nosave(const struct dmi_header *dm, u8 s) { return dmi_empty_string; }
| ^
vim +173 include/linux/dmi.h
141
142 static inline int dmi_check_system(const struct dmi_system_id *list) { return 0; }
143 static inline const char * dmi_get_system_info(int field) { return NULL; }
144 static inline const struct dmi_device * dmi_find_device(int type, const char *name,
145 const struct dmi_device *from) { return NULL; }
146 static inline void dmi_setup(void) { }
147 static inline bool dmi_get_date(int field, int *yearp, int *monthp, int *dayp)
148 {
149 if (yearp)
150 *yearp = 0;
151 if (monthp)
152 *monthp = 0;
153 if (dayp)
154 *dayp = 0;
155 return false;
156 }
157 static inline int dmi_get_bios_year(void) { return -ENXIO; }
158 static inline int dmi_name_in_vendors(const char *s) { return 0; }
159 static inline int dmi_name_in_serial(const char *s) { return 0; }
160 #define dmi_available 0
161 static inline int dmi_walk(void (*decode)(const struct dmi_header *, void *),
162 void *private_data) { return -ENXIO; }
163 static inline bool dmi_match(enum dmi_field f, const char *str)
164 { return false; }
165 static inline void dmi_memdev_name(u16 handle, const char **bank,
166 const char **device) { }
167 static inline u64 dmi_memdev_size(u16 handle) { return ~0ul; }
168 static inline u8 dmi_memdev_type(u16 handle) { return 0x0; }
169 static inline u16 dmi_memdev_handle(int slot) { return 0xffff; }
170 static inline const struct dmi_system_id *
171 dmi_first_match(const struct dmi_system_id *list) { return NULL; }
172 static inline const char *
> 173 dmi_string_nosave(const struct dmi_header *dm, u8 s) { return dmi_empty_string; }
174
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
prev parent reply other threads:[~2026-01-21 18:53 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-21 6:04 [PATCH v4 0/6] Print AGESA version at bootup Mario Limonciello (AMD)
2026-01-21 6:04 ` [PATCH v4 1/6] firmware: dmi: Correct an indexing error in dmi.h Mario Limonciello (AMD)
2026-01-21 6:04 ` [PATCH v4 2/6] firmware: dmi: Adjust dmi_decode() to use enums Mario Limonciello (AMD)
2026-01-21 6:04 ` [PATCH v4 3/6] firmware: dmi: Add missing DMI entry types Mario Limonciello (AMD)
2026-01-21 6:04 ` [PATCH v4 4/6] firmware: dmi: Add pr_fmt() for dmi_scan.c Mario Limonciello (AMD)
2026-01-21 6:04 ` [PATCH v4 5/6] x86/CPU/AMD: Prefix messages with x86/amd Mario Limonciello (AMD)
2026-01-21 10:49 ` Borislav Petkov
2026-01-21 14:28 ` Mario Limonciello (AMD) (kernel.org)
2026-01-21 14:37 ` Borislav Petkov
2026-01-21 6:04 ` [PATCH v4 6/6] x86/CPU/AMD: Print AGESA string from DMI additional information entry Mario Limonciello (AMD)
2026-01-21 11:30 ` kernel test robot
2026-01-21 14:26 ` Yazen Ghannam
2026-01-21 14:28 ` Mario Limonciello (AMD) (kernel.org)
2026-01-21 20:50 ` Mario Limonciello
2026-01-21 21:30 ` Yazen Ghannam
2026-01-21 22:06 ` Mario Limonciello (AMD) (kernel.org)
2026-01-21 15:44 ` kernel test robot
2026-01-21 18:53 ` kernel test robot [this message]
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=202601220139.ymxKIu3a-lkp@intel.com \
--to=lkp@intel.com \
--cc=bp@alien8.de \
--cc=jdelvare@suse.com \
--cc=linux-kernel@vger.kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=superm1@kernel.org \
--cc=yazen.ghannam@amd.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®