Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Intel-xe] [PATCH] drm/xe/irq: the irq handler local variable need not be static
@ 2023-03-09 12:21 Jani Nikula
  2023-03-09 17:37 ` Matt Roper
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Jani Nikula @ 2023-03-09 12:21 UTC (permalink / raw)
  To: intel-xe; +Cc: jani.nikula

It's just a local variable.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
---
 drivers/gpu/drm/xe/xe_irq.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/xe/xe_irq.c b/drivers/gpu/drm/xe/xe_irq.c
index ae2f65c00fa6..529b42d9c9af 100644
--- a/drivers/gpu/drm/xe/xe_irq.c
+++ b/drivers/gpu/drm/xe/xe_irq.c
@@ -529,7 +529,7 @@ static void irq_uninstall(struct drm_device *drm, void *arg)
 int xe_irq_install(struct xe_device *xe)
 {
 	int irq = to_pci_dev(xe->drm.dev)->irq;
-	static irq_handler_t irq_handler;
+	irq_handler_t irq_handler;
 	int err;
 
 	irq_handler = xe_irq_handler(xe);
-- 
2.39.1


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

end of thread, other threads:[~2023-03-15 10:27 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-09 12:21 [Intel-xe] [PATCH] drm/xe/irq: the irq handler local variable need not be static Jani Nikula
2023-03-09 17:37 ` Matt Roper
2023-03-14  0:24   ` Lucas De Marchi
2023-03-14 10:32     ` Jani Nikula
2023-03-14 21:35       ` Lucas De Marchi
2023-03-15 10:27         ` Jani Nikula
2023-03-13 16:28 ` [Intel-xe] ✓ CI.Patch_applied: success for " Patchwork
2023-03-13 16:29 ` [Intel-xe] ✓ CI.KUnit: " Patchwork
2023-03-13 16:33 ` [Intel-xe] ✓ CI.Build: " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox