* [PATCH 0/8] platform/x86: intel: switch remaining mutex_init() to devm_mutex_init()
@ 2026-10-30 8:22 chitranshmandhaniya
2026-10-30 8:22 ` [PATCH 1/8] platform/x86: isst_if_mmio: switch " chitranshmandhaniya
` (7 more replies)
0 siblings, 8 replies; 11+ messages in thread
From: chitranshmandhaniya @ 2026-10-30 8:22 UTC (permalink / raw)
To: hansg, ilpo.jarvinen
Cc: platform-driver-x86, linux-kernel, Chitransh_Mandhaniya,
srinivas.pandruvada, david.e.box, irenic.rajneesh, qipeng.zha
From: Chitransh Mandhaniya <Chitransh_Mandhaniya@dell.com>
Convert the remaining mutex_init() calls under drivers/platform/x86/intel/
to devm_mutex_init() so the mutex lifecycle is managed by devres. This
removes the need for manual mutex_destroy() calls and fixes several
drivers that were missing mutex_destroy() on the teardown path entirely.
Each patch converts one driver and is independent of the others.
Build-tested on x86_64 with all eight drivers compiled in.
Chitransh Mandhaniya (8):
platform/x86: isst_if_mmio: switch to devm_mutex_init()
platform/x86: isst_if_mbox_pci: switch to devm_mutex_init()
platform/x86: pmt_crashlog: switch to devm_mutex_init()
platform/x86: crystal_cove_charger: switch to devm_mutex_init()
platform/x86: telemetry/pltdrv: switch to devm_mutex_init()
platform/x86: ishtp_eclite: switch to devm_mutex_init()
platform/x86: punit_ipc: switch to devm_mutex_init()
platform/x86: sdsi: switch to devm_mutex_init()
drivers/platform/x86/intel/crystal_cove_charger.c | 4 +++-
drivers/platform/x86/intel/ishtp_eclite.c | 4 +++-
drivers/platform/x86/intel/pmt/crashlog.c | 6 ++++--
drivers/platform/x86/intel/punit_ipc.c | 4 +++-
drivers/platform/x86/intel/sdsi.c | 4 +++-
.../x86/intel/speed_select_if/isst_if_mbox_pci.c | 12 ++++--------
.../x86/intel/speed_select_if/isst_if_mmio.c | 11 ++++-------
drivers/platform/x86/intel/telemetry/pltdrv.c | 8 ++++++--
8 files changed, 30 insertions(+), 23 deletions(-)
--
2.43.0
^ permalink raw reply [flat|nested] 11+ messages in thread
* [PATCH 1/8] platform/x86: isst_if_mmio: switch to devm_mutex_init()
2026-10-30 8:22 [PATCH 0/8] platform/x86: intel: switch remaining mutex_init() to devm_mutex_init() chitranshmandhaniya
@ 2026-10-30 8:22 ` chitranshmandhaniya
2026-10-31 9:02 ` kernel test robot
2026-10-30 8:22 ` [PATCH 2/8] platform/x86: isst_if_mbox_pci: " chitranshmandhaniya
` (6 subsequent siblings)
7 siblings, 1 reply; 11+ messages in thread
From: chitranshmandhaniya @ 2026-10-30 8:22 UTC (permalink / raw)
To: hansg, ilpo.jarvinen
Cc: platform-driver-x86, linux-kernel, Chitransh_Mandhaniya,
srinivas.pandruvada, david.e.box, irenic.rajneesh, qipeng.zha
From: Chitransh Mandhaniya <Chitransh_Mandhaniya@dell.com>
Replace mutex_init() with devm_mutex_init() so the mutex lifecycle is
managed by devres. This removes the need for manual mutex_destroy()
calls in both the error path and the remove callback.
Since the only action on cdev_register failure was mutex_destroy(),
simplify the tail of the probe function to return the registration
result directly.
Signed-off-by: Chitransh Mandhaniya <Chitransh_Mandhaniya@dell.com>
---
.../platform/x86/intel/speed_select_if/isst_if_mmio.c | 11 ++++-------
1 file changed, 4 insertions(+), 7 deletions(-)
diff --git a/drivers/platform/x86/intel/speed_select_if/isst_if_mmio.c b/drivers/platform/x86/intel/speed_select_if/isst_if_mmio.c
index 950ede5eab76..0a3fdf6b8bca 100644
--- a/drivers/platform/x86/intel/speed_select_if/isst_if_mmio.c
+++ b/drivers/platform/x86/intel/speed_select_if/isst_if_mmio.c
@@ -124,7 +124,9 @@ static int isst_if_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
if (IS_ERR(punit_dev->punit_mmio))
return PTR_ERR(punit_dev->punit_mmio);
- mutex_init(&punit_dev->mutex);
+ ret = devm_mutex_init(&pdev->dev, &punit_dev->mutex);
+ if (ret)
+ return ret;
pci_set_drvdata(pdev, punit_dev);
memset(&cb, 0, sizeof(cb));
@@ -132,11 +134,7 @@ static int isst_if_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
cb.offset = offsetof(struct isst_if_io_regs, io_reg);
cb.cmd_callback = isst_if_mmio_rd_wr;
cb.owner = THIS_MODULE;
- ret = isst_if_cdev_register(ISST_IF_DEV_MMIO, &cb);
- if (ret)
- mutex_destroy(&punit_dev->mutex);
-
- return ret;
+ return isst_if_cdev_register(ISST_IF_DEV_MMIO, &cb);
}
static void isst_if_remove(struct pci_dev *pdev)
@@ -145,7 +143,6 @@ static void isst_if_remove(struct pci_dev *pdev)
punit_dev = pci_get_drvdata(pdev);
isst_if_cdev_unregister(ISST_IF_DEV_MMIO);
- mutex_destroy(&punit_dev->mutex);
}
static int __maybe_unused isst_if_suspend(struct device *device)
--
2.43.0
^ permalink raw reply [flat|nested] 11+ messages in thread
* [PATCH 2/8] platform/x86: isst_if_mbox_pci: switch to devm_mutex_init()
2026-10-30 8:22 [PATCH 0/8] platform/x86: intel: switch remaining mutex_init() to devm_mutex_init() chitranshmandhaniya
2026-10-30 8:22 ` [PATCH 1/8] platform/x86: isst_if_mmio: switch " chitranshmandhaniya
@ 2026-10-30 8:22 ` chitranshmandhaniya
2026-10-31 16:00 ` kernel test robot
2026-10-30 8:22 ` [PATCH 3/8] platform/x86: pmt_crashlog: " chitranshmandhaniya
` (5 subsequent siblings)
7 siblings, 1 reply; 11+ messages in thread
From: chitranshmandhaniya @ 2026-10-30 8:22 UTC (permalink / raw)
To: hansg, ilpo.jarvinen
Cc: platform-driver-x86, linux-kernel, Chitransh_Mandhaniya,
srinivas.pandruvada, david.e.box, irenic.rajneesh, qipeng.zha
From: Chitransh Mandhaniya <Chitransh_Mandhaniya@dell.com>
Replace mutex_init() with devm_mutex_init() so the mutex lifecycle is
managed by devres. This removes the need for manual mutex_destroy()
calls in both the error path and the remove callback.
Since the only action on cdev_register failure was mutex_destroy(),
simplify the tail of the probe function to return the registration
result directly.
Signed-off-by: Chitransh Mandhaniya <Chitransh_Mandhaniya@dell.com>
---
.../x86/intel/speed_select_if/isst_if_mbox_pci.c | 12 ++++--------
1 file changed, 4 insertions(+), 8 deletions(-)
diff --git a/drivers/platform/x86/intel/speed_select_if/isst_if_mbox_pci.c b/drivers/platform/x86/intel/speed_select_if/isst_if_mbox_pci.c
index df1fc6c719f3..ea0b396d35cf 100644
--- a/drivers/platform/x86/intel/speed_select_if/isst_if_mbox_pci.c
+++ b/drivers/platform/x86/intel/speed_select_if/isst_if_mbox_pci.c
@@ -180,7 +180,9 @@ static int isst_if_mbox_probe(struct pci_dev *pdev,
if (ret)
return ret;
- mutex_init(&punit_dev->mutex);
+ ret = devm_mutex_init(&pdev->dev, &punit_dev->mutex);
+ if (ret)
+ return ret;
pci_set_drvdata(pdev, punit_dev);
memset(&cb, 0, sizeof(cb));
@@ -188,12 +190,7 @@ static int isst_if_mbox_probe(struct pci_dev *pdev,
cb.offset = offsetof(struct isst_if_mbox_cmds, mbox_cmd);
cb.cmd_callback = isst_if_mbox_proc_cmd;
cb.owner = THIS_MODULE;
- ret = isst_if_cdev_register(ISST_IF_DEV_MBOX, &cb);
-
- if (ret)
- mutex_destroy(&punit_dev->mutex);
-
- return ret;
+ return isst_if_cdev_register(ISST_IF_DEV_MBOX, &cb);
}
static void isst_if_mbox_remove(struct pci_dev *pdev)
@@ -202,7 +199,6 @@ static void isst_if_mbox_remove(struct pci_dev *pdev)
punit_dev = pci_get_drvdata(pdev);
isst_if_cdev_unregister(ISST_IF_DEV_MBOX);
- mutex_destroy(&punit_dev->mutex);
}
static int __maybe_unused isst_if_resume(struct device *device)
--
2.43.0
^ permalink raw reply [flat|nested] 11+ messages in thread
* [PATCH 3/8] platform/x86: pmt_crashlog: switch to devm_mutex_init()
2026-10-30 8:22 [PATCH 0/8] platform/x86: intel: switch remaining mutex_init() to devm_mutex_init() chitranshmandhaniya
2026-10-30 8:22 ` [PATCH 1/8] platform/x86: isst_if_mmio: switch " chitranshmandhaniya
2026-10-30 8:22 ` [PATCH 2/8] platform/x86: isst_if_mbox_pci: " chitranshmandhaniya
@ 2026-10-30 8:22 ` chitranshmandhaniya
2026-10-30 8:22 ` [PATCH 4/8] platform/x86: crystal_cove_charger: " chitranshmandhaniya
` (4 subsequent siblings)
7 siblings, 0 replies; 11+ messages in thread
From: chitranshmandhaniya @ 2026-10-30 8:22 UTC (permalink / raw)
To: hansg, ilpo.jarvinen
Cc: platform-driver-x86, linux-kernel, Chitransh_Mandhaniya,
srinivas.pandruvada, david.e.box, irenic.rajneesh, qipeng.zha
From: Chitransh Mandhaniya <Chitransh_Mandhaniya@dell.com>
Replace mutex_init() with devm_mutex_init() so the mutex lifecycle is
managed by devres. This removes the need for the manual
mutex_destroy() call in pmt_crashlog_remove().
Signed-off-by: Chitransh Mandhaniya <Chitransh_Mandhaniya@dell.com>
---
drivers/platform/x86/intel/pmt/crashlog.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/platform/x86/intel/pmt/crashlog.c b/drivers/platform/x86/intel/pmt/crashlog.c
index d7018b495217..1071320ce6be 100644
--- a/drivers/platform/x86/intel/pmt/crashlog.c
+++ b/drivers/platform/x86/intel/pmt/crashlog.c
@@ -591,13 +591,16 @@ static int pmt_crashlog_pre_decode(struct intel_vsec_device *ivdev,
struct crashlog_entry *crashlog;
u32 version;
u32 type;
+ int ret;
if (!pmt_crashlog_supported(entry, &type, &version))
return 1;
/* initialize the crashlog struct */
crashlog = container_of(entry, struct crashlog_entry, entry);
- mutex_init(&crashlog->control_mutex);
+ ret = devm_mutex_init(&ivdev->auxdev.dev, &crashlog->control_mutex);
+ if (ret)
+ return ret;
crashlog->info = select_crashlog_info(type, version);
entry->attr_grp = crashlog->info->attr_grp;
@@ -641,7 +644,6 @@ static void pmt_crashlog_remove(struct auxiliary_device *auxdev)
struct crashlog_entry *crashlog = &priv->entry[i];
intel_pmt_dev_destroy(&crashlog->entry, &pmt_crashlog_ns);
- mutex_destroy(&crashlog->control_mutex);
}
}
--
2.43.0
^ permalink raw reply [flat|nested] 11+ messages in thread
* [PATCH 4/8] platform/x86: crystal_cove_charger: switch to devm_mutex_init()
2026-10-30 8:22 [PATCH 0/8] platform/x86: intel: switch remaining mutex_init() to devm_mutex_init() chitranshmandhaniya
` (2 preceding siblings ...)
2026-10-30 8:22 ` [PATCH 3/8] platform/x86: pmt_crashlog: " chitranshmandhaniya
@ 2026-10-30 8:22 ` chitranshmandhaniya
2026-10-30 8:22 ` [PATCH 5/8] platform/x86: telemetry/pltdrv: " chitranshmandhaniya
` (3 subsequent siblings)
7 siblings, 0 replies; 11+ messages in thread
From: chitranshmandhaniya @ 2026-10-30 8:22 UTC (permalink / raw)
To: hansg, ilpo.jarvinen
Cc: platform-driver-x86, linux-kernel, Chitransh_Mandhaniya,
srinivas.pandruvada, david.e.box, irenic.rajneesh, qipeng.zha
From: Chitransh Mandhaniya <Chitransh_Mandhaniya@dell.com>
Replace mutex_init() with devm_mutex_init() so the mutex is
automatically destroyed on driver removal via devres. The driver was
missing a mutex_destroy() call on the teardown path.
Signed-off-by: Chitransh Mandhaniya <Chitransh_Mandhaniya@dell.com>
---
drivers/platform/x86/intel/crystal_cove_charger.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/platform/x86/intel/crystal_cove_charger.c b/drivers/platform/x86/intel/crystal_cove_charger.c
index 425c7eb32442..8ecfec2c8369 100644
--- a/drivers/platform/x86/intel/crystal_cove_charger.c
+++ b/drivers/platform/x86/intel/crystal_cove_charger.c
@@ -94,7 +94,9 @@ static int crystal_cove_charger_probe(struct platform_device *pdev)
return -ENOMEM;
charger->regmap = pmic->regmap;
- mutex_init(&charger->buslock);
+ ret = devm_mutex_init(&pdev->dev, &charger->buslock);
+ if (ret)
+ return ret;
charger->irq = platform_get_irq(pdev, 0);
if (charger->irq < 0)
--
2.43.0
^ permalink raw reply [flat|nested] 11+ messages in thread
* [PATCH 5/8] platform/x86: telemetry/pltdrv: switch to devm_mutex_init()
2026-10-30 8:22 [PATCH 0/8] platform/x86: intel: switch remaining mutex_init() to devm_mutex_init() chitranshmandhaniya
` (3 preceding siblings ...)
2026-10-30 8:22 ` [PATCH 4/8] platform/x86: crystal_cove_charger: " chitranshmandhaniya
@ 2026-10-30 8:22 ` chitranshmandhaniya
2026-10-30 8:23 ` [PATCH 6/8] platform/x86: ishtp_eclite: " chitranshmandhaniya
` (2 subsequent siblings)
7 siblings, 0 replies; 11+ messages in thread
From: chitranshmandhaniya @ 2026-10-30 8:22 UTC (permalink / raw)
To: hansg, ilpo.jarvinen
Cc: platform-driver-x86, linux-kernel, Chitransh_Mandhaniya,
srinivas.pandruvada, david.e.box, irenic.rajneesh, qipeng.zha
From: Chitransh Mandhaniya <Chitransh_Mandhaniya@dell.com>
Replace mutex_init() with devm_mutex_init() for both telem_lock and
telem_trace_lock so the mutex lifecycle is managed by devres. The
driver was missing mutex_destroy() calls on the teardown path.
Signed-off-by: Chitransh Mandhaniya <Chitransh_Mandhaniya@dell.com>
---
drivers/platform/x86/intel/telemetry/pltdrv.c | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/drivers/platform/x86/intel/telemetry/pltdrv.c b/drivers/platform/x86/intel/telemetry/pltdrv.c
index d9aa349f81e4..70b74a7c6c71 100644
--- a/drivers/platform/x86/intel/telemetry/pltdrv.c
+++ b/drivers/platform/x86/intel/telemetry/pltdrv.c
@@ -904,8 +904,12 @@ static int telemetry_pltdrv_probe(struct platform_device *pdev)
goto out;
}
- mutex_init(&telm_conf->telem_lock);
- mutex_init(&telm_conf->telem_trace_lock);
+ ret = devm_mutex_init(&pdev->dev, &telm_conf->telem_lock);
+ if (ret)
+ goto out;
+ ret = devm_mutex_init(&pdev->dev, &telm_conf->telem_trace_lock);
+ if (ret)
+ goto out;
ret = telemetry_setup(pdev);
if (ret)
--
2.43.0
^ permalink raw reply [flat|nested] 11+ messages in thread
* [PATCH 6/8] platform/x86: ishtp_eclite: switch to devm_mutex_init()
2026-10-30 8:22 [PATCH 0/8] platform/x86: intel: switch remaining mutex_init() to devm_mutex_init() chitranshmandhaniya
` (4 preceding siblings ...)
2026-10-30 8:22 ` [PATCH 5/8] platform/x86: telemetry/pltdrv: " chitranshmandhaniya
@ 2026-10-30 8:23 ` chitranshmandhaniya
2026-10-30 8:23 ` [PATCH 7/8] platform/x86: punit_ipc: " chitranshmandhaniya
2026-10-30 8:23 ` [PATCH 8/8] platform/x86: sdsi: " chitranshmandhaniya
7 siblings, 0 replies; 11+ messages in thread
From: chitranshmandhaniya @ 2026-10-30 8:23 UTC (permalink / raw)
To: hansg, ilpo.jarvinen
Cc: platform-driver-x86, linux-kernel, Chitransh_Mandhaniya,
srinivas.pandruvada, david.e.box, irenic.rajneesh, qipeng.zha
From: Chitransh Mandhaniya <Chitransh_Mandhaniya@dell.com>
Replace mutex_init() with devm_mutex_init() so the mutex is
automatically destroyed on driver removal via devres. The driver was
missing a mutex_destroy() call on the teardown path.
Signed-off-by: Chitransh Mandhaniya <Chitransh_Mandhaniya@dell.com>
---
drivers/platform/x86/intel/ishtp_eclite.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/platform/x86/intel/ishtp_eclite.c b/drivers/platform/x86/intel/ishtp_eclite.c
index bca7e217878b..d7b10ceeb52c 100644
--- a/drivers/platform/x86/intel/ishtp_eclite.c
+++ b/drivers/platform/x86/intel/ishtp_eclite.c
@@ -585,7 +585,9 @@ static int ecl_ishtp_cl_probe(struct ishtp_cl_device *cl_device)
dev_dbg(cl_data_to_dev(opr_dev), "eclite-ishtp client initialised\n");
opr_dev->ish_link_ready = true;
- mutex_init(&opr_dev->lock);
+ rv = devm_mutex_init(ishtp_device(cl_device), &opr_dev->lock);
+ if (rv)
+ goto err_exit;
rv = acpi_find_eclite_device(opr_dev);
if (rv) {
--
2.43.0
^ permalink raw reply [flat|nested] 11+ messages in thread
* [PATCH 7/8] platform/x86: punit_ipc: switch to devm_mutex_init()
2026-10-30 8:22 [PATCH 0/8] platform/x86: intel: switch remaining mutex_init() to devm_mutex_init() chitranshmandhaniya
` (5 preceding siblings ...)
2026-10-30 8:23 ` [PATCH 6/8] platform/x86: ishtp_eclite: " chitranshmandhaniya
@ 2026-10-30 8:23 ` chitranshmandhaniya
2026-10-30 8:23 ` [PATCH 8/8] platform/x86: sdsi: " chitranshmandhaniya
7 siblings, 0 replies; 11+ messages in thread
From: chitranshmandhaniya @ 2026-10-30 8:23 UTC (permalink / raw)
To: hansg, ilpo.jarvinen
Cc: platform-driver-x86, linux-kernel, Chitransh_Mandhaniya,
srinivas.pandruvada, david.e.box, irenic.rajneesh, qipeng.zha
From: Chitransh Mandhaniya <Chitransh_Mandhaniya@dell.com>
Replace mutex_init() with devm_mutex_init() so the mutex is
automatically destroyed on driver removal via devres. The driver was
missing a mutex_destroy() call on the teardown path.
Signed-off-by: Chitransh Mandhaniya <Chitransh_Mandhaniya@dell.com>
---
drivers/platform/x86/intel/punit_ipc.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/platform/x86/intel/punit_ipc.c b/drivers/platform/x86/intel/punit_ipc.c
index a3d2b0b64135..1fdffe3ed8b8 100644
--- a/drivers/platform/x86/intel/punit_ipc.c
+++ b/drivers/platform/x86/intel/punit_ipc.c
@@ -260,7 +260,9 @@ static int intel_punit_ipc_probe(struct platform_device *pdev)
return ret;
punit_ipcdev->dev = &pdev->dev;
- mutex_init(&punit_ipcdev->lock);
+ ret = devm_mutex_init(&pdev->dev, &punit_ipcdev->lock);
+ if (ret)
+ return ret;
init_completion(&punit_ipcdev->cmd_complete);
return 0;
--
2.43.0
^ permalink raw reply [flat|nested] 11+ messages in thread
* [PATCH 8/8] platform/x86: sdsi: switch to devm_mutex_init()
2026-10-30 8:22 [PATCH 0/8] platform/x86: intel: switch remaining mutex_init() to devm_mutex_init() chitranshmandhaniya
` (6 preceding siblings ...)
2026-10-30 8:23 ` [PATCH 7/8] platform/x86: punit_ipc: " chitranshmandhaniya
@ 2026-10-30 8:23 ` chitranshmandhaniya
7 siblings, 0 replies; 11+ messages in thread
From: chitranshmandhaniya @ 2026-10-30 8:23 UTC (permalink / raw)
To: hansg, ilpo.jarvinen
Cc: platform-driver-x86, linux-kernel, Chitransh_Mandhaniya,
srinivas.pandruvada, david.e.box, irenic.rajneesh, qipeng.zha
From: Chitransh Mandhaniya <Chitransh_Mandhaniya@dell.com>
Replace mutex_init() with devm_mutex_init() so the mutex is
automatically destroyed on driver removal via devres. The driver was
missing a mutex_destroy() call on the teardown path.
Signed-off-by: Chitransh Mandhaniya <Chitransh_Mandhaniya@dell.com>
---
drivers/platform/x86/intel/sdsi.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/platform/x86/intel/sdsi.c b/drivers/platform/x86/intel/sdsi.c
index d7e37d4ace23..bf1ca472cb06 100644
--- a/drivers/platform/x86/intel/sdsi.c
+++ b/drivers/platform/x86/intel/sdsi.c
@@ -663,7 +663,9 @@ static int sdsi_probe(struct auxiliary_device *auxdev, const struct auxiliary_de
return -ENOMEM;
priv->dev = &auxdev->dev;
- mutex_init(&priv->mb_lock);
+ ret = devm_mutex_init(&auxdev->dev, &priv->mb_lock);
+ if (ret)
+ return ret;
auxiliary_set_drvdata(auxdev, priv);
/* Get the SDSi discovery table */
--
2.43.0
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH 1/8] platform/x86: isst_if_mmio: switch to devm_mutex_init()
2026-10-30 8:22 ` [PATCH 1/8] platform/x86: isst_if_mmio: switch " chitranshmandhaniya
@ 2026-10-31 9:02 ` kernel test robot
0 siblings, 0 replies; 11+ messages in thread
From: kernel test robot @ 2026-10-31 9:02 UTC (permalink / raw)
To: chitranshmandhaniya, hansg, ilpo.jarvinen
Cc: oe-kbuild-all, platform-driver-x86, linux-kernel,
Chitransh_Mandhaniya, srinivas.pandruvada, david.e.box,
irenic.rajneesh, qipeng.zha
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@intel.com/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@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/202610311637.I3TdahBR-lkp@intel.com/
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
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH 2/8] platform/x86: isst_if_mbox_pci: switch to devm_mutex_init()
2026-10-30 8:22 ` [PATCH 2/8] platform/x86: isst_if_mbox_pci: " chitranshmandhaniya
@ 2026-10-31 16:00 ` kernel test robot
0 siblings, 0 replies; 11+ messages in thread
From: kernel test robot @ 2026-10-31 16:00 UTC (permalink / raw)
To: chitranshmandhaniya, hansg, ilpo.jarvinen
Cc: oe-kbuild-all, platform-driver-x86, linux-kernel,
Chitransh_Mandhaniya, srinivas.pandruvada, david.e.box,
irenic.rajneesh, qipeng.zha
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@intel.com/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@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/202610312321.ZcUHUnej-lkp@intel.com/
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
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2026-10-31 16:00 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-30 8:22 [PATCH 0/8] platform/x86: intel: switch remaining mutex_init() to devm_mutex_init() chitranshmandhaniya
2026-10-30 8:22 ` [PATCH 1/8] platform/x86: isst_if_mmio: switch " chitranshmandhaniya
2026-10-31 9:02 ` kernel test robot
2026-10-30 8:22 ` [PATCH 2/8] platform/x86: isst_if_mbox_pci: " chitranshmandhaniya
2026-10-31 16:00 ` kernel test robot
2026-10-30 8:22 ` [PATCH 3/8] platform/x86: pmt_crashlog: " chitranshmandhaniya
2026-10-30 8:22 ` [PATCH 4/8] platform/x86: crystal_cove_charger: " chitranshmandhaniya
2026-10-30 8:22 ` [PATCH 5/8] platform/x86: telemetry/pltdrv: " chitranshmandhaniya
2026-10-30 8:23 ` [PATCH 6/8] platform/x86: ishtp_eclite: " chitranshmandhaniya
2026-10-30 8:23 ` [PATCH 7/8] platform/x86: punit_ipc: " chitranshmandhaniya
2026-10-30 8:23 ` [PATCH 8/8] platform/x86: sdsi: " chitranshmandhaniya
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®