All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH i-g-t] tests/intel/kms_pm_rpm: use basename from libgen.h
@ 2024-09-04 13:49 Alyssa Ross
  2024-09-05 18:17 ` ✓ CI.xeBAT: success for " Patchwork
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Alyssa Ross @ 2024-09-04 13:49 UTC (permalink / raw)
  To: igt-dev
  Cc: Kamil Konieczny, Mohammed Anas, Stefano Ragni, Bernd Kuhls,
	Reagan Bohan, Yureka, Janusz Krzysztofik

musl only provides the libgen.h version of basename() that may modify
it's argument.  That's fine in this case, because in the one use of
basename() in this file, the buffer is never read from again.

Signed-off-by: Alyssa Ross <hi@alyssa.is>
---
 tests/intel/kms_pm_rpm.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/intel/kms_pm_rpm.c b/tests/intel/kms_pm_rpm.c
index 5af3e81bc..852e9cb5f 100644
--- a/tests/intel/kms_pm_rpm.c
+++ b/tests/intel/kms_pm_rpm.c
@@ -27,6 +27,7 @@
 #endif
 
 #include <dirent.h>
+#include <libgen.h>
 
 #include "config.h"
 #include "i915/gem.h"

base-commit: fc3113c8c1e99797b2d4769aaf02265be64a7589
-- 
2.45.2


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

end of thread, other threads:[~2024-09-09 15:23 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-04 13:49 [PATCH i-g-t] tests/intel/kms_pm_rpm: use basename from libgen.h Alyssa Ross
2024-09-05 18:17 ` ✓ CI.xeBAT: success for " Patchwork
2024-09-05 18:42 ` ✗ Fi.CI.BAT: failure " Patchwork
2024-09-06  9:20   ` Alyssa Ross
2024-09-09  9:53     ` Saarinen, Jani
2024-09-07 21:27 ` ✗ CI.xeFULL: " Patchwork
2024-09-09 15:21   ` Kamil Konieczny
2024-09-09 15:23 ` [PATCH i-g-t] " Kamil Konieczny

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.