From mboxrd@z Thu Jan 1 00:00:00 1970 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=-9.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,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 D973DC433E1 for ; Sun, 16 Aug 2020 22:25:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B602F2078D for ; Sun, 16 Aug 2020 22:25:59 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="k+Bkthoo" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729672AbgHPWZ6 (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 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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