Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1154213pxb; Wed, 4 Nov 2020 01:10:26 -0800 (PST) X-Google-Smtp-Source: ABdhPJxNA3TYNE2TiOyrsA9cYUFf2fx3hGytMJ7sCNjEuMkNAi1vKeYL1kA8ZnEgIifvqueyOWqi X-Received: by 2002:a17:906:3acd:: with SMTP id z13mr24880425ejd.118.1604481026375; Wed, 04 Nov 2020 01:10:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604481026; cv=none; d=google.com; s=arc-20160816; b=wGBsxOeSMtzmg4xc7DGC9WBI4L4FVgPGK8o8BqhatlRxJgF1gogOr4pGNSKxOadIhE zbx2fNz1GVPJRy9M3i7eG6d7yIRrO+XKpw5GbxCvzpXrRv83opCN5KlJz5mkPondQ+Tv tMPTg/oGO5elQPhFXUo6cREEFCuPbKLXxlv5zBSvE5ZnEChiXtBy5zoEIYP/U4PXWM5F zlcweo9Kp4ZnR4OxeEEbHO389G3dQtcWiGvYZDcS+8BYTDpFaJznaUtbibxob93H3ItE kNpPBc1iIGXW6IPpH8zmuIkVNlIITCzd8V+8VFxY9qin7lP5tUCDqSrYVGFyWiptJkw7 pxrQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=hCoWNpiCY5I/CQYGLXURefOzHbVXVRlIXhsHqYI/w30=; b=06aWF7hSRlGoMvm3cFOxBy0QH/67JALIojpTzj0Q8B4ZGlvWt0YZ6Z90VLFyah8UJV ay7z+gFcPyS4Hhex/9zFjD1SdIrZ5cjAoTmqGPGxJk0ef5N+KkWmHWAa6EEceRozrAsj FXW/tPRAfgseDrPBTulMZ6RwrVuc072Fl+03p28jBRx0EOqsyarFEeHQVbh4BIDez6st Fbm6ct5bJPKF6XRQt1s/wZMzaKprPymtmsFlPniaL+wRGAx/RY7gXq9W00EvNmOAIXcu pX53wtqOl1XafNuo8NqZh4Pnzvwk/ON8JWyT6KUt5yo1qqZ2Nh/0pg8HJBWlSX5UsQiC 6Uow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=vwJYvf5t; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l7si1036041edv.108.2020.11.04.01.10.02; Wed, 04 Nov 2020 01:10:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=vwJYvf5t; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729089AbgKDJGr (ORCPT + 99 others); Wed, 4 Nov 2020 04:06:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51176 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728941AbgKDJGk (ORCPT ); Wed, 4 Nov 2020 04:06:40 -0500 Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5C645C0401C3 for ; Wed, 4 Nov 2020 01:06:40 -0800 (PST) Received: by mail-wr1-x443.google.com with SMTP id 33so10384996wrl.7 for ; Wed, 04 Nov 2020 01:06:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=hCoWNpiCY5I/CQYGLXURefOzHbVXVRlIXhsHqYI/w30=; b=vwJYvf5tSu7houONcmY2RH0gAqaH3s1DrvDwNkF4scpQukej3gO26Urf1rHRcXlx7G B2whz/j1yA3d9bp292+5xEZLWicfY9GfbwHm4C6yccYuE9OZmNKeLxI5PBb//bQitl+E v6nlckH1Km93jQw2G02u45i90OEKa58QkQJKwuVrgtTcvR2aoDTlVT2T+iFhz7AEFzBt 4/GD1b8f73SRPihSSmP/Qu1gKvWTXZV54+o+y+7Dlakhv8SCIvaIOrhA7JHtfRDLugEK W+adwHbrSM4M/7sWpJ5Qu1vE6cyyvCWOjhiqzAcVRe3JrHoLI/3pZfXIMko92etRfCXg uymA== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=hCoWNpiCY5I/CQYGLXURefOzHbVXVRlIXhsHqYI/w30=; b=apBgYwD048MYCF57Ln5B0kCMlXLRY/SWshgZmlCuJ6mOMyQfiAvheDWnkmTvr7JPmK odNEcvEhsfdsUt2xHEcDQm8qUapybqdAZmuD2izpFf+eRcyNoLuTcsC8xwdOzD5eIJFV KvHjEmxsG6SmIiZYDN1R/UqWffMlHQajY2JZz3V49bEEjDszg1sx7NyipkeolhB1Wvoe p7ac4rJTCuiY/IX3PF49CYTua06Qq03Qs0ynjJ0qobhaIfRG98RpxgPTl4O0dC6aV6Ws B8tMjIPeznvw8Wg3rPFwz/WTaTMNMw6p2N8F7UJaBJu6I2z7aQZSKEqWMloghYV29XJ6 hsEg== X-Gm-Message-State: AOAM5327vG5lixqgtXf+CpywCdhl4N7o3ZRqAdhrt9voZYH5Ofb7EOGo 5EG0E3B0q5OZRdSBthF3UiYW5g== X-Received: by 2002:adf:a195:: with SMTP id u21mr24545841wru.132.1604480799084; Wed, 04 Nov 2020 01:06:39 -0800 (PST) Received: from dell.default ([91.110.221.242]) by smtp.gmail.com with ESMTPSA id e25sm1607823wrc.76.2020.11.04.01.06.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Nov 2020 01:06:38 -0800 (PST) From: Lee Jones To: davem@davemloft.net, kuba@kernel.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Lee Jones , Michael Ellerman , Benjamin Herrenschmidt , Paul Mackerras , Dany Madden , Lijun Pan , Sukadev Bhattiprolu , Santiago Leon , Thomas Falcon , John Allen , linuxppc-dev@lists.ozlabs.org, netdev@vger.kernel.org Subject: [PATCH 12/12] net: ethernet: ibm: ibmvnic: Fix some kernel-doc issues Date: Wed, 4 Nov 2020 09:06:10 +0000 Message-Id: <20201104090610.1446616-13-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201104090610.1446616-1-lee.jones@linaro.org> References: <20201104090610.1446616-1-lee.jones@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fixes the following W=1 kernel build warning(s): from drivers/net/ethernet/ibm/ibmvnic.c:35: inlined from ‘handle_vpd_rsp’ at drivers/net/ethernet/ibm/ibmvnic.c:4124:3: drivers/net/ethernet/ibm/ibmvnic.c:1362: warning: Function parameter or member 'hdr_data' not described in 'build_hdr_data' drivers/net/ethernet/ibm/ibmvnic.c:1362: warning: Excess function parameter 'tot_len' description in 'build_hdr_data' drivers/net/ethernet/ibm/ibmvnic.c:1423: warning: Function parameter or member 'hdr_data' not described in 'create_hdr_descs' drivers/net/ethernet/ibm/ibmvnic.c:1423: warning: Excess function parameter 'data' description in 'create_hdr_descs' drivers/net/ethernet/ibm/ibmvnic.c:1474: warning: Function parameter or member 'txbuff' not described in 'build_hdr_descs_arr' drivers/net/ethernet/ibm/ibmvnic.c:1474: warning: Excess function parameter 'skb' description in 'build_hdr_descs_arr' drivers/net/ethernet/ibm/ibmvnic.c:1474: warning: Excess function parameter 'subcrq' description in 'build_hdr_descs_arr' Cc: Michael Ellerman Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: Dany Madden Cc: Lijun Pan Cc: Sukadev Bhattiprolu Cc: "David S. Miller" Cc: Jakub Kicinski Cc: Santiago Leon Cc: Thomas Falcon Cc: John Allen Cc: linuxppc-dev@lists.ozlabs.org Cc: netdev@vger.kernel.org Signed-off-by: Lee Jones --- drivers/net/ethernet/ibm/ibmvnic.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/net/ethernet/ibm/ibmvnic.c b/drivers/net/ethernet/ibm/ibmvnic.c index b30e1f5784bad..08dab7a94b7ea 100644 --- a/drivers/net/ethernet/ibm/ibmvnic.c +++ b/drivers/net/ethernet/ibm/ibmvnic.c @@ -1360,7 +1360,7 @@ static int ibmvnic_close(struct net_device *netdev) * @hdr_field: bitfield determining needed headers * @skb: socket buffer * @hdr_len: array of header lengths - * @tot_len: total length of data + * @hdr_data: buffer to write the header to * * Reads hdr_field to determine which headers are needed by firmware. * Builds a buffer containing these headers. Saves individual header @@ -1418,7 +1418,7 @@ static int build_hdr_data(u8 hdr_field, struct sk_buff *skb, /** * create_hdr_descs - create header and header extension descriptors * @hdr_field: bitfield determining needed headers - * @data: buffer containing header data + * @hdr_data: buffer containing header data * @len: length of data buffer * @hdr_len: array of individual header lengths * @scrq_arr: descriptor array @@ -1469,9 +1469,8 @@ static int create_hdr_descs(u8 hdr_field, u8 *hdr_data, int len, int *hdr_len, /** * build_hdr_descs_arr - build a header descriptor array - * @skb: socket buffer + * @txbuff: tx buffer * @num_entries: number of descriptors to be sent - * @subcrq: first TX descriptor * @hdr_field: bit field determining which headers will be sent * * This function will build a TX descriptor array with applicable -- 2.25.1