From: kernel test robot <lkp@intel.com>
To: Mark Pearson <mpearson-lenovo@squebb.ca>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
derekjohn.clark@gmail.com, i@rong.moe, hansg@kernel.org,
ilpo.jarvinen@linux.intel.com,
platform-driver-x86@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 05/13] platform/x86: lenovo: tlmi: New tlmi driver for common WMI implementation
Date: Sat, 5 Dec 2026 17:54:56 +0800 [thread overview]
Message-ID: <20261204204204.q82KETVp-lkp@intel.com> (raw)
In-Reply-To: <20261204022032.3074618-6-mpearson-lenovo@squebb.ca>
Hi Mark,
kernel test robot noticed the following build errors:
[auto build test ERROR on linus/master]
[also build test ERROR on v7.4-rc5 next-20261203]
[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/Mark-Pearson/platform-x86-lenovo-think-lmi-Convert-name-arrays-to-pointers/20261203-212010
base: linus/master
patch link: https://lore.kernel.org/r/20261204022032.3074618-6-mpearson-lenovo%40squebb.ca
patch subject: [PATCH 05/13] platform/x86: lenovo: tlmi: New tlmi driver for common WMI implementation
config: i386-randconfig-1006-20261204 (https://download.01.org/0day-ci/archive/20261204/20261204204204.q82KETVp-lkp@intel.com/config)
compiler: clang version 22.1.8 (https://github.com/llvm/llvm-project ca7933e47d3a3451d81e72ac174dcb5aa28b59d1)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261204/20261204204204.q82KETVp-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/20261204204204.q82KETVp-lkp@intel.com/
All errors (new ones prefixed by >>):
>> drivers/platform/x86/lenovo/tlmi-config.c:73:66: error: call to undeclared function 'MKDEV'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
73 | td->class_dev = device_create(&firmware_attributes_class, NULL, MKDEV(0, 0),
| ^
1 error generated.
vim +/MKDEV +73 drivers/platform/x86/lenovo/tlmi-config.c
52
53 static int tlmi_config_probe(struct wmi_device *wdev, const void *context)
54 {
55 struct component_match *match = NULL;
56 guid_t tlmi_attr_guid;
57 struct think_lmi *td;
58 int ret;
59
60 guid_parse(TLMI_ATTRIBUTE_GUID, &tlmi_attr_guid);
61
62 /* At minimum need to support BIOS settings */
63 if (!wmidev_exists(&tlmi_attr_guid))
64 return -EOPNOTSUPP;
65
66 td = devm_kzalloc(&wdev->dev, sizeof(struct think_lmi), GFP_KERNEL);
67 if (!td)
68 return -ENOMEM;
69
70 td->config_wdev = wdev;
71 dev_set_drvdata(&wdev->dev, td);
72
> 73 td->class_dev = device_create(&firmware_attributes_class, NULL, MKDEV(0, 0),
74 NULL, "%s", "tlmi");
75 if (IS_ERR(td->class_dev))
76 return PTR_ERR(td->class_dev);
77 dev_set_drvdata(td->class_dev, td);
78
79 /* Register the other components */
80 tlmi_attr_match_add(&wdev->dev, &match);
81
82 ret = component_master_add_with_match(&wdev->dev, &aggregate_ops, match);
83 if (ret)
84 device_unregister(td->class_dev);
85
86 return ret;
87 }
88
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2026-12-05 9:56 UTC|newest]
Thread overview: 43+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-04 2:20 [PATCH 00/13] New Lenovo common WMI driver - tlmi Mark Pearson
2026-12-04 2:20 ` [PATCH 01/13] platform/x86: lenovo: think-lmi: Convert name arrays to pointers Mark Pearson
2026-12-04 2:20 ` [PATCH 02/13] platform/x86: lenovo: think-lmi: Clean up attributes if not added to list Mark Pearson
2026-12-04 13:20 ` Rong Zhang
2026-12-04 15:09 ` Mark Pearson
2026-12-04 2:20 ` [PATCH 03/13] platform/x86: lenovo: think-lmi: cache current value at init Mark Pearson
2026-12-04 13:28 ` Rong Zhang
2026-12-04 15:14 ` Mark Pearson
2026-12-04 2:20 ` [PATCH 04/13] platform/x86: lenovo: think-lmi: store attributes as linked list Mark Pearson
2026-12-04 13:30 ` Rong Zhang
2026-12-04 15:21 ` Mark Pearson
2026-12-04 16:10 ` Rong Zhang
2026-12-04 2:20 ` [PATCH 05/13] platform/x86: lenovo: tlmi: New tlmi driver for common WMI implementation Mark Pearson
2026-12-04 13:41 ` Rong Zhang
2026-12-04 15:27 ` Mark Pearson
2026-12-05 9:54 ` kernel test robot [this message]
2026-12-05 9:55 ` kernel test robot
2026-12-04 2:20 ` [PATCH 06/13] platform/x86: lenovo: tlmi: Add BIOS attributes sysfs entries Mark Pearson
2026-12-04 13:44 ` Rong Zhang
2026-12-04 15:41 ` Mark Pearson
2026-12-04 17:02 ` Rong Zhang
2026-12-04 2:20 ` [PATCH 07/13] platform/x86: lenovo: tlmi: Retrieve auth information Mark Pearson
2026-12-04 13:48 ` Rong Zhang
2026-12-04 15:44 ` Mark Pearson
2026-12-04 17:14 ` Rong Zhang
2026-12-04 17:26 ` Mark Pearson
2026-12-04 2:20 ` [PATCH 08/13] platform/x86: lenovo: Move TLMI helper functions into wmi-helpers Mark Pearson
2026-12-04 13:49 ` Rong Zhang
2026-12-04 15:50 ` Mark Pearson
2026-12-04 17:19 ` Rong Zhang
2026-12-04 17:27 ` Mark Pearson
2026-12-04 2:20 ` [PATCH 09/13] platform/x86: lenovo: tlmi: Add authentication sysfs entries Mark Pearson
2026-12-04 13:52 ` Rong Zhang
2026-12-05 9:55 ` kernel test robot
2026-12-04 2:20 ` [PATCH 10/13] platform/x86: lenovo: tlmi: Add platform attribute support Mark Pearson
2026-12-04 2:20 ` [PATCH 11/13] platform/x86: lenovo: tlmi: Add function attributes support Mark Pearson
2026-12-04 2:20 ` [PATCH 12/13] platform/x86: lenovo: tlmi: Add method identifier Mark Pearson
2026-12-04 2:20 ` [PATCH 13/13] docs: ABI: sysfs-class-firmware-attributes: Update Lenovo sections Mark Pearson
2026-12-04 13:19 ` [PATCH 00/13] New Lenovo common WMI driver - tlmi Rong Zhang
2026-12-04 14:42 ` Mark Pearson
2026-12-04 17:49 ` Rong Zhang
2026-12-04 18:22 ` Mark Pearson
2026-12-04 20:04 ` Rong Zhang
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=20261204204204.q82KETVp-lkp@intel.com \
--to=lkp@intel.com \
--cc=derekjohn.clark@gmail.com \
--cc=hansg@kernel.org \
--cc=i@rong.moe \
--cc=ilpo.jarvinen@linux.intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=llvm@lists.linux.dev \
--cc=mpearson-lenovo@squebb.ca \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=platform-driver-x86@vger.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
all inboxes | Powered by JetHome®