Thread (3 messages) 3 messages, 2 authors, 2025-07-16

Re: [PATCH 1/1] uapi/termios: remove struct ktermios from uapi headers

From: "H. Peter Anvin" <hpa@zytor.com>
Date: 2025-07-16 18:16:03
Also in: linux-alpha, linux-api, linux-arch, linux-m68k, linux-mips, linux-riscv, linux-s390, linux-serial, linux-sh, linux-um, lkml, loongarch, sparclinux

On July 16, 2025 10:57:11 AM PDT, "Russell King (Oracle)" [off-list ref] wrote:
On Wed, Jul 16, 2025 at 09:47:32AM -0700, H. Peter Anvin wrote:
quoted
diff --git a/arch/arm/include/asm/ktermios.h b/arch/arm/include/asm/ktermios.h
new file mode 100644
index 000000000000..4320921a82a9
--- /dev/null
+++ b/arch/arm/include/asm/ktermios.h
@@ -0,0 +1 @@
+#include <asm-generic/ktermios.h>
Isn't this what arch/arm/include/asm/Kbuild's generic-y is for?

Ditto for other arches.
Ah, yes, you're right (except for those with nontrivial stubs.)

I also found that a handful of drivers and arch/sparc needs <asm/termios.h> → <linux/termios.h> in <linux/termios_internal.h>.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help