Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp2922144ybl; Sun, 26 Jan 2020 14:12:19 -0800 (PST) X-Google-Smtp-Source: APXvYqw9FLhfxozMYyiEqgIjmynOybv3X2byQOgs+ek/7YW/k2rZNtU/31YXvfXHQbESCEB8aRFq X-Received: by 2002:aca:481:: with SMTP id 123mr5870964oie.110.1580076739698; Sun, 26 Jan 2020 14:12:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580076739; cv=none; d=google.com; s=arc-20160816; b=HnOCQp/7GKhY3R/QG3P+7XcOT9Ga1uA7GUOeUaTVmOtz9RfiqCwlT804Q+oZKADFVb TJKMoPwfqG4g7Al9KG+jIyUt4+Bt0hVLM1oBDBEDQWzFzx4ybomNQuhguMxWP5XNzBOt Be3BlT6nxsX7GzXNRpvMtoAMswuTbnpXIeMJLnslzg8HrcHo6z3T0aOeGsLNjUk2lmeb 6opJ5suG2deVZwR6OWS2CZmg5c/X/mA0+RrGfC81tyETq9KiI7Dqso5SwonNHNHWSl0c 8+CQzR3GN3RAktuS88pc0BMRkfRwg/focYUm6/sKi+VQ6amZXmEvOJwq5HdZJboVeHou W0JQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:cc:to:subject:from:references :in-reply-to:message-id; bh=dAQ/qY06BPhP+HVN3MxtvnBAHTz/rUMbC6QS5t3F8LE=; b=T02+hag5yG++rGecHDIvcNb33G5bCYG7Etu1pVioA3xLFRolRVqTDpx7z1mwe8otZr QFOiXL/XDvMs3G88j/PYmP1SrU1AA0hetQyWInrJAZBTjfcj+sgUD1qUI88wT+OGBrjm 1R9Zvh5TYYpWg48h9R3JNBvz2kWJAxF/QeYnDCu/ukh7us5mI/PVLKVUfSElSwnMwcT9 JVgd27LOjEwpMHTfpOcWk0UUR7BQ+ggMf4J9jTLRDAsKvfl5DM/6zYx/gpD21lB2RkHk RVeCTz+7GaEH9L8E59dCoFyIPW1Y/5i+M5f0Y9Q5W1KVvZWovEaIlNjXdPMwuDzdEss0 bYzg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i15si6377735otk.120.2020.01.26.14.12.08; Sun, 26 Jan 2020 14:12:19 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728939AbgAZWLG (ORCPT + 99 others); Sun, 26 Jan 2020 17:11:06 -0500 Received: from mx2.suse.de ([195.135.220.15]:43586 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728708AbgAZWLD (ORCPT ); Sun, 26 Jan 2020 17:11:03 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id CD3B2AC91; Sun, 26 Jan 2020 22:11:01 +0000 (UTC) Received: by unicorn.suse.cz (Postfix, from userid 1000) id 7FFFAE06B1; Sun, 26 Jan 2020 23:11:01 +0100 (CET) Message-Id: In-Reply-To: References: From: Michal Kubecek Subject: [PATCH net-next 1/7] ethtool: fix kernel-doc descriptions To: David Miller , netdev@vger.kernel.org Cc: Jakub Kicinski , Jiri Pirko , Andrew Lunn , Florian Fainelli , John Linville , Johannes Berg , linux-kernel@vger.kernel.org Date: Sun, 26 Jan 2020 23:11:01 +0100 (CET) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix missing or incorrect function argument and struct member descriptions. Signed-off-by: Michal Kubecek --- net/ethtool/netlink.c | 26 ++++++++++++++------------ net/ethtool/strset.c | 1 + 2 files changed, 15 insertions(+), 12 deletions(-) diff --git a/net/ethtool/netlink.c b/net/ethtool/netlink.c index 86b79f9bc08d..0af43bbdb9b2 100644 --- a/net/ethtool/netlink.c +++ b/net/ethtool/netlink.c @@ -134,11 +134,12 @@ int ethnl_fill_reply_header(struct sk_buff *skb, struct net_device *dev, /** * ethnl_reply_init() - Create skb for a reply and fill device identification - * @payload: payload length (without netlink and genetlink header) - * @dev: device the reply is about (may be null) - * @cmd: ETHTOOL_MSG_* message type for reply - * @info: genetlink info of the received packet we respond to - * @ehdrp: place to store payload pointer returned by genlmsg_new() + * @payload: payload length (without netlink and genetlink header) + * @dev: device the reply is about (may be null) + * @cmd: ETHTOOL_MSG_* message type for reply + * @hdr_attrtype: attribute type for common header + * @info: genetlink info of the received packet we respond to + * @ehdrp: place to store payload pointer returned by genlmsg_new() * * Return: pointer to allocated skb on success, NULL on error */ @@ -188,10 +189,11 @@ static int ethnl_multicast(struct sk_buff *skb, struct net_device *dev) /** * struct ethnl_dump_ctx - context structure for generic dumpit() callback - * @ops: request ops of currently processed message type - * @req_info: parsed request header of processed request - * @pos_hash: saved iteration position - hashbucket - * @pos_idx: saved iteration position - index + * @ops: request ops of currently processed message type + * @req_info: parsed request header of processed request + * @reply_data: data needed to compose the reply + * @pos_hash: saved iteration position - hashbucket + * @pos_idx: saved iteration position - index * * These parameters are kept in struct netlink_callback as context preserved * between iterations. They are initialized by ethnl_default_start() and used @@ -268,9 +270,9 @@ static int ethnl_default_parse(struct ethnl_req_info *req_info, /** * ethnl_init_reply_data() - Initialize reply data for GET request - * @req_info: pointer to embedded struct ethnl_req_info - * @ops: instance of struct ethnl_request_ops describing the layout - * @dev: network device to initialize the reply for + * @reply_data: pointer to embedded struct ethnl_reply_data + * @ops: instance of struct ethnl_request_ops describing the layout + * @dev: network device to initialize the reply for * * Fills the reply data part with zeros and sets the dev member. Must be called * before calling the ->fill_reply() callback (for each iteration when handling diff --git a/net/ethtool/strset.c b/net/ethtool/strset.c index 82a059c13c1c..948d967f1eca 100644 --- a/net/ethtool/strset.c +++ b/net/ethtool/strset.c @@ -85,6 +85,7 @@ get_stringset_policy[ETHTOOL_A_STRINGSET_MAX + 1] = { /** * strset_include() - test if a string set should be included in reply + * @info: parsed client request * @data: pointer to request data structure * @id: id of string set to check (ETH_SS_* constants) */ -- 2.25.0