Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp4181139pxb; Tue, 17 Nov 2020 13:35:32 -0800 (PST) X-Google-Smtp-Source: ABdhPJytW8FvEF8ENUe2Hu94nJzDvy73OTpwSdIQ8A349XGvb0WZKod7xSx6EAV6Wf4Ow8NEGaMz X-Received: by 2002:a17:906:8c7:: with SMTP id o7mr14077780eje.413.1605648931970; Tue, 17 Nov 2020 13:35:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605648931; cv=none; d=google.com; s=arc-20160816; b=xhZKT1KueLER/tBicxeDVLB1jyZ5x9B8ENYRNrmdWEFn2WlsoxL0pfAc7ZP2coK/LG BWLG2zFi08+Ivh5usMLueJBptFjVO4evdyA/dMfsTS1eZ2dRlqfmYPd88Lj7hRIa0mbI wN2saulhUr8Ed1DiNHissLnXZuW2APltwlSriZT2v5jVElihimTO2XNPNfLpfTCF+Uuk z49kHEFm+RLYR0RZWd/vOfrMfgJjVGDFPpj+gSTfNmWq0Ey2WTOK2Mr9GjL/1PneFbtK a4RjF8v2M0TArz73TXhyMy5xJ1czAjyPPBLXJrCmYlwOcmcmkvbJAG+vTlPjrDeIDMIe gc9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=a1DZ7Ao9CWAtxHaDMnE+CPVs1ONQ/pJUyinx+DQOyFs=; b=FAjKv6U7k5l8g8Er0bQ06zfZ5beiMvoSCEz5uUrlghgFhX6Jl8HgZ2r+HewfOCn0tY YJSXmq+Vdq8/WFAT7caNZbMIL6fRNyl4e0M20gy35OPoF/3nVuBARcqOpNkAonP3iK1Q NK54RTmXQQ+kf235AMbq3PC7SJGiIsAFsRhwkHo71VcFMkK1/v9a4Sx541ZQpTeA7pdK pSsHPNauFCnLy8bNDPakIySdp4cl+n4Sy8c+V9B3ZhgGDVjhZ/elkvR+qaNcLl9uSRGE 2cqQkYDnOHFzYKm/aj4eCJmQNvSvMBdVIfOEWK4TaQ54QKoJzR6Ooew3pPeBmp9kLeZc w7vA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=GpATbwiQ; 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 d26si15791960ejy.24.2020.11.17.13.35.08; Tue, 17 Nov 2020 13:35:31 -0800 (PST) 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; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=GpATbwiQ; 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 S1726591AbgKQVaz (ORCPT + 99 others); Tue, 17 Nov 2020 16:30:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51022 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726211AbgKQVaz (ORCPT ); Tue, 17 Nov 2020 16:30:55 -0500 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D18B8C0613CF; Tue, 17 Nov 2020 13:30:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=a1DZ7Ao9CWAtxHaDMnE+CPVs1ONQ/pJUyinx+DQOyFs=; b=GpATbwiQFpcIukS7Dy4VU7xTwK yeUr/iphX1MD/qB+GWdciICVRkjDqLelPa2QabNGfnfXwQouRpryglcwQdMz2Ie+qzSJHVvToCPSL teDehXMEnFwDAe9vUaCIrwaXbLBsmrJjz+pQC1YxRQg/OmdKOgIV2LL7iAXyLmEa/8+tTXOfg6449 v2OL5i/xDI/CxsxYDCpkpC9Def/TBnTVlvZq2TiB7IkxZNNsvXCIt7TQeh1NnVX31xO1DVNpyD9AA VnXdzNeyWeiqXuaTikDEclk1kgwNFDv9lChnDEJwCvYMIISJ5a9oKo7DRpSqvm6dykOwXAsACHN1H /admJfMQ==; Received: from willy by casper.infradead.org with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1kf8Yt-0004tf-Bw; Tue, 17 Nov 2020 21:30:51 +0000 Date: Tue, 17 Nov 2020 21:30:51 +0000 From: Matthew Wilcox To: Eduardo Habkost Cc: Jonathan Corbet , Paolo Bonzini , linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org Subject: Re: [PATCH 2/2] kernel-doc: Handle function typedefs without asterisks Message-ID: <20201117213051.GA29991@casper.infradead.org> References: <20201030144713.201372-1-pbonzini@redhat.com> <20201030144713.201372-3-pbonzini@redhat.com> <20201113152106.7b4a07ee@lwn.net> <20201113223912.GK17076@casper.infradead.org> <20201117212452.GM1235237@habkost.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201117212452.GM1235237@habkost.net> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 17, 2020 at 04:24:52PM -0500, Eduardo Habkost wrote: > On Fri, Nov 13, 2020 at 10:39:12PM +0000, Matthew Wilcox wrote: > > Better ... can we have a test suite for the regexes and make patches to > > them include updates to the test suite? They have clearly passed the > > point of human understanding ;-) > > Would a simple black box test script like this be desirable? I think this is fantastic! Yes please! Can I add one more test case? /** * radix_tree_lookup_slot - lookup a slot in a radix tree * @root: radix tree root * @index: index key * * Returns: the slot corresponding to the position @index in the * radix tree @root. This is useful for update-if-exists operations. * * This function can be called under rcu_read_lock iff the slot is not * modified by radix_tree_replace_slot(), otherwise it must be called * exclusive from other writers. Any dereference of the slot must be done * using radix_tree_deref_slot(). */ void __rcu **radix_tree_lookup_slot(const struct radix_tree_root *root, unsigned long index) { } (we used to have a problem with multiple '*' in the return type, and we've also had problems with adornments like __rcu)