Re: [PATCH] fnic: fix invalid stack access

From: Martin K. Petersen
Date: Wed Jan 15 2020 - 23:06:30 EST



Arnd,

> gcc -O3 warns that some local variables are not properly initialized:
>
> drivers/scsi/fnic/vnic_dev.c: In function 'fnic_dev_hang_notify':
> drivers/scsi/fnic/vnic_dev.c:511:16: error: 'a0' is used uninitialized
> in this function [-Werror=uninitialized] vdev->args[0] = *a0;

Applied to 5.5/scsi-fixes, thanks!

--
Martin K. Petersen Oracle Linux Engineering