All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] coco/tsm: Remove unused variable tsm_rwsem
@ 2026-01-20 12:07 Thomas Weißschuh
  2026-01-23 20:09 ` John B. Wyatt IV
  2026-01-23 21:10 ` dan.j.williams
  0 siblings, 2 replies; 3+ messages in thread
From: Thomas Weißschuh @ 2026-01-20 12:07 UTC (permalink / raw)
  To: Dan Williams, Jonathan Cameron, Bjorn Helgaas,
	Aneesh Kumar K.V (Arm), Alexey Kardashevskiy
  Cc: linux-kernel, Thomas Weißschuh

This variable is and was never used, remove it.

Fixes: 603c646f0010 ("coco/tsm: Introduce a core device for TEE Security Managers")
Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
---
 drivers/virt/coco/tsm-core.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/virt/coco/tsm-core.c b/drivers/virt/coco/tsm-core.c
index f027876a2f19..d02764a171c9 100644
--- a/drivers/virt/coco/tsm-core.c
+++ b/drivers/virt/coco/tsm-core.c
@@ -5,7 +5,6 @@
 
 #include <linux/tsm.h>
 #include <linux/pci.h>
-#include <linux/rwsem.h>
 #include <linux/device.h>
 #include <linux/module.h>
 #include <linux/cleanup.h>
@@ -13,7 +12,6 @@
 #include <linux/pci-ide.h>
 
 static struct class *tsm_class;
-static DECLARE_RWSEM(tsm_rwsem);
 static DEFINE_IDA(tsm_ida);
 
 static int match_id(struct device *dev, const void *data)

---
base-commit: 24d479d26b25bce5faea3ddd9fa8f3a6c3129ea7
change-id: 20260120-coco-tsm_rwsem-8f1fde13ca6e

Best regards,
-- 
Thomas Weißschuh <thomas.weissschuh@linutronix.de>


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] coco/tsm: Remove unused variable tsm_rwsem
  2026-01-20 12:07 [PATCH] coco/tsm: Remove unused variable tsm_rwsem Thomas Weißschuh
@ 2026-01-23 20:09 ` John B. Wyatt IV
  2026-01-23 21:10 ` dan.j.williams
  1 sibling, 0 replies; 3+ messages in thread
From: John B. Wyatt IV @ 2026-01-23 20:09 UTC (permalink / raw)
  To: Dan Williams
  Cc: Thomas Weißschuh, Jonathan Cameron, Bjorn Helgaas,
	Aneesh Kumar K.V (Arm), Alexey Kardashevskiy, John B. Wyatt IV,
	linux-kernel, regressions

On Tue, Jan 20, 2026 at 01:07:11PM +0100, Thomas Weißschuh wrote:
> This variable is and was never used, remove it.

Hello Dan,

What is the status of this fix? Without this my builds are breaking with
CONFIG_WERROR=y set.

As per process/handling-regressions.rst; I am CCing regressions.

-- 
Sincerely,
John Wyatt
Software Engineer, Core Kernel
Red Hat


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] coco/tsm: Remove unused variable tsm_rwsem
  2026-01-20 12:07 [PATCH] coco/tsm: Remove unused variable tsm_rwsem Thomas Weißschuh
  2026-01-23 20:09 ` John B. Wyatt IV
@ 2026-01-23 21:10 ` dan.j.williams
  1 sibling, 0 replies; 3+ messages in thread
From: dan.j.williams @ 2026-01-23 21:10 UTC (permalink / raw)
  To: Thomas Weißschuh, Dan Williams, Jonathan Cameron,
	Bjorn Helgaas, Aneesh Kumar K.V (Arm), Alexey Kardashevskiy
  Cc: linux-kernel, Thomas Weißschuh

Thomas Weißschuh wrote:
> This variable is and was never used, remove it.
> 
> Fixes: 603c646f0010 ("coco/tsm: Introduce a core device for TEE Security Managers")
> Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>

Hey, sorry for missing this earlier. Looks good and now applied, will
push out out tsm.git#fixes shortly.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-01-23 21:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-20 12:07 [PATCH] coco/tsm: Remove unused variable tsm_rwsem Thomas Weißschuh
2026-01-23 20:09 ` John B. Wyatt IV
2026-01-23 21:10 ` dan.j.williams

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.