On Mon, 27 Sep 2021 17:43:44 -0500, Gustavo A. R. Silva wrote: > Make use of the struct_size() helper instead of an open-coded version, > in order to avoid any potential type mistakes or integer overflows > that, in the worst scenario, could lead to heap overflows. > > Applied to 5.16/scsi-queue, thanks! [1/1] scsi: target: tcmu: Use struct_size() helper in kmalloc() https://git.kernel.org/mkp/scsi/c/c20bda341946 -- Martin K. Petersen Oracle Linux Engineering