We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CC [M] /root/ch343ser_linux/driver/ch343.o /root/ch343ser_linux/driver/ch343.c:1309:16: error: initialization of ‘void (*)(struct tty_port , bool)’ {aka ‘void ()(struct tty_port , _Bool)’} from incompatible pointer type ‘void ()(struct tty_port , int)’ [-Werror=incompatible-pointer-types] 1309 | .dtr_rts = ch343_port_dtr_rts, | ^~~~~~~~~~~~~~~~~~ /root/ch343ser_linux/driver/ch343.c:1309:16: note: (near initialization for ‘ch343_port_ops.dtr_rts’) /root/ch343ser_linux/driver/ch343.c:1921:20: error: initialization of ‘void ()(struct tty_struct *, const struct ktermios )’ from incompatible pointer type ‘void ()(struct tty_struct *, struct ktermios *)’ [-Werror=incompatible-pointer-types] 1921 | .set_termios = ch343_tty_set_termios, | ^~~~~~~~~~~~~~~~~~~~~ /root/ch343ser_linux/driver/ch343.c:1921:20: note: (near initialization for ‘ch343_ops.set_termios’) cc1: some warnings being treated as errors make[2]: *** [scripts/Makefile.build:252:/root/ch343ser_linux/driver/ch343.o] 错误 1 make[1]: *** [Makefile:2025:/root/ch343ser_linux/driver] 错误 2 make[1]: 离开目录“/usr/src/linux-headers-6.3.0-jsbsbxjxh66+compile+” make: *** [Makefile:5:default] 错误 2
The text was updated successfully, but these errors were encountered:
I fixed it in FirstLoveLife/ch343@3728802
Sorry, something went wrong.
No branches or pull requests
CC [M] /root/ch343ser_linux/driver/ch343.o
/root/ch343ser_linux/driver/ch343.c:1309:16: error: initialization of ‘void (*)(struct tty_port , bool)’ {aka ‘void ()(struct tty_port , _Bool)’} from incompatible pointer type ‘void ()(struct tty_port , int)’ [-Werror=incompatible-pointer-types]
1309 | .dtr_rts = ch343_port_dtr_rts,
| ^~~~~~~~~~~~~~~~~~
/root/ch343ser_linux/driver/ch343.c:1309:16: note: (near initialization for ‘ch343_port_ops.dtr_rts’)
/root/ch343ser_linux/driver/ch343.c:1921:20: error: initialization of ‘void ()(struct tty_struct *, const struct ktermios )’ from incompatible pointer type ‘void ()(struct tty_struct *, struct ktermios *)’ [-Werror=incompatible-pointer-types]
1921 | .set_termios = ch343_tty_set_termios,
| ^~~~~~~~~~~~~~~~~~~~~
/root/ch343ser_linux/driver/ch343.c:1921:20: note: (near initialization for ‘ch343_ops.set_termios’)
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:252:/root/ch343ser_linux/driver/ch343.o] 错误 1
make[1]: *** [Makefile:2025:/root/ch343ser_linux/driver] 错误 2
make[1]: 离开目录“/usr/src/linux-headers-6.3.0-jsbsbxjxh66+compile+”
make: *** [Makefile:5:default] 错误 2
The text was updated successfully, but these errors were encountered: