aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/generate_rust_target.rs
diff options
context:
space:
mode:
authorChristoph Niedermaier <[email protected]>2024-01-19 11:35:16 +0000
committerGreg Kroah-Hartman <[email protected]>2024-01-28 02:15:24 +0000
commite15c99be0c915bbe70dfe55450d268d7bd5bdac8 (patch)
tree8301c1360bd2e7338b9f190891fd2f8a5ff9c778 /scripts/generate_rust_target.rs
parentLinux 6.8-rc1 (diff)
downloadkernel-e15c99be0c915bbe70dfe55450d268d7bd5bdac8.tar.gz
kernel-e15c99be0c915bbe70dfe55450d268d7bd5bdac8.zip
tty: serial: Fix bit order in RS485 flag definitions
Since the commit 93f3350c46fa ("RS485: fix inconsistencies in the meaning of some variables"), the definition for bit 3 has been removed. But with the switch to bit shift macros in commit 76ac8e29855b ("tty: serial: Cleanup the bit shift with macro"), this gap wasn't preserved. To avoid a break in user/kernel api of the system skip bit 3 again and add a placeholder comment. Signed-off-by: Christoph Niedermaier <[email protected]> Fixes: 76ac8e29855b ("tty: serial: Cleanup the bit shift with macro") Fixes: 6056f20f27e9 ("tty: serial: Add RS422 flag to struct serial_rs485") Reviewed-by: Jiri Slaby <[email protected]> Cc: Greg Kroah-Hartman <[email protected]> Cc: Crescent CY Hsieh <[email protected]> Cc: Jiri Slaby <[email protected]> Cc: Lukas Wunner <[email protected]> Cc: Lino Sanfilippo <[email protected]> Cc: Hugo Villeneuve <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/generate_rust_target.rs')
0 files changed, 0 insertions, 0 deletions