From patchwork Fri Dec 16 09:52:25 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Miaoqian Lin X-Patchwork-Id: 33929 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:e747:0:0:0:0:0 with SMTP id c7csp881756wrn; Fri, 16 Dec 2022 02:20:42 -0800 (PST) X-Google-Smtp-Source: AA0mqf7GzPfMejBsVd1unlWhI0vXSkPt/3Ge1GUIrsupJXij3bUeEhH9ohFN3Aaw9dQTSR+J3GMa X-Received: by 2002:a17:902:ab54:b0:189:6bda:e98f with SMTP id ij20-20020a170902ab5400b001896bdae98fmr31412636plb.58.1671186041840; Fri, 16 Dec 2022 02:20:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671186041; cv=none; d=google.com; s=arc-20160816; b=H8iir0Hb3B9U1SfEYCGKztW3SY3ZNYd5wIJa/WMhcMYbDF6jjzDBBvOhTY5os2upRD oOrk8ajRxOgddPCXKWhrXtEC7fhY8cUQA4p6ylTuGUFIoZDOzCcbU81DJHszptwlCttj lk5PEEmDCaPFbJwJCTRbbmNUT9J6MgsmsdWjhcd7MwEIKo+vbkdF7fVuUh2/HlubuNnT +XWUav5+YU6eqY/yO/N40XPvcGrjUO24CJ3buC8BvwzZ7BzfGqBTk9ok8RStwtrudBLC 7THk1gUEHUQJpw0G5B3qveGcOwYhd/nRre93z74rWV08Tv1mSAi/V43GDI8O0xQadaLe oqdg== 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:dkim-signature; bh=rWshI90xMzDUIS1AOWubI86cljSuh0fWw5xZsMVvuLs=; b=zXbjG0whpCLrd+zAdsqt/aUdplYbEUUEIhxoL/soCh/bvIC+US8UIT1+hgukgti6c+ UJ5c64ilr7yaZmXxXoGvK5LhkaB9Ky1zImA7eCr2D2vub0VeV8ZfI0c0vuAWGK5KYEBS WpYoT0CjlLP16324DjZrYlt8VOZLoiFPj7SJSccxRDWk1paWrh30BZiM5C6raY8MX7AG PCRkxs8ihTtV7gE90BXhT6oMzK5KgkB8iEqojJW642VbZGEluhkm3QmXHsukyUaWNIKZ vXaxzEQy0GMW9XnlaEF19HB/wY7apu1KYt1LAHxXCgqaNQTrrF0Z7qudnXesnqNcH4yA E+Ag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=P1+R1ohO; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j5-20020a170903028500b00189957dd208si2095185plr.220.2022.12.16.02.20.28; Fri, 16 Dec 2022 02:20:41 -0800 (PST) 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; dkim=pass header.i=@gmail.com header.s=20210112 header.b=P1+R1ohO; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230259AbiLPJwi (ORCPT + 99 others); Fri, 16 Dec 2022 04:52:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40886 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230248AbiLPJwg (ORCPT ); Fri, 16 Dec 2022 04:52:36 -0500 Received: from mail-pf1-x436.google.com (mail-pf1-x436.google.com [IPv6:2607:f8b0:4864:20::436]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D408547325; Fri, 16 Dec 2022 01:52:33 -0800 (PST) Received: by mail-pf1-x436.google.com with SMTP id g1so1437581pfk.2; Fri, 16 Dec 2022 01:52:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=rWshI90xMzDUIS1AOWubI86cljSuh0fWw5xZsMVvuLs=; b=P1+R1ohOAFjqmlJ+2eyMKtgnCN3KnsH9SpGn1HGKxYhA1qcAA0jGu8CJF/lCWqeNkb JcV9Lo8MXNRRfO2S9g1DHqKow9iyILSVsBASW31mAGkdfOH/SH85XIZfnV8kXyps0XMm Ibh6PQWDQQ1/s716PCMX54atsVIySZSO3Y0uVYflL+CFN5M5VduYB935oZ+d9uxwJpwq h+m/aw/rR9I5YT7xzBonK/GpIpBJElGPP7XAQ04b6lPFxervOwHYi3ElArY+ETCBnmMn txfmCS8G8V0fzWqqh6o2oTU52hGECkeokRP1XhnUBwXb09Ow2iHRpiUMPiElqxtvdMas B5Bw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=rWshI90xMzDUIS1AOWubI86cljSuh0fWw5xZsMVvuLs=; b=LO0niTj1zjUZEELE3bo6MV4qaCZFQP1uZrFLpoldZKL8NDQSTD87ebc9bul6EtDYKj uNvDoRfDabNiik4BgwAV4h/YIHNhJ8MFK80/MVZcEEKVzU2xlUOeQbnbgPb3Gl4OEGNw 0fxEswg5wqfV840XpUnhztBoDgVGFjyLGneGIM+n+H37cxnWL7qWMv4fLnPz9TsHBUjJ aUWaMQQBptBLf5wkF8Dq96ZxktG5+4G9tsNSxFBsSApAy7BQqwJlQt/t+DNpiI9RF/SL /e250vswAZzYlEWlNGJkTsf48ndNdsY9G+XX5io3w0xaHmRzVoqFUaWq0mKlANn6L5jm 7Mog== X-Gm-Message-State: ANoB5pkpWF/igjKhfBcxwPMUZ33GrWFubRMvEw7ZuqhtvJ1hnoIrE1pA 6mjjgRag7ctGI+JyDgSbGF0= X-Received: by 2002:a05:6a00:1d04:b0:578:8533:9573 with SMTP id a4-20020a056a001d0400b0057885339573mr18148378pfx.22.1671184353285; Fri, 16 Dec 2022 01:52:33 -0800 (PST) Received: from localhost.localdomain ([202.120.234.246]) by smtp.googlemail.com with ESMTPSA id v10-20020a62c30a000000b0057ef1262347sm1074040pfg.19.2022.12.16.01.52.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Dec 2022 01:52:32 -0800 (PST) From: Miaoqian Lin To: Dennis Dalessandro , Jason Gunthorpe , Leon Romanovsky , linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org Cc: linmq006@gmail.com Subject: [PATCH] RDMA/hfi1: Fix doc for hfi1_free_ctxt Date: Fri, 16 Dec 2022 13:52:25 +0400 Message-Id: <20221216095225.685353-1-linmq006@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1752365574581847026?= X-GMAIL-MSGID: =?utf-8?q?1752365574581847026?= Fix the typo of hfi1_create_ctxtdata. Signed-off-by: Miaoqian Lin --- drivers/infiniband/hw/hfi1/init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/infiniband/hw/hfi1/init.c b/drivers/infiniband/hw/hfi1/init.c index 24c0f0d257fc..62b6c5020039 100644 --- a/drivers/infiniband/hw/hfi1/init.c +++ b/drivers/infiniband/hw/hfi1/init.c @@ -464,7 +464,7 @@ int hfi1_create_ctxtdata(struct hfi1_pportdata *ppd, int numa, * * This wrapper is the free function that matches hfi1_create_ctxtdata(). * When a context is done being used (kernel or user), this function is called - * for the "final" put to match the kref init from hf1i_create_ctxtdata(). + * for the "final" put to match the kref init from hfi1_create_ctxtdata(). * Other users of the context do a get/put sequence to make sure that the * structure isn't removed while in use. */