aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/cpu.c
diff options
context:
space:
mode:
authorMadhavan Srinivasan <[email protected]>2025-05-17 14:22:37 +0000
committerMadhavan Srinivasan <[email protected]>2025-06-13 16:48:50 +0000
commitab107276607af90b13a5994997e19b7b9731e251 (patch)
treefb1f40f0d8c4050a77981c2a7c66370388b2e25f /rust/helpers/cpu.c
parentpowerpc: dts: mpc8315erdb: Add GPIO controller node (diff)
downloadkernel-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