Message ID | 20200501131535.521378337@linuxfoundation.org |
---|---|
State | Superseded |
Headers | show
Return-Path: <SRS0=1/SS=6P=vger.kernel.org=stable-owner@kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.8 required=3.0 tests=DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 86429C4724C for <stable@archiver.kernel.org>; Fri, 1 May 2020 13:58:17 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 57FB82051A for <stable@archiver.kernel.org>; Fri, 1 May 2020 13:58:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1588341497; bh=oN4xXc//JXVyLYe37q429CpdJ1zd5XafytMl0uRgsEU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=NI/dyG50NszppMYUTTZCMjr6Knp3DeHzdSMfyUY/Sv9gCySxEhsClYUWg96Yk042q RxDyAeHKr9+bE4MtCwro7VQFwo4ZOLBzohHGQVzZPN05OPJRfV16uiIiQ57m7XAW24 EI9zm4q5dnX7E/QHIWQ/gHV0i8GHGUVrhxiKV/Tg= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729134AbgEAN6Q (ORCPT <rfc822;stable@archiver.kernel.org>); Fri, 1 May 2020 09:58:16 -0400 Received: from mail.kernel.org ([198.145.29.99]:54776 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729993AbgEANak (ORCPT <rfc822;stable@vger.kernel.org>); Fri, 1 May 2020 09:30:40 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 50055208C3; Fri, 1 May 2020 13:30:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1588339839; bh=oN4xXc//JXVyLYe37q429CpdJ1zd5XafytMl0uRgsEU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=oWeEoDRcEpaFJtX7tRixcryGQuRR8u8sq5f7wDqIWw81rasbaZOJe+vVzfrSWqiXy Fky+dIXtar0UaRo+coAo4kdedYAOpJ4dXLIogWA886i2QoiUrpVHY5NWkf7OebLq2D RAMypqZJ4LrV+r8SrOSA8TG/NTXorbXOGZo2voeo= From: Greg Kroah-Hartman <gregkh@linuxfoundation.org> To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>, stable@vger.kernel.org, Bodo Stroesser <bstroesser@ts.fujitsu.com>, Mike Christie <mchristi@redhat.com>, "Martin K. Petersen" <martin.petersen@oracle.com>, Sasha Levin <sashal@kernel.org> Subject: [PATCH 4.9 68/80] scsi: target: fix PR IN / READ FULL STATUS for FC Date: Fri, 1 May 2020 15:22:02 +0200 Message-Id: <20200501131535.521378337@linuxfoundation.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200501131513.810761598@linuxfoundation.org> References: <20200501131513.810761598@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: <stable.vger.kernel.org> X-Mailing-List: stable@vger.kernel.org |
Series |
None
|
expand
|
diff --git a/drivers/target/target_core_fabric_lib.c b/drivers/target/target_core_fabric_lib.c index 6e75095af6818..2ecb2f7042a13 100644 --- a/drivers/target/target_core_fabric_lib.c +++ b/drivers/target/target_core_fabric_lib.c @@ -75,7 +75,7 @@ static int fc_get_pr_transport_id( * encoded TransportID. */ ptr = &se_nacl->initiatorname[0]; - for (i = 0; i < 24; ) { + for (i = 0; i < 23; ) { if (!strncmp(&ptr[i], ":", 1)) { i++; continue;