syscalls/ioctl07.c: Fix compilation && Cleanup
PATCH 1/1 syscalls/ioctl07.c: Fix compilation && Cleanup
1) Fix compilation error on older kernels(e.g RHEL5.11GA) due to undefined __u32, as below:
error: expected specifier-qualifier-list before ‘__u32’
error: expected specifier-qualifier-list before ‘__u32’
2) Remove unused tst_safe_stdio.h header file
Signed-off-by Xiao Yang <[email protected]>
--- testcases/kernel/syscalls/ioctl/ioctl07.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
testcases/kernel/syscalls/ioctl/ioctl07.c +1 -1
@@ -22,9 +22,9 @@* */ +#include <asm/types.h> #include <linux/random.h> #include <stdlib.h> -#include "tst_safe_stdio.h" #include "tst_test.h" static char *s_fuzz;
Signature · 1 line
1.8.3.1
PATCH 1/1 syscalls/ioctl07.c: Fix compilation && Cleanup
Hi!
Pushed, thanks.
Signature · 2 lines
Cyril Hrubis [email protected]