On 18/05/2021 18:50, Bart Van Assche wrote:
Make it possible for the compiler to verify whether SAM, message, host and driver status codes are used correctly. Cc: Hannes Reinecke <hare@xxxxxxxx> Cc: John Garry <john.garry@xxxxxxxxxx> Signed-off-by: Bart Van Assche <bvanassche@xxxxxxx>
Changing to enums seems a sensible change, so, FWIW: Reviewed-by: John Garry <john.garry@xxxxxxxxxx>Do we have an example of where the compiler would catch an incorrect usage / mismatch?