Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/xe: make xe_pm_runtime_lockdep_map a static struct
@ 2024-04-22 20:14 Rodrigo Vivi
  2024-04-22 20:20 ` ✓ CI.Patch_applied: success for " Patchwork
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: Rodrigo Vivi @ 2024-04-22 20:14 UTC (permalink / raw)
  To: intel-xe; +Cc: Rodrigo Vivi, kernel test robot

Fix the new sparse warning:

>> drivers/gpu/drm/xe/xe_pm.c:72:20: sparse: sparse: symbol
'xe_pm_runtime_lockdep_map' was not declared. Should it be static?

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202404191329.EZzOTzwK-lkp@intel.com/
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
---
 drivers/gpu/drm/xe/xe_pm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/xe/xe_pm.c b/drivers/gpu/drm/xe/xe_pm.c
index 37fbeda12d3b..c1831106ea4b 100644
--- a/drivers/gpu/drm/xe/xe_pm.c
+++ b/drivers/gpu/drm/xe/xe_pm.c
@@ -69,7 +69,7 @@
  */
 
 #ifdef CONFIG_LOCKDEP
-struct lockdep_map xe_pm_runtime_lockdep_map = {
+static struct lockdep_map xe_pm_runtime_lockdep_map = {
 	.name = "xe_pm_runtime_lockdep_map"
 };
 #endif
-- 
2.44.0


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

end of thread, other threads:[~2024-04-23 14:53 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-22 20:14 [PATCH] drm/xe: make xe_pm_runtime_lockdep_map a static struct Rodrigo Vivi
2024-04-22 20:20 ` ✓ CI.Patch_applied: success for " Patchwork
2024-04-22 20:20 ` ✓ CI.checkpatch: " Patchwork
2024-04-22 20:21 ` ✓ CI.KUnit: " Patchwork
2024-04-22 20:32 ` [PATCH] " Gustavo Sousa
2024-04-22 20:33 ` ✓ CI.Build: success for " Patchwork
2024-04-22 20:35 ` ✓ CI.Hooks: " Patchwork
2024-04-22 20:37 ` ✓ CI.checksparse: " Patchwork
2024-04-23  4:22 ` ✗ CI.FULL: failure " Patchwork
2024-04-23 14:08 ` [PATCH] " Nilawar, Badal
2024-04-23 14:53 ` ✗ CI.Patch_applied: failure for drm/xe: make xe_pm_runtime_lockdep_map a static struct (rev2) Patchwork

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