From patchwork Thu Dec 21 22:25:52 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: James Smart X-Patchwork-Id: 10128505 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id ACFE86019C for ; Thu, 21 Dec 2017 22:26:02 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9FD0E290E7 for ; Thu, 21 Dec 2017 22:26:02 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 93FCE29207; Thu, 21 Dec 2017 22:26:02 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 21576290E7 for ; Thu, 21 Dec 2017 22:26:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753313AbdLUW0B (ORCPT ); Thu, 21 Dec 2017 17:26:01 -0500 Received: from mail-qk0-f195.google.com ([209.85.220.195]:39419 "EHLO mail-qk0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752402AbdLUW0B (ORCPT ); Thu, 21 Dec 2017 17:26:01 -0500 Received: by mail-qk0-f195.google.com with SMTP id u184so32769868qkd.6 for ; Thu, 21 Dec 2017 14:26:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=xC8jbXub1d1AKbyJZpLv1f9I6gzUBkMjIef8WeiTVoc=; b=u7HD8RLdDKQTofIF1tZB8vPc/l3gMRTTBLbLm72Zv1VSPzL8It7Tf0XUa/WQBSgkA2 YCS8f5uGpaFURmdkz3VzmGAutjrlq0hlIYWRK/A1AUtMQimPq418zY5/Sm8q8xTcTUnC FLNZ63ONVklRLNiPjLVS8Vww6hV0ENs37mo6T8mrcfJQDoz/bTRLN9o7U76S/iV3eo79 XXUwr7h+Dm4ydpN6W/PSzvHsjzgUNaRuA8UWwIJAUOBTYRF/1ETsw4fbq6R6hzhQdcdX vVqthhTcm4eBkPQYKKRXOkQwtAg/p0C7Mh9T1G0/uBL7z6h7tiMrO7XflqFlReYKFBkN 097Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=xC8jbXub1d1AKbyJZpLv1f9I6gzUBkMjIef8WeiTVoc=; b=VfbzcKoBiOelH3UsrlgfTG1g/TtgGCdGOXq5XMuQnQ7Ui7iFLpR36yzJDGCnsW3UQT 9dvbpCz/LsDaulIOlPyLKUkPOI4/hMPNQ5qiWBivRUSvhLvKzsMfqzHq9pGvkZhO9IDJ +PjgIr8RPq9SbVKivM/0VYIFgdyzxssDw/lM8ytLHCqOURCTcq6Hqwk5jo59dESin9/e e1nsduhxQGQBbgHYNfhJqBglg5VjvB8skRNgm15di1wyVjQQd+1uJYs+HT6OMjjb0zu6 OT50QxPMjtpqX4xEK8R3+DLapVxwr7uRxUr8lcQc8LfilkYJlHg7SwkvDTYg7XaCJBOs xlrA== X-Gm-Message-State: AKGB3mJcp6WNaHHT5vBHZ4/mz410atqitlNN4pU/2wnBYWDjLM4nTJ0V wQ65GfzP80ApYs+wlGMw7cLfrA== X-Google-Smtp-Source: ACJfBosWNiLkRDByLrqy3G+KsDm/X3Ewtjhg8VKldpcS5nOrgcdVxKv5RJSSg2mdWd22hVtzzKYQFw== X-Received: by 10.55.217.82 with SMTP id u79mr17686077qki.42.1513895160155; Thu, 21 Dec 2017 14:26:00 -0800 (PST) Received: from pallmd1.broadcom.com ([192.19.228.250]) by smtp.gmail.com with ESMTPSA id k5sm6455287qkk.4.2017.12.21.14.25.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 21 Dec 2017 14:25:59 -0800 (PST) From: James Smart To: linux-scsi@vger.kernel.org Cc: James Smart , James Smart Subject: [PATCH] scsi: scsi_transport_fc: fix typos on 64/128 GBit define names Date: Thu, 21 Dec 2017 14:25:52 -0800 Message-Id: <20171221222552.12470-1-jsmart2021@gmail.com> X-Mailer: git-send-email 2.13.1 Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The define names specified 64Bit/128Bit, not 64GBIT/128GBIT. Correct the names. Signed-off-by: James Smart Reviewed-by: Johannes Thumshirn --- drivers/scsi/scsi_transport_fc.c | 4 ++-- include/scsi/scsi_transport_fc.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/scsi/scsi_transport_fc.c b/drivers/scsi/scsi_transport_fc.c index 4664024bd5d3..be3be0f9cb2d 100644 --- a/drivers/scsi/scsi_transport_fc.c +++ b/drivers/scsi/scsi_transport_fc.c @@ -267,8 +267,8 @@ static const struct { { FC_PORTSPEED_50GBIT, "50 Gbit" }, { FC_PORTSPEED_100GBIT, "100 Gbit" }, { FC_PORTSPEED_25GBIT, "25 Gbit" }, - { FC_PORTSPEED_64BIT, "64 Gbit" }, - { FC_PORTSPEED_128BIT, "128 Gbit" }, + { FC_PORTSPEED_64GBIT, "64 Gbit" }, + { FC_PORTSPEED_128GBIT, "128 Gbit" }, { FC_PORTSPEED_NOT_NEGOTIATED, "Not Negotiated" }, }; fc_bitfield_name_search(port_speed, fc_port_speed_names) diff --git a/include/scsi/scsi_transport_fc.h b/include/scsi/scsi_transport_fc.h index 8cf30215c177..15da45dc2a5d 100644 --- a/include/scsi/scsi_transport_fc.h +++ b/include/scsi/scsi_transport_fc.h @@ -139,8 +139,8 @@ enum fc_vport_state { #define FC_PORTSPEED_50GBIT 0x200 #define FC_PORTSPEED_100GBIT 0x400 #define FC_PORTSPEED_25GBIT 0x800 -#define FC_PORTSPEED_64BIT 0x1000 -#define FC_PORTSPEED_128BIT 0x2000 +#define FC_PORTSPEED_64GBIT 0x1000 +#define FC_PORTSPEED_128GBIT 0x2000 #define FC_PORTSPEED_NOT_NEGOTIATED (1 << 15) /* Speed not established */ /*