Adding a module to an assembly

Thank you!
Could you give me another hint?
I have selected items related to usbip and got problems when compiling:

  1. linux_5.10/drivers/usb/dwc2/hcd_intr.c:4 error: error expected } before else
    There is a solution for this point on this site Compile Error After Update Kernel Config
  2. compilation errors with ION
    /home/work/linux_5.10/drivers/staging/android/ion/ion.c:741:27: error: ‘buffer’ undeclared (first use in this function)
    /home/work/linux_5.10/drivers/staging/android/ion/ion_heap.c:25:66: error: ‘struct ion_buffer’ has no member named ‘paddr’;
    and etc.
    I did some digging and realized that the problem is in some defines.
    But simply declaring them in the header file does not solve the problem.

What should be done in these two cases?

1 Like