Closed trojan577 closed 4 years ago
Haha, fixed just the same thing some minutes before, except that I added if-clauses. This way the changes only apply on Linux >= 5.3.x.
Anyway, thank you for your time and efforts still! Maybe you will be faster next time. Would be glad to see something from you again :wink:
No worries, Keep up the good (and speedy) work!
Fixes this particular error that stops the build
rcraid-dkms/src/rc_init.c:335:29: error: initialization of ‘int (*)(struct scsi_device *, unsigned int, void *)’ from incompatible pointer type ‘int (*)(struct scsi_device *, int, void *)’ [-Werror=incompatible-pointer-types] 335 | .ioctl = rc_ioctl, | ^~~~~~~~
Built on Ubuntu 19.10 kernel 5.3.0-13-generic on x570 board and works perfectly so far.