Re: [PATCH v2 11/12] scsi: ufs: Simplify transfer request header initialization

Bart Van Assche
2023-08-02T16:46:41Z

On 8/2/23 09:44, Kumar, Udit wrote:
>> Does this patch help:
>> https://lore.kernel.org/linux-scsi/20230801232204.1481902-1-
>> bvanassche@acm.org/?
>
> Yes , build works for me with this patch.
> You just skipped based upon compiler version but
> what about checks you want to do in this function.

These checks verify that the layout of the structures matches the layout
from the UFS standard. I want these checks to performed at compile time.
I'm not sure how to let gcc 9 or older perform these checks at compile time.

Thanks,

Bart.