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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 8/2/23 04:25, Kumar, Udit wrote:
While building next-20230801 for ARM64 architecture,

this patch is giving compilation error

In function ‘ufshcd_check_header_layout’,
     inlined from ‘ufshcd_core_init’ at drivers/ufs/core/ufshcd.c:10629:2:
././include/linux/compiler_types.h:397:38: error: call to ‘__compiletime_assert_554’ declared with attribute error: BUILD_BUG_ON failed: ((u8 *)&(struct request_desc_header){ .enable_crypto = 1})[2] != 0x80   397 |  _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)


compiler information

wget https://developer.arm.com/-/media/Files/downloads/gnu-a/9.2-2019.12/binrel/gcc-arm-9.2-2019.12-x86_64-aarch64-none-linux-gnu.tar.xz

Does this patch help: https://lore.kernel.org/linux-scsi/20230801232204.1481902-1-bvanassche@xxxxxxx/?

Thanks,

Bart.




[Index of Archives]     [Linux Kernel]     [Linux USB Development]     [Yosemite News]     [Linux SCSI]

  Powered by Linux