Received: by 2002:ac0:c50a:0:0:0:0:0 with SMTP id y10csp1018466imi; Fri, 1 Jul 2022 00:56:03 -0700 (PDT) X-Google-Smtp-Source: AGRyM1t71WwPSrKKBXcapcpsu6oJZTvweGJacoXxaIrHGwsqafuYGs6Na0y7edmJ81NTnAycsyUg X-Received: by 2002:a05:6a00:430e:b0:525:26c1:973e with SMTP id cb14-20020a056a00430e00b0052526c1973emr18872249pfb.52.1656662163700; Fri, 01 Jul 2022 00:56:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656662163; cv=none; d=google.com; s=arc-20160816; b=VF6mACylJOEDPdqW1KwnJ2YkqrjA3LqA+S8ADEcFnZGdTXWP8ylJ1fHKkTaR7in3am r358QxNbL6tkIrJLNlGXM6asmRHiTQhkX+nDnkZYo+Be4UW5IZ9REgIe+WP4LexDGdMg gYSX7dutnaI33HWhxVslh+oCguTfQr2Lkin0FwyHptqNIWdUbstNWBqW2jTT193k7kWF j7xixeXD+N/GQplfbnq4PaLTf7OTZFWDe5N1Fx9eNz3tSECdtgsbwdRry2QYfFF8cse5 OyTKIEGD9MqEGA7w5kKvLJa76aND8MaCQvcGimVeeo8/jiexry55gehSxXCO0zzkCb6d W4Vw== 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=5uY1iDmkiTPcdAlyYVJQxuoTteushdhDH1WWXGe9rFE=; b=0sbPPCS7OPe2TnLB14Bxn2AYCEZwmaihXmm+vu83DuATutKmshGmkdDVwQifMYFXN1 wMIZRIoerfeAc3J9C6Ot5d/yT12W0K0BAD8ymZTy092OBlI92f8f7PQPm/sbUgT+qKLH S8yum9SMu0w/hyyFLKErUbtAS5fk3TpBUZ5Op2uis2GcIqPk51UTxxAkhqNMtrX9cS1V QHuZCXFT3nISBZuKY1///f7rAuhpW2eWpDXg69HdZtNbwK2LhkIfpvUI3LJioJaAoHUw wJ2Qz8Wdp81yd+Z46De+6pZ18a+tw/UKS5nsjFPB1Bhkn1vQ1tIj1fzRkGXIRBiXkqjk 0bPQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l68-20020a622547000000b005254eb1b2edsi26070923pfl.338.2022.07.01.00.55.47; Fri, 01 Jul 2022 00:56:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235572AbiGAHsd (ORCPT + 99 others); Fri, 1 Jul 2022 03:48:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44460 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235558AbiGAHsW (ORCPT ); Fri, 1 Jul 2022 03:48:22 -0400 Received: from mail.nfschina.com (unknown [IPv6:2400:dd01:100f:2:72e2:84ff:fe10:5f45]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id ECA1913F93; Fri, 1 Jul 2022 00:48:19 -0700 (PDT) Received: from localhost (unknown [127.0.0.1]) by mail.nfschina.com (Postfix) with ESMTP id D43B41E80D92; Fri, 1 Jul 2022 15:46:50 +0800 (CST) X-Virus-Scanned: amavisd-new at test.com Received: from mail.nfschina.com ([127.0.0.1]) by localhost (mail.nfschina.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XMRAIELn1E8W; Fri, 1 Jul 2022 15:46:48 +0800 (CST) Received: from localhost.localdomain (unknown [112.65.12.78]) (Authenticated sender: jiaming@nfschina.com) by mail.nfschina.com (Postfix) with ESMTPA id D6F421E80D21; Fri, 1 Jul 2022 15:46:46 +0800 (CST) From: Zhang Jiaming To: dennis.dalessandro@cornelisnetworks.com, jgg@ziepe.ca, leon@kernel.org Cc: linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org, liqiong@nfschina.com, renyu@nfschina.com, Zhang Jiaming Subject: [PATCH] IB/qib: Fix typo in comments Date: Fri, 1 Jul 2022 15:48:12 +0800 Message-Id: <20220701074812.12615-1-jiaming@nfschina.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,RDNS_NONE, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org There is a typo (writeable) in qib_file_ops.c and qib_sd7220.c's comments. Fix it. Signed-off-by: Zhang Jiaming --- drivers/infiniband/hw/qib/qib_file_ops.c | 4 ++-- drivers/infiniband/hw/qib/qib_sd7220.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/infiniband/hw/qib/qib_file_ops.c b/drivers/infiniband/hw/qib/qib_file_ops.c index aa290928cf96..f61e07f684cf 100644 --- a/drivers/infiniband/hw/qib/qib_file_ops.c +++ b/drivers/infiniband/hw/qib/qib_file_ops.c @@ -851,7 +851,7 @@ static int mmap_rcvegrbufs(struct vm_area_struct *vma, ret = -EPERM; goto bail; } - /* don't allow them to later change to writeable with mprotect */ + /* don't allow them to later change to writable with mprotect */ vma->vm_flags &= ~VM_MAYWRITE; start = vma->vm_start; @@ -941,7 +941,7 @@ static int mmap_kvaddr(struct vm_area_struct *vma, u64 pgaddr, goto bail; } /* - * Don't allow permission to later change to writeable + * Don't allow permission to later change to writable * with mprotect. */ vma->vm_flags &= ~VM_MAYWRITE; diff --git a/drivers/infiniband/hw/qib/qib_sd7220.c b/drivers/infiniband/hw/qib/qib_sd7220.c index 81b810d006c0..1dc3ccf0cf1f 100644 --- a/drivers/infiniband/hw/qib/qib_sd7220.c +++ b/drivers/infiniband/hw/qib/qib_sd7220.c @@ -587,7 +587,7 @@ static int epb_access(struct qib_devdata *dd, int sdnum, int claim) /* Need to release */ u64 pollval; /* - * The only writeable bits are the request and CS. + * The only writable bits are the request and CS. * Both should be clear */ u64 newval = 0; -- 2.25.1