Re: [PATCH 2/8] platform/x86: isst_if_mbox_pci: switch to devm_mutex_init()
From: kernel test robot
Date: Sat Oct 31 2026 - 12:00:56 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-3-chitranshmandhaniya%40gmail.com
patch subject: [PATCH 2/8] platform/x86: isst_if_mbox_pci: switch to devm_mutex_init()
config: x86_64-randconfig-1001-20261031 (https://download.01.org/0day-ci/archive/20261031/202610312321.ZcUHUnej-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/202610312321.ZcUHUnej-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/202610312321.ZcUHUnej-lkp@xxxxxxxxx/
All warnings (new ones prefixed by >>):
drivers/platform/x86/intel/speed_select_if/isst_if_mbox_pci.c: In function 'isst_if_mbox_remove':
>> drivers/platform/x86/intel/speed_select_if/isst_if_mbox_pci.c:198:32: warning: variable 'punit_dev' set but not used [-Wunused-but-set-variable]
198 | struct isst_if_device *punit_dev;
| ^~~~~~~~~
vim +/punit_dev +198 drivers/platform/x86/intel/speed_select_if/isst_if_mbox_pci.c
31a166fe9c269af drivers/platform/x86/intel_speed_select_if/isst_if_mbox_pci.c Srinivas Pandruvada 2019-06-26 195
31a166fe9c269af drivers/platform/x86/intel_speed_select_if/isst_if_mbox_pci.c Srinivas Pandruvada 2019-06-26 196 static void isst_if_mbox_remove(struct pci_dev *pdev)
31a166fe9c269af drivers/platform/x86/intel_speed_select_if/isst_if_mbox_pci.c Srinivas Pandruvada 2019-06-26 197 {
31a166fe9c269af drivers/platform/x86/intel_speed_select_if/isst_if_mbox_pci.c Srinivas Pandruvada 2019-06-26 @198 struct isst_if_device *punit_dev;
31a166fe9c269af drivers/platform/x86/intel_speed_select_if/isst_if_mbox_pci.c Srinivas Pandruvada 2019-06-26 199
31a166fe9c269af drivers/platform/x86/intel_speed_select_if/isst_if_mbox_pci.c Srinivas Pandruvada 2019-06-26 200 punit_dev = pci_get_drvdata(pdev);
31a166fe9c269af drivers/platform/x86/intel_speed_select_if/isst_if_mbox_pci.c Srinivas Pandruvada 2019-06-26 201 isst_if_cdev_unregister(ISST_IF_DEV_MBOX);
31a166fe9c269af drivers/platform/x86/intel_speed_select_if/isst_if_mbox_pci.c Srinivas Pandruvada 2019-06-26 202 }
31a166fe9c269af drivers/platform/x86/intel_speed_select_if/isst_if_mbox_pci.c Srinivas Pandruvada 2019-06-26 203
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki