Skip to contentSkip to conversation

tests/gem_fd_exhaustion: Fix build failure

PATCH In review Maarten Lankhorst 2 participants 3 messages Mar 12, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tests/gem_fd_exhaustion: Fix build failure

This breaks igt build really badly.

---
 tests/gem_fd_exhaustion.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tests/gem_fd_exhaustion.c +1 -1
index d04cdd09dfd9..559590b14d90 100644
@@ -80,7 +80,7 @@ static bool allow_unlimited_files(void)
 	return setrlimit(RLIMIT_NOFILE, &rlim) == 0;
 }
 
-static void restore_original_sysctl(void)
+static void restore_original_sysctl(int sig)
 {
 	if (original_nr_open > 0)
 		write_sysctl("/proc/sys/fs/nr_open", original_nr_open);
Signature · 6 lines
2.16.2

_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
#2 lore raw

[igt-dev] ✗ Fi.CI.BAT: failure for tests/gem_fd_exhaustion: Fix build failure

In reply to Maarten Lankhorst
== Series Details ==

== Series Details ==

Series: tests/gem_fd_exhaustion: Fix build failure
URL : https://patchwork.freedesktop.org/series/39777/
State : failure

== Summary ==

Series 39777 revision 1 was fully merged or fully failed: no git log

_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev