All of lore.kernel.org
 help / color / mirror / Atom feed
* [LTP] [PATCH] ioctl02: Use correct termios structure
@ 2024-02-26 15:51 Martin Doucha
  2024-02-28 13:44 ` Petr Vorel
  2025-01-29 21:42   ` Petr Vorel
  0 siblings, 2 replies; 8+ messages in thread
From: Martin Doucha @ 2024-02-26 15:51 UTC (permalink / raw)
  To: ltp

The termios structure definition in <termios.h> is incompatible
with direct ioctl() calls. The correct definition is in <asm/termbits.h>

Signed-off-by: Martin Doucha <mdoucha@suse.cz>
---
 testcases/kernel/syscalls/ioctl/ioctl02.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testcases/kernel/syscalls/ioctl/ioctl02.c b/testcases/kernel/syscalls/ioctl/ioctl02.c
index aab80b251..f3bfb239a 100644
--- a/testcases/kernel/syscalls/ioctl/ioctl02.c
+++ b/testcases/kernel/syscalls/ioctl/ioctl02.c
@@ -26,7 +26,7 @@
 
 #include <stdio.h>
 #include <stdlib.h>
-#include <termios.h>
+#include <asm/termbits.h>
 
 #include "lapi/ioctl.h"
 #include "tst_test.h"
-- 
2.42.1


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

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

end of thread, other threads:[~2025-01-30 12:07 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-26 15:51 [LTP] [PATCH] ioctl02: Use correct termios structure Martin Doucha
2024-02-28 13:44 ` Petr Vorel
2025-01-29 21:42 ` [Buildroot] " Petr Vorel
2025-01-29 21:42   ` Petr Vorel
2025-01-29 21:42   ` Petr Vorel
2025-01-30  7:39   ` [Buildroot] " Andreas Larsson
2025-01-30  7:39     ` Andreas Larsson
2025-01-30  7:39     ` Andreas Larsson

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.