Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp326509pxu; Tue, 6 Oct 2020 07:22:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyS+nCvhnFgJxT19ye0fKgjIZEHXJAXia1lsfOjXDu5rCO1jD+nkh1LyBaoisWDawBuD/s+ X-Received: by 2002:a17:906:c43:: with SMTP id t3mr5404358ejf.219.1601994168307; Tue, 06 Oct 2020 07:22:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601994168; cv=none; d=google.com; s=arc-20160816; b=mtfwNXAkFBHyAzknIyXiwzRdvOgSS1m+HzkGhgoYoXbpucUxix4NqfoFcxRqVxGDSo w9Y6u2xf6FlWSHqccpzOgWgcboE0Rdnr8wA3jVqSbzBlfa2NCiEXCRI5ku0fbBW79Zqh wulU4IqLUJKS0NKyJiZJK83kP9KBAwink+TQGOpuFjfOKADb1OWu83kp6EjQqYhPsyei wVt6ImAufBAVJ/YIjeXEATJ5HygGkpi+PuPW2Fnk39gqQvTmjvpcE7QRnMe3zRG0nHdN H2MxGnO1EHOfBwaKxDQJqpy4fvQYiGanzaH7HjQQXU5310oJ6iX1avv1dEWc4yZB/ttR WnMQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=W3BIFbFjlM7iv3qYs9R23hob3CXWsHDGl0f+wgp3d5Q=; b=uUJe3XwrvJdiirFSTXTbEUGdZfde8+voiqyiPlFjQ5F9jxqZDCdlbgdfHlO67ZNVV4 3zUP37U9TvP28uYJhQ3YTGlvkhgIc+O8YlPbec7alTelf5CMtEbb/fAk0gTThzGx7OHb yIq8ALwFlU00vY6tCPtwPtVMsOEzJ3eiIdMsuavUsm4tM9mGgeaaJa1KW4A1+V6j0zuw Jt/v0HCbubMnLkPIU356GZC9Dk8IEZgPey8b1wY8KvZmQeh1W9IGsymSlxngE3v88bNK 9BZMpBBO2lcvJIxNzpu2s6E8Q9TBv+ZVgIV1gQDbxQygEhOG5EIvdKJ3zo9XNsiO3Rku 2rVg== 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 h22si2522907edq.32.2020.10.06.07.22.24; Tue, 06 Oct 2020 07:22:48 -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 S1726182AbgJFOVB (ORCPT + 99 others); Tue, 6 Oct 2020 10:21:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34302 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725946AbgJFOVA (ORCPT ); Tue, 6 Oct 2020 10:21:00 -0400 Received: from proxima.lasnet.de (proxima.lasnet.de [IPv6:2a01:4f8:121:31eb:3::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6DE03C0613D1; Tue, 6 Oct 2020 07:21:00 -0700 (PDT) Received: from localhost.localdomain (p200300e9d72c3c4353f06c511a49ff67.dip0.t-ipconnect.de [IPv6:2003:e9:d72c:3c43:53f0:6c51:1a49:ff67]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: stefan@datenfreihafen.org) by proxima.lasnet.de (Postfix) with ESMTPSA id 01E43C257F; Tue, 6 Oct 2020 16:14:14 +0200 (CEST) Subject: Re: [PATCH v5 25/52] docs: net: ieee802154.rst: fix C expressions To: Mauro Carvalho Chehab , Linux Doc Mailing List , Jonathan Corbet Cc: "David S. Miller" , Alexander Aring , Jakub Kicinski , linux-kernel@vger.kernel.org, linux-wpan@vger.kernel.org, netdev@vger.kernel.org References: <6ba1d137516e4a144a4fd398934d62b94d31446d.1601992016.git.mchehab+huawei@kernel.org> From: Stefan Schmidt Message-ID: <797b0cbc-5586-ae4a-6967-ec99b6554879@datenfreihafen.org> Date: Tue, 6 Oct 2020 16:14:14 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 In-Reply-To: <6ba1d137516e4a144a4fd398934d62b94d31446d.1601992016.git.mchehab+huawei@kernel.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello. [Sorry for the earlier empty mail] On 06.10.20 16:03, Mauro Carvalho Chehab wrote: > 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. > > Acked-by: David S. Miller > Signed-off-by: Mauro Carvalho Chehab > --- > Documentation/networking/ieee802154.rst | 18 ++++++++++-------- > 1 file changed, 10 insertions(+), 8 deletions(-) Acked-by: Stefan Schmidt regards Stefan Schmidt