Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp4921125pxk; Wed, 30 Sep 2020 15:41:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxdDwjzjhaN8569zcXM2KxOuvxAhlEQL54CfQbDKvIsX/ttMkHeDAQ/cSPtz7hOwW4M1tzp X-Received: by 2002:a50:8c24:: with SMTP id p33mr5247524edp.330.1601505660462; Wed, 30 Sep 2020 15:41:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601505660; cv=none; d=google.com; s=arc-20160816; b=g5WSb+e8fFJnRywIFXWgU8IYJaiudAUMK221G2Ix302zyQsrHvHbKRhltsQiMiztnE BDlcINNEcxQAbILEStCM/j7fc+SwDYqklelpG6+22c8REnnvUPmTiBTDze7TtuICl512 ZBM8LZ8B0mj+jBJWoowTIm8Hp47XU0rLd3e5f5V+3orRqtWFD2RX56AIKGIod1u9iXlE coAJQqSDViqbt/75H0waQE24s7Vt5XuWS3HzIfk9qemrcPmV4UxJJcZnfIP9wqP6Cx50 p6LNz3ufVril4/D0rXUtGZ7quvGvuSPwr3vct5u82Fp0dSB6+YB1vz/sIn4wqSgcaOIO Ic5g== 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:from:subject:cc:to:message-id:date; bh=LCeSo0Rl3tdRVlu8WfdQ45ZpLlWZeiNrC0T9jvJAezc=; b=yi9XCvECWdivbFwCRVE7/OWEj7s18TOBRNvTAQUbS04YcRR1NHLbaAhmfES7Ji1bgV gDLvM0mXDrrJ8lxYqTUA1pQbrnKBDVkUv2+rPTgf/eem+ioL/s+4BPne29bnuq2tJH9K tmvdQFI6ZeH1csZYjQ/8gZ2cU9xnXU/5xIlXPJARq1bjWZc1G2WfiHK9vw+Cjx/pDOso m53hXRovGtvckXOooiqJ5TYnWu6f2+Fex5A+XSyQ0+hmTevgEJc1xzFFRQsu9tZi5l2H iPESRuGAjjRDSdK58DvFq1zxAHwhSOESxqrvcpNcLsKZXZMuBxpeKaLScJ+b2YB4ddY/ lgyA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ds7si1849782ejc.648.2020.09.30.15.40.37; Wed, 30 Sep 2020 15:41:00 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730840AbgI3VXQ (ORCPT + 99 others); Wed, 30 Sep 2020 17:23:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40622 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725814AbgI3VXQ (ORCPT ); Wed, 30 Sep 2020 17:23:16 -0400 Received: from shards.monkeyblade.net (shards.monkeyblade.net [IPv6:2620:137:e000::1:9]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EBCABC061755; Wed, 30 Sep 2020 14:23:15 -0700 (PDT) Received: from localhost (unknown [IPv6:2601:601:9f00:477::3d5]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id CAF8F13C6ADBB; Wed, 30 Sep 2020 14:06:27 -0700 (PDT) Date: Wed, 30 Sep 2020 14:23:14 -0700 (PDT) Message-Id: <20200930.142314.43454679428749261.davem@davemloft.net> To: mchehab+huawei@kernel.org Cc: linux-doc@vger.kernel.org, corbet@lwn.net, alex.aring@gmail.com, kuba@kernel.org, stefan@datenfreihafen.org, linux-kernel@vger.kernel.org, linux-wpan@vger.kernel.org, netdev@vger.kernel.org Subject: Re: [PATCH v4 25/52] docs: net: ieee802154.rst: fix C expressions From: David Miller In-Reply-To: References: X-Mailer: Mew version 6.8 on Emacs 27.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [2620:137:e000::1:9]); Wed, 30 Sep 2020 14:06:28 -0700 (PDT) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Mauro Carvalho Chehab Date: Wed, 30 Sep 2020 15:24:48 +0200 > There are some warnings produced with Sphinx 3.x: > > Documentation/networking/ieee802154.rst:29: WARNING: Error in declarator or parameters > Invalid C declaration: Expecting "(" in parameters. [error at 7] > int sd = socket(PF_IEEE802154, SOCK_DGRAM, 0); > -------^ > Documentation/networking/ieee802154.rst:134: WARNING: Invalid C declaration: Expected end of definition. [error at 81] > void ieee802154_rx_irqsafe(struct ieee802154_hw *hw, struct sk_buff *skb, u8 lqi): > ---------------------------------------------------------------------------------^ > Documentation/networking/ieee802154.rst:139: WARNING: Invalid C declaration: Expected end of definition. [error at 95] > void ieee802154_xmit_complete(struct ieee802154_hw *hw, struct sk_buff *skb, bool ifs_handling): > -----------------------------------------------------------------------------------------------^ > Documentation/networking/ieee802154.rst:158: WARNING: Invalid C declaration: Expected end of definition. [error at 35] > int start(struct ieee802154_hw *hw): > -----------------------------------^ > Documentation/networking/ieee802154.rst:162: WARNING: Invalid C declaration: Expected end of definition. [error at 35] > void stop(struct ieee802154_hw *hw): > -----------------------------------^ > Documentation/networking/ieee802154.rst:166: WARNING: Invalid C declaration: Expected end of definition. [error at 61] > int xmit_async(struct ieee802154_hw *hw, struct sk_buff *skb): > -------------------------------------------------------------^ > Documentation/networking/ieee802154.rst:171: WARNING: Invalid C declaration: Expected end of definition. [error at 43] > int ed(struct ieee802154_hw *hw, u8 *level): > -------------------------------------------^ > Documentation/networking/ieee802154.rst:176: WARNING: Invalid C declaration: Expected end of definition. [error at 62] > int set_channel(struct ieee802154_hw *hw, u8 page, u8 channel): > --------------------------------------------------------------^ > > Caused by some bad c:function: prototypes. Fix them. > > Signed-off-by: Mauro Carvalho Chehab Acked-by: David S. Miller