From patchwork Mon May 17 09:59:45 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhen Lei X-Patchwork-Id: 440074 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp934516jac; Mon, 17 May 2021 03:00:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxxlHHyReMnb0vRyptWvPeCWmfZ9Xj8snL7aHuk1HClyJuOzqiKAEgX0wsDxvQByGaZ/Qvs X-Received: by 2002:a17:907:960b:: with SMTP id gb11mr60682712ejc.123.1621245630196; Mon, 17 May 2021 03:00:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621245630; cv=none; d=google.com; s=arc-20160816; b=zh7mRb4K33j2OtRomp6XILhMuireirVoTsqScdV+JvmIZhT6G6jyZoo+tnR/Y83FYJ hW1LIboIVtvtZDOJuUT9LNVfBcI6FYzvkcjTZ0bYHwydUdug/MxSFHi6ve5TXQo5ikJ/ /HXDOhN8dS/SAir/IioBA/ItsbUAHWzFfZBITu5ceJdmagEPgxft0iB3UKZNGTxutHxA dqVrIYShb2f7piWDv8zvpRG8yAq/HMQlnSjL3Kq/IRrpMFVMbrCpS5DulCINdx2kfLre 8PcZVNp3t8VsTF6lRqgvWQrtQvd0lEgQq4pxRch4luYOEcwzUG3Ss1omVdNZhYZhMF8j 9M5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=YeHY/Px4BEdjrQ6Eh32ipcrcDzl+sGY2h8a5Mg50Ioo=; b=0FmASM+/a4iPTWXj5I53hnqY6c+QREsPVORmkNklvQRCyAXjn88WqUGEf9roeXCmjl NGmd899QnOb8q2UfEpBF3G4A1DYvY3ORiu/TFNvt2Tn2J8Fl36fuXlbGKUPHZ6i76g1O bYo5/LTSSR4e49uG1MxeaEOobS9s+pgp4osW+MIOLL0MclxhrZ52thGktRY/lUYG8kfD yp6Nheh4q5fZ8hB2RAFNLDLIjk/iUBQgQlu2UUQC80yZX6EUSxSUfjy+e/m++McykeHH 7gRj95NRQ/JBeujlc8m10ZGHznjwKS+j3y3+IcBLDl05sHupI65QEa/HkMuHZ2po1itg 76bw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-scsi-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-scsi-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h10si824024eje.47.2021.05.17.03.00.30 for ; Mon, 17 May 2021 03:00:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-scsi-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-scsi-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-scsi-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236114AbhEQKBm (ORCPT ); Mon, 17 May 2021 06:01:42 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:2996 "EHLO szxga05-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236457AbhEQKBL (ORCPT ); Mon, 17 May 2021 06:01:11 -0400 Received: from dggems704-chm.china.huawei.com (unknown [172.30.72.60]) by szxga05-in.huawei.com (SkyGuard) with ESMTP id 4FkDzs2wvwzQpQ0; Mon, 17 May 2021 17:56:25 +0800 (CST) Received: from dggpemm500006.china.huawei.com (7.185.36.236) by dggems704-chm.china.huawei.com (10.3.19.181) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Mon, 17 May 2021 17:59:53 +0800 Received: from thunder-town.china.huawei.com (10.174.177.72) by dggpemm500006.china.huawei.com (7.185.36.236) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Mon, 17 May 2021 17:59:52 +0800 From: Zhen Lei To: Lee Duncan , Chris Leech , "James E . J . Bottomley" , "Martin K . Petersen" , Hannes Reinecke , Doug Gilbert , open-iscsi , linux-scsi CC: Zhen Lei Subject: [PATCH 1/1] scsi: Fix spelling mistakes in header files Date: Mon, 17 May 2021 17:59:45 +0800 Message-ID: <20210517095945.7363-1-thunder.leizhen@huawei.com> X-Mailer: git-send-email 2.26.0.windows.1 MIME-Version: 1.0 X-Originating-IP: [10.174.177.72] X-ClientProxiedBy: dggems704-chm.china.huawei.com (10.3.19.181) To dggpemm500006.china.huawei.com (7.185.36.236) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org Fix some spelling mistakes in comments: pathes ==> paths Resouce ==> Resource retreived ==> retrieved keep-alives ==> keep-alive recevied ==> received busses ==> buses interruped ==> interrupted Signed-off-by: Zhen Lei --- include/scsi/iscsi_proto.h | 2 +- include/scsi/libfc.h | 6 +++--- include/scsi/libfcoe.h | 2 +- include/scsi/scsi_bsg_iscsi.h | 2 +- include/scsi/scsi_host.h | 2 +- include/scsi/sg.h | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) -- 2.25.1 diff --git a/include/scsi/iscsi_proto.h b/include/scsi/iscsi_proto.h index b71b5c4f418c..7b192d88f186 100644 --- a/include/scsi/iscsi_proto.h +++ b/include/scsi/iscsi_proto.h @@ -52,7 +52,7 @@ static inline int iscsi_sna_gte(u32 n1, u32 n2) } /* - * useful common(control and data pathes) macro + * useful common(control and data paths) macro */ #define ntoh24(p) (((p)[0] << 16) | ((p)[1] << 8) | ((p)[2])) #define hton24(p, v) { \ diff --git a/include/scsi/libfc.h b/include/scsi/libfc.h index 9b87e1a1c646..eeb8d689ff6b 100644 --- a/include/scsi/libfc.h +++ b/include/scsi/libfc.h @@ -399,7 +399,7 @@ struct fc_seq { * @sid: Source FCID * @did: Destination FCID * @esb_stat: ESB exchange status - * @r_a_tov: Resouce allocation time out value (in msecs) + * @r_a_tov: Resource allocation time out value (in msecs) * @seq_id: The next sequence ID to use * @encaps: encapsulation information for lower-level driver * @f_ctl: F_CTL flags for the sequence @@ -668,7 +668,7 @@ enum fc_lport_event { * @wwnn: World Wide Node Name * @service_params: Common service parameters * @e_d_tov: Error detection timeout value - * @r_a_tov: Resouce allocation timeout value + * @r_a_tov: Resource allocation timeout value * @rnid_gen: RNID information * @sg_supp: Indicates if scatter gather is supported * @seq_offload: Indicates if sequence offload is supported @@ -841,7 +841,7 @@ static inline void fc_lport_free_stats(struct fc_lport *lport) /** * lport_priv() - Return the private data from a local port - * @lport: The local port whose private data is to be retreived + * @lport: The local port whose private data is to be retrieved */ static inline void *lport_priv(const struct fc_lport *lport) { diff --git a/include/scsi/libfcoe.h b/include/scsi/libfcoe.h index fac8e89aed81..089aa1f201ac 100644 --- a/include/scsi/libfcoe.h +++ b/include/scsi/libfcoe.h @@ -87,7 +87,7 @@ enum fip_mode { * @port_ka_time: time of next port keep-alive. * @ctlr_ka_time: time of next controller keep-alive. * @timer: timer struct used for all delayed events. - * @timer_work: &work_struct for doing keep-alives and resets. + * @timer_work: &work_struct for doing keep-alive and resets. * @recv_work: &work_struct for receiving FIP frames. * @fip_recv_list: list of received FIP frames. * @flogi_req: clone of FLOGI request sent diff --git a/include/scsi/scsi_bsg_iscsi.h b/include/scsi/scsi_bsg_iscsi.h index 6b8128005af8..9b1f0f424a79 100644 --- a/include/scsi/scsi_bsg_iscsi.h +++ b/include/scsi/scsi_bsg_iscsi.h @@ -84,7 +84,7 @@ struct iscsi_bsg_reply { */ uint32_t result; - /* If there was reply_payload, how much was recevied ? */ + /* If there was reply_payload, how much was received ? */ uint32_t reply_payload_rcv_len; union { diff --git a/include/scsi/scsi_host.h b/include/scsi/scsi_host.h index d0bf88d77f02..9448225a9904 100644 --- a/include/scsi/scsi_host.h +++ b/include/scsi/scsi_host.h @@ -582,7 +582,7 @@ struct Scsi_Host { /* * These three parameters can be used to allow for wide scsi, - * and for host adapters that support multiple busses + * and for host adapters that support multiple buses * The last two should be set to 1 more than the actual max id * or lun (e.g. 8 for SCSI parallel systems). */ diff --git a/include/scsi/sg.h b/include/scsi/sg.h index 7327e12f3373..e1a42c2409cc 100644 --- a/include/scsi/sg.h +++ b/include/scsi/sg.h @@ -145,7 +145,7 @@ typedef struct sg_scsi_id { /* used by SG_GET_SCSI_ID ioctl() */ typedef struct sg_req_info { /* used by SG_GET_REQUEST_TABLE ioctl() */ char req_state; /* 0 -> not used, 1 -> written, 2 -> ready to read */ - char orphan; /* 0 -> normal request, 1 -> from interruped SG_IO */ + char orphan; /* 0 -> normal request, 1 -> from interrupted SG_IO */ char sg_io_owned; /* 0 -> complete with read(), 1 -> owned by SG_IO */ char problem; /* 0 -> no problem detected, 1 -> error to report */ int pack_id; /* pack_id associated with request */