Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp2153715ybp; Sat, 5 Oct 2019 06:40:10 -0700 (PDT) X-Google-Smtp-Source: APXvYqyN9ZruMRvz/TQGnRAe30akyHeURtS01M7Pc84Lq9npqcE9WRANDP7GXpL6Pc8IcVVe90Z+ X-Received: by 2002:a17:906:1991:: with SMTP id g17mr16384874ejd.220.1570282809936; Sat, 05 Oct 2019 06:40:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570282809; cv=none; d=google.com; s=arc-20160816; b=qTengDIS7iX6NfPXAe71qqSs5O2A4ZSFTDMxEfP4d1YkWzvtUerJFOIWU1J3IqsOKw 6B2fWyndyMF3gPeabvX0E/Myd2SH0tGvWh8TX0DMuOmCz0S2C2MVKqUbj9Hi/S8FZfc8 jYfrjQNI6VTyGMyXxE/vwTDX2HHaFdeOfBpepUbw2Qyvo3KdzKmVVyMHfscV+/V8g6l9 J1yv54jSNT5OznKhGAEnQ/ahwGfX7OstX4uCirK+OmLRAB5XHhVmiHkMK41LL+3xkzxZ swcWqCS0ri5PFcGuk3nCMBmRv+6PAcsipA3s2GqREV1aLOA4ngcYerf7nFnPK/Ttfukb +ORQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=uEZHIr/mGwUc6GLOf0c+jWOX5+xuNrnyPDD3LHYDUzM=; b=TQpwSwQGmhe26pIxHCaWulgUMYDHEeWBVkOcUTh36MGWpyOk8EPEmuxc1GR8xJhz2l qj5uOzn5XNFUdsnYEONRYKjjFOvyfwGWxaHNtkdpkWwIuBBc9WsANN2KpsEJYQQxCKet bDG+0Y13rY93U2xyeenWX3Q0jgSIgTBzK5cGGsG3pAs7V5Z6/8SZ2L6nd3nfI0YLgUom Km2XO+nPiFPASITM8Uzi+eD4bwj069rnYIoxmwg1vhTbSNyuFlUklAOtVX4xC1eE91vH dJlzMixy4M0IgCbQL7cp8x1cMYnmo3hlcufT/QCtejuf1MDyu3lW5SaPqfXijzDmPJkB SHoQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=lMMExsEd; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w5si5066274edv.66.2019.10.05.06.39.45; Sat, 05 Oct 2019 06:40:09 -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; dkim=pass header.i=@kernel.org header.s=default header.b=lMMExsEd; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728448AbfJENdd (ORCPT + 99 others); Sat, 5 Oct 2019 09:33:33 -0400 Received: from mail.kernel.org ([198.145.29.99]:54352 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726125AbfJENdc (ORCPT ); Sat, 5 Oct 2019 09:33:32 -0400 Received: from paulmck-ThinkPad-P72 (50-39-105-78.bvtn.or.frontiernet.net [50.39.105.78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id A651B222C5; Sat, 5 Oct 2019 13:33:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1570282411; bh=N38XZT/ZGKyamYsz24sQHqqiC9R554U2eV45zXldpaE=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To:From; b=lMMExsEd7DQiL1ZbMg5X7yqLGWIGBP/fB9vg8wJDNN0kuZlRr9CEIwwWT9xEuE5Y1 zwqVSkUPC54FHj8ngILUAvSSS6cdfUS55hVV7F8d+U8Q2DCwCMyh/YTpphNgTDdeGR Xo1KMof0Sxc4riE84nZFv6b5efvZ/tdFBzyIO0F4= Date: Sat, 5 Oct 2019 06:33:30 -0700 From: "Paul E. McKenney" To: Jonathan =?iso-8859-1?Q?Neusch=E4fer?= Cc: rcu@vger.kernel.org, Josh Triplett , Steven Rostedt , Mathieu Desnoyers , Lai Jiangshan , Joel Fernandes , linux-kernel@vger.kernel.org Subject: Re: [PATCH] rculist: Describe variadic macro argument in a Sphinx-compatible way Message-ID: <20191005133330.GX2689@paulmck-ThinkPad-P72> Reply-To: paulmck@kernel.org References: <20191004215402.28008-1-j.neuschaefer@gmx.net> <20191004222439.GR2689@paulmck-ThinkPad-P72> <20191004232328.GC19803@latitude> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20191004232328.GC19803@latitude> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Oct 05, 2019 at 01:23:28AM +0200, Jonathan Neusch?fer wrote: > On Fri, Oct 04, 2019 at 03:24:39PM -0700, Paul E. McKenney wrote: > > On Fri, Oct 04, 2019 at 11:54:02PM +0200, Jonathan Neusch?fer wrote: > > > Without this patch, Sphinx shows "variable arguments" as the description > > > of the cond argument, rather than the intended description, and prints > > > the following warnings: > > > > > > ./include/linux/rculist.h:374: warning: Excess function parameter 'cond' description in 'list_for_each_entry_rcu' > > > ./include/linux/rculist.h:651: warning: Excess function parameter 'cond' description in 'hlist_for_each_entry_rcu' > > Hmm, small detail that I didn't realize before: It's actually the > kernel-doc script, not Sphinx, that can't deal with variadic macro > arguments and thus requires this patch. > > So it may also be possible to fix the script instead. (I have not > looked into how much work that would be.) OK, thank you for letting me know. I will keep your patch for the moment, but please let me know if the fix can be elsewhere. Thanx, Paul