thopiekar / rcraid-dkms

AMD RAIDXpert driver as DKMS package
Other
126 stars 27 forks source link

Fix case statement fallthrough #11

Closed trojan577 closed 4 years ago

trojan577 commented 4 years ago

Rather intriguing. Perhaps there should also be a default case for error handling such as: default: return -EINVAL; But the standard specifies SG_DXFER_NONE as a valid dxfer_direction and that case isn't handled