Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp3724165imm; Mon, 18 Jun 2018 03:01:35 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLx2nDng3meYID5ZFZgJ1fQeddfR0kN0UCyofIqeriVppeeufT9AApWZR4i0itdDOv5vuYt X-Received: by 2002:a65:58cc:: with SMTP id e12-v6mr10491065pgu.445.1529316095756; Mon, 18 Jun 2018 03:01:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529316095; cv=none; d=google.com; s=arc-20160816; b=l4nm+MkcKGecmy9BVtLzfj7Qq7k4LDI/0GnltX+EfkNVt3Z0UMrHpVQIXoFBp4Psy+ H4NsDfdq8SFBjpI8TVifUvWkf+A/T20vjNDIpTuUngZqmfFIGj7ofTtbi2uYfIVwYgNZ 9Z80pro03e8zjxuOPXkFg1MDLGpDgEwmBIdwsRnfgRKMGjiENmFnXTv9kqeksH1tU0eH UMihEDi8uSYTb+7sor6Rra5YHWFooj/iuGszkCJa7/PSemULU357MCWscU00mZgxszg1 gBlr9GriH14pV2RHjQlVJ3jumZn5Lf/7/eKC80GY21u3aaw3fBOhTu9ANiG0S1dII9kk oWuA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=4sTRmrqbUraGtbWnuzVtYzxHfDTmWpOpUb9wS3QV7h4=; b=oYaxUbi4vu0/FTMMoGlkmxcuKWVEE8ZEuYKY4ow22Hw1lD+2A2PpG23R9OxrEJwpfK EQbHJP/ogzunJrFaayXFL7yWIQJNNTTUSBuYnGSq9YLptw22YuQJ1vBYd692Lk7DOr/y uaLcqrcWVg+nvdoA9MVxWza7tuWDr+DE/cIXOOuIGKLdgn/9rZxu4aofY70qFE58K0p0 gWMEiBCpU1NGykwUYRew2z73fGYRPlwKxMg0SkfhOv5P8j7N8x47v721c7fTLy95ZUEd GVltGQOdhZw4dvEMze6clw7H1XlCkdJPdah0CVBtUJe3IMOG4whGMbZXSoDMOdJhd7mF 02YA== 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 y10-v6si12096907pgq.54.2018.06.18.03.01.21; Mon, 18 Jun 2018 03:01:35 -0700 (PDT) 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 S935392AbeFRITL (ORCPT + 99 others); Mon, 18 Jun 2018 04:19:11 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:54804 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934160AbeFRITI (ORCPT ); Mon, 18 Jun 2018 04:19:08 -0400 Received: from localhost (LFbn-1-12247-202.w90-92.abo.wanadoo.fr [90.92.61.202]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 6B3C7BAD; Mon, 18 Jun 2018 08:19:07 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Florian Fainelli , Roopa Prabhu , "David S. Miller" , Sasha Levin Subject: [PATCH 4.16 090/279] net: ethtool: Add missing kernel doc for FEC parameters Date: Mon, 18 Jun 2018 10:11:15 +0200 Message-Id: <20180618080612.529576387@linuxfoundation.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180618080608.851973560@linuxfoundation.org> References: <20180618080608.851973560@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.16-stable review patch. If anyone has any objections, please let me know. ------------------ From: Florian Fainelli [ Upstream commit d805c5209350ae725e3a1ee0204ba27d9e75ce3e ] While adding support for ethtool::get_fecparam and set_fecparam, kernel doc for these functions was missed, add those. Fixes: 1a5f3da20bd9 ("net: ethtool: add support for forward error correction modes") Signed-off-by: Florian Fainelli Acked-by: Roopa Prabhu Signed-off-by: David S. Miller Signed-off-by: Sasha Levin Signed-off-by: Greg Kroah-Hartman --- include/linux/ethtool.h | 2 ++ 1 file changed, 2 insertions(+) --- a/include/linux/ethtool.h +++ b/include/linux/ethtool.h @@ -310,6 +310,8 @@ bool ethtool_convert_link_mode_to_legacy * fields should be ignored (use %__ETHTOOL_LINK_MODE_MASK_NBITS * instead of the latter), any change to them will be overwritten * by kernel. Returns a negative error code or zero. + * @get_fecparam: Get the network device Forward Error Correction parameters. + * @set_fecparam: Set the network device Forward Error Correction parameters. * * All operations are optional (i.e. the function pointer may be set * to %NULL) and callers must take this into account. Callers must