diff options
| author | Madhavan Srinivasan <[email protected]> | 2025-05-17 14:22:37 +0000 |
|---|---|---|
| committer | Madhavan Srinivasan <[email protected]> | 2025-06-13 16:48:50 +0000 |
| commit | ab107276607af90b13a5994997e19b7b9731e251 (patch) | |
| tree | fb1f40f0d8c4050a77981c2a7c66370388b2e25f /rust/helpers/cpu.c | |
| parent | powerpc: dts: mpc8315erdb: Add GPIO controller node (diff) | |
| download | kernel-ab107276607af90b13a5994997e19b7b9731e251.tar.gz kernel-ab107276607af90b13a5994997e19b7b9731e251.zip | |
powerpc: Fix struct termio related ioctl macros
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;
| ^~~~~~
Even though termios.h provides "struct termio", trying to juggle definitions around to
make it compile could introduce regressions. So better to open code it.
Reported-by: Tulio Magno <[email protected]>
Suggested-by: Nicholas Piggin <[email protected]>
Tested-by: Justin M. Forbes <[email protected]>
Reviewed-by: Michael Ellerman <[email protected]>
Closes: https://lore.kernel.org/linuxppc-dev/[email protected]/
Signed-off-by: Madhavan Srinivasan <[email protected]>
Link: https://patch.msgid.link/[email protected]
Diffstat (limited to 'rust/helpers/cpu.c')
0 files changed, 0 insertions, 0 deletions
