Re: [PATCH 1/8] platform/x86: isst_if_mmio: switch to devm_mutex_init()
From: kernel test robot
Date: Sat Oct 31 2026 - 05:05:02 EST
Hi,
kernel test robot noticed the following build warnings:
[auto build test WARNING on linus/master]
[also build test WARNING on v7.3 next-20261030]
[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/chitranshmandhaniya-gmail-com/platform-x86-isst_if_mmio-switch-to-devm_mutex_init/20261030-135255
base: linus/master
patch link: https://lore.kernel.org/r/20261030082303.284271-2-chitranshmandhaniya%40gmail.com
patch subject: [PATCH 1/8] platform/x86: isst_if_mmio: switch to devm_mutex_init()
config: x86_64-randconfig-1001-20261031 (https://download.01.org/0day-ci/archive/20261031/202610311637.I3TdahBR-lkp@xxxxxxxxx/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/20261031/202610311637.I3TdahBR-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202610311637.I3TdahBR-lkp@xxxxxxxxx/
All warnings (new ones prefixed by >>):
drivers/platform/x86/intel/speed_select_if/isst_if_mmio.c: In function 'isst_if_remove':
>> drivers/platform/x86/intel/speed_select_if/isst_if_mmio.c:142:32: warning: variable 'punit_dev' set but not used [-Wunused-but-set-variable]
142 | struct isst_if_device *punit_dev;
| ^~~~~~~~~
vim +/punit_dev +142 drivers/platform/x86/intel/speed_select_if/isst_if_mmio.c
d3a23584294c1f drivers/platform/x86/intel_speed_select_if/isst_if_mmio.c Srinivas Pandruvada 2019-06-26 139
d3a23584294c1f drivers/platform/x86/intel_speed_select_if/isst_if_mmio.c Srinivas Pandruvada 2019-06-26 140 static void isst_if_remove(struct pci_dev *pdev)
d3a23584294c1f drivers/platform/x86/intel_speed_select_if/isst_if_mmio.c Srinivas Pandruvada 2019-06-26 141 {
d3a23584294c1f drivers/platform/x86/intel_speed_select_if/isst_if_mmio.c Srinivas Pandruvada 2019-06-26 @142 struct isst_if_device *punit_dev;
d3a23584294c1f drivers/platform/x86/intel_speed_select_if/isst_if_mmio.c Srinivas Pandruvada 2019-06-26 143
d3a23584294c1f drivers/platform/x86/intel_speed_select_if/isst_if_mmio.c Srinivas Pandruvada 2019-06-26 144 punit_dev = pci_get_drvdata(pdev);
6cc8f6598978b8 drivers/platform/x86/intel_speed_select_if/isst_if_mmio.c Srinivas Pandruvada 2020-03-03 145 isst_if_cdev_unregister(ISST_IF_DEV_MMIO);
d3a23584294c1f drivers/platform/x86/intel_speed_select_if/isst_if_mmio.c Srinivas Pandruvada 2019-06-26 146 }
d3a23584294c1f drivers/platform/x86/intel_speed_select_if/isst_if_mmio.c Srinivas Pandruvada 2019-06-26 147
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki