From patchwork Sun Aug 16 22:25:49 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 1345528 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming-netdev@ozlabs.org Delivered-To: patchwork-incoming-netdev@ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=23.128.96.18; helo=vger.kernel.org; envelope-from=netdev-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; secure) header.d=infradead.org header.i=@infradead.org header.a=rsa-sha256 header.s=merlin.20170209 header.b=k+Bkthoo; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by ozlabs.org (Postfix) with ESMTP id 4BVBbP5Zb4z9sTH for ; Mon, 17 Aug 2020 08:26:09 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729663AbgHPWZ6 (ORCPT ); Sun, 16 Aug 2020 18:25:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45290 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726089AbgHPWZ5 (ORCPT ); Sun, 16 Aug 2020 18:25:57 -0400 Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:8b0:10b:1231::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 566FEC061786; Sun, 16 Aug 2020 15:25:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Transfer-Encoding:MIME-Version: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:In-Reply-To:References; bh=OSxe+pZvmEww30D4JRIZnsmQ22mNO++VFvLLKUgIkxc=; b=k+BkthooarZnaRtAqSB8WbCBH0 vcVQoZWkaEAkwwOdk8ufZi8HGkhZ9k/SImNOkRBiPa+DSorowM2E1biinymJy1h02XNfOcjdKzqYd pLpJ9ad69s22I5BPCNI5UayS2LK0zEd6D/ca2vhCYsrHn/UxZ/9Krp1T/ugKFkZ4soH1NFRDjVvhs IiJtPXSTzf8Lty8S8GZw452YhbHVGfzQO1MCIWLMz2v0GGqq96H8sRbjKfnA8vHSbydCxZtflBhNR cHImWfuUwnrTyZshJdS34s489oBdHnZslyLNaqL6Uk1427XMj79XB28Z0Q1V/RUZybMTvcGYu54ZI O+3uWkzg==; Received: from [2601:1c0:6280:3f0::19c2] (helo=smtpauth.infradead.org) by merlin.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1k7R69-0002PA-MQ; Sun, 16 Aug 2020 22:25:54 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Russell King , "David S . Miller" , netdev@vger.kernel.org Subject: [PATCH] phylink: : fix function prototype kernel-doc warning Date: Sun, 16 Aug 2020 15:25:49 -0700 Message-Id: <20200816222549.379-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Fix a kernel-doc warning for the pcs_config() function prototype: ../include/linux/phylink.h:406: warning: Excess function parameter 'permit_pause_to_mac' description in 'pcs_config' Fixes: 7137e18f6f88 ("net: phylink: add struct phylink_pcs") Signed-off-by: Randy Dunlap Cc: Russell King Cc: David S. Miller Cc: netdev@vger.kernel.org --- include/linux/phylink.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- lnx-59-rc1.orig/include/linux/phylink.h +++ lnx-59-rc1/include/linux/phylink.h @@ -402,7 +402,8 @@ void pcs_get_state(struct phylink_pcs *p * For most 10GBASE-R, there is no advertisement. */ int pcs_config(struct phylink_pcs *pcs, unsigned int mode, - phy_interface_t interface, const unsigned long *advertising); + phy_interface_t interface, const unsigned long *advertising, + bool permit_pause_to_mac); /** * pcs_an_restart() - restart 802.3z BaseX autonegotiation