Re: linux-next: build failure after merge of the scsi-mkp tree

From: Martin K. Petersen
Date: Mon Aug 29 2022 - 22:11:43 EST



> drivers/scsi/mpi3mr/mpi3mr_transport.c: In function 'mpi3mr_update_mr_sas_port':
> include/linux/find.h:40:23: error: array subscript 'long unsigned int[0]' is partly outside array bounds of 'u32[1]' {aka 'unsigned int[1]'} [-Werror=array-bounds]
> 40 | val = *addr & GENMASK(size - 1, offset);
> | ^~~~~

Sreekanth: Please fix, thanks!

--
Martin K. Petersen Oracle Linux Engineering