From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from userp2130.oracle.com ([156.151.31.86]:40136 "EHLO userp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750803AbeEBDVy (ORCPT ); Tue, 1 May 2018 23:21:54 -0400 To: Dave Carroll Cc: "Martin K . Petersen" , Noah Misner , James Bottomley , "Hannes Reinecke" , linux-scsi , , Scott Benesh , Subject: Re: [PATCH] aacraid: Correct hba_send to include iu_type From: "Martin K. Petersen" References: <20180425162420.612-1-david.carroll@microsemi.com> Date: Tue, 01 May 2018 23:21:40 -0400 In-Reply-To: <20180425162420.612-1-david.carroll@microsemi.com> (Dave Carroll's message of "Wed, 25 Apr 2018 10:24:20 -0600") Message-ID: MIME-Version: 1.0 Content-Type: text/plain Sender: stable-owner@vger.kernel.org List-ID: Dave, > commit b60710ec7d7ab ("aacraid: enable sending of TMFs from aac_hba_send()") > > allows aac_hba_send() to send scsi commands, and TMF requests, but the existing > code only updates the iu_type for scsi commands. For TMF requests we are sending > an unknown iu_type to firmware, which causes a fault. > > Include iu_type prior to determining the validity of the command Applied to 4.17/scsi-fixes. Thank you! -- Martin K. Petersen Oracle Linux Engineering