From: kernel test robot <lkp@intel.com>
To: "Derek J. Clark" <derekjohn.clark@gmail.com>,
"Hans de Goede" <hdegoede@redhat.com>,
"Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>
Cc: oe-kbuild-all@lists.linux.dev, Armin Wolf <W_Armin@gmx.de>,
Jonathan Corbet <corbet@lwn.net>,
Mario Limonciello <superm1@kernel.org>,
Luke Jones <luke@ljones.dev>, Xino Ni <nijs1@lenovo.com>,
Zhixin Zhang <zhangzx36@lenovo.com>,
Mia Shao <shaohz1@lenovo.com>,
Mark Pearson <mpearson-lenovo@squebb.ca>,
"Pierre-Loup A . Griffais" <pgriffais@valvesoftware.com>,
"Cody T . -H . Chiu" <codyit@gmail.com>,
John Martens <johnfanv2@gmail.com>,
"Derek J . Clark" <derekjohn.clark@gmail.com>,
platform-driver-x86@vger.kernel.org, linux-doc@vger.kernel.org,
linux-kernel@vger.kernel.org,
Alok Tiwari <alok.a.tiwari@oracle.com>
Subject: Re: [PATCH v8 6/6] platform/x86: Add Lenovo Other Mode WMI Driver
Date: Fri, 9 May 2025 05:53:32 +0800 [thread overview]
Message-ID: <202505090501.4WrdCVBb-lkp@intel.com> (raw)
In-Reply-To: <20250505010659.1450984-7-derekjohn.clark@gmail.com>
Hi Derek,
kernel test robot noticed the following build warnings:
[auto build test WARNING on amd-pstate/linux-next]
[also build test WARNING on amd-pstate/bleeding-edge linus/master v6.15-rc5 next-20250508]
[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/Derek-J-Clark/platform-x86-Add-lenovo-wmi-driver-Documentation/20250505-123422
base: https://git.kernel.org/pub/scm/linux/kernel/git/superm1/linux.git linux-next
patch link: https://lore.kernel.org/r/20250505010659.1450984-7-derekjohn.clark%40gmail.com
patch subject: [PATCH v8 6/6] platform/x86: Add Lenovo Other Mode WMI Driver
config: i386-randconfig-r133-20250508 (https://download.01.org/0day-ci/archive/20250509/202505090501.4WrdCVBb-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250509/202505090501.4WrdCVBb-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/202505090501.4WrdCVBb-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
>> drivers/platform/x86/lenovo-wmi-gamezone.c:128:38: sparse: sparse: Using plain integer as NULL pointer
drivers/platform/x86/lenovo-wmi-gamezone.c:142:38: sparse: sparse: Using plain integer as NULL pointer
drivers/platform/x86/lenovo-wmi-gamezone.c:155:12: sparse: sparse: context imbalance in 'lwmi_gz_profile_get' - different lock contexts for basic block
drivers/platform/x86/lenovo-wmi-gamezone.c:206:12: sparse: sparse: context imbalance in 'lwmi_gz_profile_set' - different lock contexts for basic block
vim +128 drivers/platform/x86/lenovo-wmi-gamezone.c
fc3651e7b6ebda Derek J. Clark 2025-05-04 115
fc3651e7b6ebda Derek J. Clark 2025-05-04 116 /**
fc3651e7b6ebda Derek J. Clark 2025-05-04 117 * lwmi_gz_thermal_mode_supported() - Get the version of the WMI
fc3651e7b6ebda Derek J. Clark 2025-05-04 118 * interface to determine the support level.
fc3651e7b6ebda Derek J. Clark 2025-05-04 119 * @wdev: The Gamezone WMI device.
fc3651e7b6ebda Derek J. Clark 2025-05-04 120 * @supported: Pointer to return the support level with.
fc3651e7b6ebda Derek J. Clark 2025-05-04 121 *
fc3651e7b6ebda Derek J. Clark 2025-05-04 122 * Return: 0 on success, or an error code.
fc3651e7b6ebda Derek J. Clark 2025-05-04 123 */
fc3651e7b6ebda Derek J. Clark 2025-05-04 124 static int lwmi_gz_thermal_mode_supported(struct wmi_device *wdev,
fc3651e7b6ebda Derek J. Clark 2025-05-04 125 int *supported)
fc3651e7b6ebda Derek J. Clark 2025-05-04 126 {
fc3651e7b6ebda Derek J. Clark 2025-05-04 127 return lwmi_dev_evaluate_int(wdev, 0x0, LWMI_GZ_METHOD_ID_SMARTFAN_SUP,
fc3651e7b6ebda Derek J. Clark 2025-05-04 @128 0, 0, supported);
fc3651e7b6ebda Derek J. Clark 2025-05-04 129 }
fc3651e7b6ebda Derek J. Clark 2025-05-04 130
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
prev parent reply other threads:[~2025-05-08 21:53 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-05 1:06 [PATCH v8 0/6] platform/x86: Add Lenovo WMI Gaming Series Drivers Derek J. Clark
2025-05-05 1:06 ` [PATCH v8 1/6] platform/x86: Add lenovo-wmi-* driver Documentation Derek J. Clark
2025-05-06 10:49 ` ALOK TIWARI
2025-05-06 12:12 ` Armin Wolf
2025-05-06 12:43 ` ALOK TIWARI
2025-05-05 1:06 ` [PATCH v8 2/6] platform/x86: Add lenovo-wmi-helpers Derek J. Clark
2025-05-06 11:22 ` ALOK TIWARI
2025-05-05 1:06 ` [PATCH v8 3/6] platform/x86: Add Lenovo WMI Events Driver Derek J. Clark
2025-05-06 11:39 ` ALOK TIWARI
2025-05-05 1:06 ` [PATCH v8 4/6] platform/x86: Add Lenovo Capability Data 01 WMI Driver Derek J. Clark
2025-05-05 1:32 ` Armin Wolf
2025-05-05 3:41 ` Derek J. Clark
2025-05-05 1:06 ` [PATCH v8 5/6] platform/x86: Add Lenovo Gamezone " Derek J. Clark
2025-05-06 12:40 ` ALOK TIWARI
2025-05-06 14:03 ` Kurt Borja
2025-05-05 1:06 ` [PATCH v8 6/6] platform/x86: Add Lenovo Other Mode " Derek J. Clark
2025-05-06 14:07 ` Kurt Borja
2025-05-08 21: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=202505090501.4WrdCVBb-lkp@intel.com \
--to=lkp@intel.com \
--cc=W_Armin@gmx.de \
--cc=alok.a.tiwari@oracle.com \
--cc=codyit@gmail.com \
--cc=corbet@lwn.net \
--cc=derekjohn.clark@gmail.com \
--cc=hdegoede@redhat.com \
--cc=ilpo.jarvinen@linux.intel.com \
--cc=johnfanv2@gmail.com \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=luke@ljones.dev \
--cc=mpearson-lenovo@squebb.ca \
--cc=nijs1@lenovo.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=pgriffais@valvesoftware.com \
--cc=platform-driver-x86@vger.kernel.org \
--cc=shaohz1@lenovo.com \
--cc=superm1@kernel.org \
--cc=zhangzx36@lenovo.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;
as well as URLs for NNTP newsgroup(s).