I compiled the linux kernel for my milk-v duo 256M board. After I added Joystick driver to the Linux Kernel Setting and saved .config to defconfig. I can not build linux kernel successfully.
The Error Message as below:
/home/work/linux_5.10/drivers/usb/dwc2/hcd_intr.c: In function ‘dwc2_hc_chhltd_intr_dma’:
/home/work/linux_5.10/drivers/usb/dwc2/hcd_intr.c:1988:4: error: expected ‘}’ before ‘else’
1988 | } else {
| ^~~~