Re: [PATCH] isci: avoid array subscript warning

From: Martin K. Petersen
Date: Tue Nov 29 2016 - 11:46:57 EST


>>>>> "Arnd" == Arnd Bergmann <arnd@xxxxxxxx> writes:

Arnd> I'm getting a new warning with gcc-7: isci/remote_node_context.c:
Arnd> In function 'sci_remote_node_context_destruct':
Arnd> isci/remote_node_context.c:69:16: error: array subscript is above
Arnd> array bounds [-Werror=array-bounds]

Applied to 4.10/scsi-queue.

--
Martin K. Petersen Oracle Linux Engineering