On 5/19/21 4:23 AM, John Garry wrote: > Do we have an example of where the compiler would catch an incorrect > usage / mismatch? If I remember correctly some time ago Hannes fixed multiple LLDs that assigned incorrect values to scsi_cmd->result. I'd like to modify the type of struct scsi_cmnd.result such that the compiler can verify whether the proper enum type is assigned to each SCSI result subcomponent. Bart.