From patchwork Wed Sep 1 18:53:15 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Edwin Peer X-Patchwork-Id: 12470107 X-Patchwork-Delegate: kuba@kernel.org 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=-18.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,MIME_NO_TEXT, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham 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 6D45DC43214 for ; Wed, 1 Sep 2021 18:55:15 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 5376C60234 for ; Wed, 1 Sep 2021 18:55:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245499AbhIAS4J (ORCPT ); Wed, 1 Sep 2021 14:56:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35224 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347177AbhIASyd (ORCPT ); Wed, 1 Sep 2021 14:54:33 -0400 Received: from mail-pj1-x1036.google.com (mail-pj1-x1036.google.com [IPv6:2607:f8b0:4864:20::1036]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 584A2C061575 for ; Wed, 1 Sep 2021 11:53:35 -0700 (PDT) Received: by mail-pj1-x1036.google.com with SMTP id l3so238772pji.5 for ; Wed, 01 Sep 2021 11:53:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:cc:subject:date:message-id:mime-version; bh=J29Lf+0hB2eYHDh6d9jblBEPSeeb0TyZUAXDMuNGCQE=; b=XjPjJClZ+i/UnPmNszKewyd+YmKwrKeOy6kE8EJIgvIvvNN1AZWtTHOFB09As0EM9V 31l2cWQvKK1fSSCNczNBm3hN+267jFaFRjZJ/bJagV+8n5SEBsJOKnmzbJ/JVHIJLfWb Kcse7j3voqaA64X9KWQV5+02q/2tHcYF5kO3A= 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:mime-version; bh=J29Lf+0hB2eYHDh6d9jblBEPSeeb0TyZUAXDMuNGCQE=; b=mpek6UUQtURfR6E9+Ep9q8a4qfXUWX5bHz7mVNcjb8UsCvTGJFlrRZSiD7xI5IXKvC J0Of0hKDYozckbme0eQt5Q/paWBl/yWIgJZr9H+JT5ipX/WhuDSk3qipZxAYtBE+Yrho j/5aQ6/CXWkdrlBxOsqI2BgC7nwj1HQQNbJcq5HMDF07fbdYGQiqCxtyiDekj8aAS6Pb 5GneT4l4kIIjmyNyJLx3qZTKH6fSU8E3K8evK8GhAEVGM5KKe27T2dWv2Ua+fCj4TR7K qmLCZq1jVh5I6XibMM8x09Hr6rETVKiD0d8iwC6YJAlq3rH7k56rrtPK7Jrsfd6yCJVi VSFg== X-Gm-Message-State: AOAM530hRz6G/B/OrM90NLxvYh4HizSHUgbYOA8NIz5pHzU7OQV8TAKO dly9zhZYGdj0+zru/7IgNw8qW38FcGKEaiQKqpN49ZbnS1lz8ePJp1//3EftRRb8RNYmqwpWeMZ NzyiA5908OenUEj36hm+z546bj/N9iaGFaW9OldlldDOGEnccd4kOuRm9PQ7w+HLZ66O17SyG X-Google-Smtp-Source: ABdhPJyPSsJ+Zx0ewDk0uMzJpup9ZU/HSRRH7yPTGdksBhWwCN00S/+CxSIY0mz80rrU7tuGvmTXug== X-Received: by 2002:a17:902:e9c6:b0:138:7942:a01a with SMTP id 6-20020a170902e9c600b001387942a01amr562339plk.14.1630522414447; Wed, 01 Sep 2021 11:53:34 -0700 (PDT) Received: from hex.swdvt.lab.broadcom.net ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id p24sm449161pgm.54.2021.09.01.11.53.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Sep 2021 11:53:34 -0700 (PDT) From: Edwin Peer To: netdev@vger.kernel.org Cc: michael.chan@broadcom.com, andrew.gospodarek@broadcom.com, davem@davemloft.net, kuba@kernel.org, Edwin Peer Subject: [PATCH net] bnxt_en: fix kernel doc warnings in bnxt_hwrm.c Date: Wed, 1 Sep 2021 11:53:15 -0700 Message-Id: <20210901185315.57137-1-edwin.peer@broadcom.com> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org Parameter names in the comments did not match the function arguments. Fixes: 213808170840 ("bnxt_en: add support for HWRM request slices") Signed-off-by: Edwin Peer Reported-by: Jakub Kicinski Reviewed-by: Michael Chan Reviewed-by: Florian Fainelli --- drivers/net/ethernet/broadcom/bnxt/bnxt_hwrm.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/net/ethernet/broadcom/bnxt/bnxt_hwrm.c b/drivers/net/ethernet/broadcom/bnxt/bnxt_hwrm.c index acef61abe35d..bb7327b82d0b 100644 --- a/drivers/net/ethernet/broadcom/bnxt/bnxt_hwrm.c +++ b/drivers/net/ethernet/broadcom/bnxt/bnxt_hwrm.c @@ -145,11 +145,11 @@ void hwrm_req_timeout(struct bnxt *bp, void *req, unsigned int timeout) * @bp: The driver context. * @req: The request for which calls to hwrm_req_dma_slice() will have altered * allocation flags. - * @flags: A bitmask of GFP flags. These flags are passed to - * dma_alloc_coherent() whenever it is used to allocate backing memory - * for slices. Note that calls to hwrm_req_dma_slice() will not always - * result in new allocations, however, memory suballocated from the - * request buffer is already __GFP_ZERO. + * @gfp: A bitmask of GFP flags. These flags are passed to dma_alloc_coherent() + * whenever it is used to allocate backing memory for slices. Note that + * calls to hwrm_req_dma_slice() will not always result in new allocations, + * however, memory suballocated from the request buffer is already + * __GFP_ZERO. * * Sets the GFP allocation flags associated with the request for subsequent * calls to hwrm_req_dma_slice(). This can be useful for specifying __GFP_ZERO @@ -698,8 +698,8 @@ int hwrm_req_send_silent(struct bnxt *bp, void *req) * @bp: The driver context. * @req: The request for which indirect data will be associated. * @size: The size of the allocation. - * @dma: The bus address associated with the allocation. The HWRM API has no - * knowledge about the type of the request and so cannot infer how the + * @dma_handle: The bus address associated with the allocation. The HWRM API has + * no knowledge about the type of the request and so cannot infer how the * caller intends to use the indirect data. Thus, the caller is * responsible for configuring the request object appropriately to * point to the associated indirect memory. Note, DMA handle has the