On 29.08.23 6:35 PM, Bart Van Assche wrote:
All structs and unions are word aligned when using the OABI. Mark the union in struct utp_upiu_header as packed to prevent that the compiler inserts padding bytes. Cc: Arnd Bergmann<arnd@xxxxxxxx> Reported-by: kernel test robot<lkp@xxxxxxxxx> Closes:https://lore.kernel.org/oe-kbuild-all/202308251634.tuRn4OVv-lkp@xxxxxxxxx/ Fixes: 617bfaa8dd50 ("scsi: ufs: Simplify response header parsing") Signed-off-by: Bart Van Assche<bvanassche@xxxxxxx>
Thanks for the prompt fix! Reviewed-by: Bean Huo <beanhuo@xxxxxxxxxx>