Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751547AbdIPBqs (ORCPT ); Fri, 15 Sep 2017 21:46:48 -0400 Received: from userp1040.oracle.com ([156.151.31.81]:39825 "EHLO userp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751117AbdIPBqq (ORCPT ); Fri, 15 Sep 2017 21:46:46 -0400 To: Nikola Pajkovsky Cc: Adaptec OEM Raid Solutions , Hannes Reinecke , "James E.J. Bottomley" , "Martin K. Petersen" , linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] scsi: aacraid: error: testing array offset 'bus' after use From: "Martin K. Petersen" Organization: Oracle Corporation References: Date: Fri, 15 Sep 2017 21:46:34 -0400 In-Reply-To: (Nikola Pajkovsky's message of "Wed, 13 Sep 2017 10:46:17 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Source-IP: userv0022.oracle.com [156.151.31.74] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 214 Lines: 10 Nikola, > Fix possible indexing array of bound for &aac->hba_map[bus][cid], > where bus and cid boundary check happens later. Applied to 4.14/scsi-fixes. Thanks! -- Martin K. Petersen Oracle Linux Engineering