[PATCH v2] powerpc: Fix struct termio related ioctl macros
Madhavan Srinivasan
maddy at linux.ibm.com
Sun Jun 15 12:39:08 AEST 2025
On Sat, 17 May 2025 19:52:37 +0530, Madhavan Srinivasan wrote:
> Since termio interface is now obsolete, include/uapi/asm/ioctls.h
> has some constant macros referring to "struct termio", this caused
> build failure at userspace.
>
> In file included from /usr/include/asm/ioctl.h:12,
> from /usr/include/asm/ioctls.h:5,
> from tst-ioctls.c:3:
> tst-ioctls.c: In function 'get_TCGETA':
> tst-ioctls.c:12:10: error: invalid application of 'sizeof' to incomplete type 'struct termio'
> 12 | return TCGETA;
> | ^~~~~~
>
> [...]
Applied to powerpc/fixes.
[1/1] powerpc: Fix struct termio related ioctl macros
https://git.kernel.org/powerpc/c/ab107276607af90b13a5994997e19b7b9731e251
Thanks
More information about the Linuxppc-dev
mailing list