Open yTakatsukasa opened 1 year ago
set_termios takes const struct ktermios by the change in https://github.com/torvalds/linux/commit/a8c11c1520347be74b02312d10ef686b01b525f1
Kernel 6.1 takes const ktemrios https://github.com/torvalds/linux/blob/v6.1/include/linux/tty_driver.h#L369
while Kernel 6.0 takes non-const ktermios https://github.com/torvalds/linux/blob/v6.0/include/linux/tty_driver.h#L368
set_termios takes const struct ktermios by the change in https://github.com/torvalds/linux/commit/a8c11c1520347be74b02312d10ef686b01b525f1
Kernel 6.1 takes const ktemrios https://github.com/torvalds/linux/blob/v6.1/include/linux/tty_driver.h#L369
while Kernel 6.0 takes non-const ktermios https://github.com/torvalds/linux/blob/v6.0/include/linux/tty_driver.h#L368