All of lore.kernel.org
 help / color / mirror / Atom feed
* [Intel-xe] [PATCH] fixup! drm/xe/hwmon: Expose power attributes
@ 2023-10-04 16:09 Lucas De Marchi
  2023-10-04 16:14 ` [Intel-xe] ✓ CI.Patch_applied: success for " Patchwork
                   ` (8 more replies)
  0 siblings, 9 replies; 14+ messages in thread
From: Lucas De Marchi @ 2023-10-04 16:09 UTC (permalink / raw)
  To: intel-xe; +Cc: Lucas De Marchi

Add missing static to fixup build with W=1

Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
---

Also I see in the changelog a change adding xe_ prefix to the static
funtions... that is not the convention most of the driver follow and I
don't think it should had been done. Anyway, just fixing the more
immediate issue here.

 drivers/gpu/drm/xe/xe_hwmon.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/xe/xe_hwmon.c b/drivers/gpu/drm/xe/xe_hwmon.c
index 1deb5007e1e2..734fcca9f71f 100644
--- a/drivers/gpu/drm/xe/xe_hwmon.c
+++ b/drivers/gpu/drm/xe/xe_hwmon.c
@@ -123,7 +123,8 @@ static int xe_hwmon_process_reg(struct xe_hwmon *hwmon, enum xe_hwmon_reg hwmon_
 	}
 }
 
-int xe_hwmon_process_reg_read64(struct xe_hwmon *hwmon, enum xe_hwmon_reg hwmon_reg, u64 *value)
+static int xe_hwmon_process_reg_read64(struct xe_hwmon *hwmon,
+				       enum xe_hwmon_reg hwmon_reg, u64 *value)
 {
 	struct xe_reg reg;
 
-- 
2.40.1


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

end of thread, other threads:[~2023-10-05 17:43 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-04 16:09 [Intel-xe] [PATCH] fixup! drm/xe/hwmon: Expose power attributes Lucas De Marchi
2023-10-04 16:14 ` [Intel-xe] ✓ CI.Patch_applied: success for " Patchwork
2023-10-04 16:14 ` [Intel-xe] ✓ CI.checkpatch: " Patchwork
2023-10-04 16:15 ` [Intel-xe] ✓ CI.KUnit: " Patchwork
2023-10-04 16:22 ` [Intel-xe] ✓ CI.Build: " Patchwork
2023-10-04 16:23 ` [Intel-xe] ✗ CI.Hooks: failure " Patchwork
2023-10-04 16:24 ` [Intel-xe] ✓ CI.checksparse: success " Patchwork
2023-10-04 16:26 ` [Intel-xe] [PATCH] " Rodrigo Vivi
2023-10-04 17:08   ` Kershner, David
2023-10-04 17:38     ` Lucas De Marchi
2023-10-05 14:10       ` Rodrigo Vivi
2023-10-05 17:43         ` Lucas De Marchi
2023-10-04 17:03 ` [Intel-xe] ✓ CI.BAT: success for " Patchwork
2023-10-04 17:47 ` [Intel-xe] [PATCH] " Lucas De Marchi

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.