Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/xe/vsec: Address static checker issue
@ 2024-12-05 18:36 Michael J. Ruhl
  2024-12-05 20:32 ` ✓ CI.Patch_applied: success for " Patchwork
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: Michael J. Ruhl @ 2024-12-05 18:36 UTC (permalink / raw)
  To: intel-xe, rodrigo.vivi; +Cc: michael.j.ruhl

The callback structure should be static.

Add static attribute.

NOTE: the fixes tag in the drm-tip context

Fixes: 0c45e76fcc62 ("drm/xe/vsec: Support BMG devices")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202412050418.8ecQxYXj-lkp@intel.com/
Signed-off-by: Michael J. Ruhl <michael.j.ruhl@intel.com>
---
 drivers/gpu/drm/xe/xe_vsec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/xe/xe_vsec.c b/drivers/gpu/drm/xe/xe_vsec.c
index 17ebc3ffb573..edaec262ed0a 100644
--- a/drivers/gpu/drm/xe/xe_vsec.c
+++ b/drivers/gpu/drm/xe/xe_vsec.c
@@ -180,7 +180,7 @@ static int xe_pmt_telem_read(struct pci_dev *pdev, u32 guid, u64 *data, loff_t u
 	return count;
 }
 
-struct pmt_callbacks xe_pmt_cb = {
+static struct pmt_callbacks xe_pmt_cb = {
 	.read_telem = xe_pmt_telem_read,
 };
 
-- 
2.44.0


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

end of thread, other threads:[~2024-12-05 22:40 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-05 18:36 [PATCH] drm/xe/vsec: Address static checker issue Michael J. Ruhl
2024-12-05 20:32 ` ✓ CI.Patch_applied: success for " Patchwork
2024-12-05 20:32 ` ✓ CI.checkpatch: " Patchwork
2024-12-05 20:33 ` ✓ CI.KUnit: " Patchwork
2024-12-05 20:51 ` ✓ CI.Build: " Patchwork
2024-12-05 20:53 ` ✓ CI.Hooks: " Patchwork
2024-12-05 20:55 ` ✓ CI.checksparse: " Patchwork
2024-12-05 20:55 ` [PATCH] " Rodrigo Vivi
2024-12-05 21:16 ` ✓ Xe.CI.BAT: success for " Patchwork
2024-12-05 22:40 ` ✗ Xe.CI.Full: failure " Patchwork

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