On Wed, 15 May 2024 11:20:33 +0800 Xiao Ni <xni@xxxxxxxxxx> wrote: > > Hi all > > In i686 platform, it reports error: > > drive_encryption.c: In function ‘nvme_security_recv_ioctl’: > drive_encryption.c:236:25: error: cast from pointer to integer of > different size [-Werror=pointer-to-int-cast] > 236 | nvme_cmd.addr = (__u64)response_buffer; > | ^ > drive_encryption.c: In function ‘nvme_identify_ioctl’: > drive_encryption.c:271:25: error: cast from pointer to integer of > different size [-Werror=pointer-to-int-cast] > 271 | nvme_cmd.addr = (__u64)response_buffer; > | ^ > cc1: all warnings being treated as errors > make: *** [Makefile:211: drive_encryption.o] Error 1 > > The pointer should be 32bit and it tries to convert to 64 bit. > > Best Regards > Xiao > Hi Xiao, Thanks for reporting the issue, I'm already working on a fix, I'm currently in the fix testing phase. Thanks, Blazej