Re: [PATCH] scsi: qedi: remove declaration of nvm_image from stack

From: Martin K. Petersen
Date: Fri Mar 29 2019 - 10:05:24 EST



Colin,

> The nvm_image is a large struct qedi_nvm_iscsi_image object of over
> 24K so don't declare it on the stack just for a sizeof requirement;
> use sizeof on struct qedi_nvm_iscsi_image instead.

Applied to 5.1/scsi-fixes. Thanks!

--
Martin K. Petersen Oracle Linux Engineering