rcraid-dkms
rcraid-dkms copied to clipboard
Build fails, undeclared GOOD and CHECK_CONDITION
Trying to build on Arch 5.14
rcraid-dkms/arch/src/rc_msg.c:1873:70: error: ‘GOOD’ undeclared (first use in this function)
1873 | scp->result = DID_OK << 16 | COMMAND_COMPLETE << 8 | GOOD;
| ^~~~
rcraid-dkms/arch/src/rc_msg.c:1913:62: error: ‘CHECK_CONDITION’ undeclared (first use in this function)
1913 | scp->result = DID_OK << 16 | COMMAND_COMPLETE << 8 | CHECK_CONDITION;
| ^~~~~~~~~~~~~~~
Same error on 5.14.11-arch1-1.
Same error on 5.15.6-2-Manjaro
Please see this pull request:
https://github.com/thopiekar/rcraid-dkms/pull/42
Although I cannot get this module to recognise my RAID NVME M.2 array, I can get it to compile on Fedora 35 with the 5.15.6-200 Kernel.