From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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.0 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,T_DKIMWL_WL_HIGH,USER_AGENT_GIT autolearn=unavailable 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 6AF29C072B1 for ; Thu, 30 May 2019 03:41:00 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4087A24BCF for ; Thu, 30 May 2019 03:41:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1559187660; bh=B7VPF/oMt7zL3kPuuXld1bWvfaY8Io0vsSaCC6cL27E=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=w7PyTBKfzMaangMzZYGyna9KMjphmjGKaaZIb6rrJ/Gm51Owx8bD488MV4xQxdGxY kcmLSj6a0OVyasY6U+LuqGaQ4tjng7T9N8XmmKOkT/oXO8OJ0hoL47g/yvp3Gp1ZSC SiKOuHLuDDZe8Db7CR3APhGlIBUY9iN25tGY63bQ= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732554AbfE3DVZ (ORCPT ); Wed, 29 May 2019 23:21:25 -0400 Received: from mail.kernel.org ([198.145.29.99]:34362 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732539AbfE3DVX (ORCPT ); Wed, 29 May 2019 23:21:23 -0400 Received: from localhost (ip67-88-213-2.z213-88-67.customer.algx.net [67.88.213.2]) (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 02D9F249BA; Thu, 30 May 2019 03:21:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1559186483; bh=B7VPF/oMt7zL3kPuuXld1bWvfaY8Io0vsSaCC6cL27E=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=gWmVStkTae6IWvDGw9YjgQfu5QDZnDK8nIXZUqklIeVBfWoyGJrcFrOwFIGjG9fDH mxRj6odPizn3Mm4cObPRtpLGoaoqM9mv457CAFVzcjVIABw/WzvgBkNOryS5RZABYP ewllpKDXRvbpqcNCwcf4ExhV1usXfkzKqRpotLmE= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Dick Kennedy , James Smart , "Martin K. Petersen" , Sasha Levin Subject: [PATCH 4.9 121/128] scsi: lpfc: Fix FDMI manufacturer attribute value Date: Wed, 29 May 2019 20:07:33 -0700 Message-Id: <20190530030456.248152223@linuxfoundation.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190530030432.977908967@linuxfoundation.org> References: <20190530030432.977908967@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: X-Mailing-List: stable@vger.kernel.org [ Upstream commit d67f935b79a76ac9d86dde1a27bdd413feb5d987 ] The FDMI manufacturer value being reported on Linux is inconsistent with other OS's. Set the value to "Emulex Corporation" for consistency. Signed-off-by: Dick Kennedy Signed-off-by: James Smart Signed-off-by: Martin K. Petersen Signed-off-by: Sasha Levin --- drivers/scsi/lpfc/lpfc_ct.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/scsi/lpfc/lpfc_ct.c b/drivers/scsi/lpfc/lpfc_ct.c index 4ac03b16d17f5..52afbcff362f9 100644 --- a/drivers/scsi/lpfc/lpfc_ct.c +++ b/drivers/scsi/lpfc/lpfc_ct.c @@ -1561,6 +1561,9 @@ lpfc_fdmi_hba_attr_manufacturer(struct lpfc_vport *vport, ae = (struct lpfc_fdmi_attr_entry *)&ad->AttrValue; memset(ae, 0, 256); + /* This string MUST be consistent with other FC platforms + * supported by Broadcom. + */ strncpy(ae->un.AttrString, "Emulex Corporation", sizeof(ae->un.AttrString)); -- 2.20.1