From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932740AbcK2Qqz (ORCPT ); Tue, 29 Nov 2016 11:46:55 -0500 Received: from userp1040.oracle.com ([156.151.31.81]:20343 "EHLO userp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932411AbcK2Qqp (ORCPT ); Tue, 29 Nov 2016 11:46:45 -0500 To: Arnd Bergmann Cc: "James E.J. Bottomley" , "Martin K. Petersen" , Intel SCU Linux support , Artur Paszkiewicz , Bart Van Assche , Colin Ian King , linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] isci: avoid array subscript warning From: "Martin K. Petersen" Organization: Oracle Corporation References: <20161118161418.755779-1-arnd@arndb.de> Date: Tue, 29 Nov 2016 11:46:28 -0500 In-Reply-To: <20161118161418.755779-1-arnd@arndb.de> (Arnd Bergmann's message of "Fri, 18 Nov 2016 17:14:01 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Source-IP: aserv0022.oracle.com [141.146.126.234] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org >>>>> "Arnd" == Arnd Bergmann 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