compile warning in raspberry_soft_uart_init
Closed this issue · 2 comments
romor commented
This is just a warning and the resulting binary seems to run well. However, maybe you could still address this:
strato-pi-kernel-module/soft_uart/raspberry_soft_uart.c: In function ‘raspberry_soft_uart_init’:
strato-pi-kernel-module/soft_uart/raspberry_soft_uart.c:66:5: warning: cast between incompatible function types from ‘irqreturn_t (* (*)(unsigned int, void *, struct pt_regs *))(int, void *)’ {aka ‘enum irqreturn (* (*)(unsigned int, void *, struct pt_regs *))(int, void *)’} to ‘irqreturn_t (*)(int, void *)’ {aka ‘enum irqreturn (*)(int, void *)’} [-Wcast-function-type]
66 | (irq_handler_t) handle_rx_start,
| ^
$ uname -a
Linux stratopi 6.1.21-v7+ #1642 SMP Mon Apr 3 17:20:52 BST 2023 armv7l GNU/Linux
giampiero7 commented
Hello @romor ,
Thanks for your report.
This was fixed in recent updates.
romor commented
Thanks for the hint. It seems I missed to update the git submodules.