Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp902261pxu; Fri, 23 Oct 2020 16:49:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxECdNvP1AxehV+oxu85aVNLTXoXdea/NmLT3oWIj8LlHLySpxk01+nHMQfV4cojxLyEuJj X-Received: by 2002:aa7:cb82:: with SMTP id r2mr4679116edt.306.1603496983228; Fri, 23 Oct 2020 16:49:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603496983; cv=none; d=google.com; s=arc-20160816; b=sC1PlDVE7NTCLF9TVruGL6cNL0F6SyYcF/bEyTo3Vt7ZG9IcquwnvZaGOVVQKFuuUv w6uPoPomPgLQIxu2ZfuLWbAZFbFSWbU9+4Jw7YD3NI9h7/iLA9+wxiMi2uBnfFXx7dbI 0oOJJ+XmNh1bEwIR5cFjIW4VW3Tuf87iCCzPY7cYScwwNK+O2CqgshWRqtEt0BBOi+Ty vCqMVWqO/6AMzI32PFeEszKhNYHoUE8nfBFQFFPghk8hVyV81deAP6uVB/0eTizl++/e XgWNgkbczxIHcUeC4LpahqQ4/75WTEbE+qs08AFS5Ui75fTYQKUESsAWorjXf74rRaof RjHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=T9q59dJKpQX8nTZH0b75mhaG2Wx0jHG0nvtcUF6WI3k=; b=h9EmCPanlEezWUesTOWQRUVRG6oK5qKG3VrL+mO7MKuilNpG9ftqx2PtlW+FuWytSa ODlXql0eQIbWexICoSP2+CzoBImrPPGeaWkZtqH78YsDax+zxdIzSRsvqMG5TBpd1JQP yfc2+7n7qAUTOKNKjIxfSq/hU7ItiLFj2kY/k7Bk/umjOg2/Z65VMI4Lb9wBQQHGr7wp B804jR0qNRadDkoqQCAB5YO8QxA2ZeGz/gUvvNJZw3eX9xRx+JLcDs/YOBIlJvfhAKIu VuZtONfaQ7dZP/daBJAJNILAnBYDetqugFzuBT6QdZ2P0OBVH9mrT649azCu5izBEQAk /lgg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=merlin.20170209 header.b=sjZdRrrC; 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 i12si832514eje.696.2020.10.23.16.49.21; Fri, 23 Oct 2020 16:49:43 -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; dkim=pass header.i=@infradead.org header.s=merlin.20170209 header.b=sjZdRrrC; 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 S1754022AbgJWTjS (ORCPT + 99 others); Fri, 23 Oct 2020 15:39:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49790 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750844AbgJWTjS (ORCPT ); Fri, 23 Oct 2020 15:39:18 -0400 Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:8b0:10b:1231::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D6EA6C0613CE; Fri, 23 Oct 2020 12:39:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.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=T9q59dJKpQX8nTZH0b75mhaG2Wx0jHG0nvtcUF6WI3k=; b=sjZdRrrCEhq90m8iU3JACCux66 voAIF2q/rW8fOUuHcVnoo4PaWCMnNIWGlrD3P4+srGdqOhbVMxhfrbHolAU7k/RsbVUgd1yEq+y2a Qf/UdmcasmKzinF/VmsPj+9pS/oZetKijsA1cW0qyipzO52AiuHtqxGL4t4PIhEXrFgYiO+6So04R RFX9CiECcqpXYfE1P9ARMgSayOLxE32BGD/PnxwO13Ju/uotCzoScFVcPX3glbE/TaJedeMWo/k+K hnR2CfLhf2cHBioIXu16bm72CDeqVakfKpyTIHy66U4L5RDLPYG/0rKKpJ7NjLAtykcfzqA/yn0qQ avbu+W1Q==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=worktop.programming.kicks-ass.net) by merlin.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1kW2u5-0007SU-NN; Fri, 23 Oct 2020 19:39:09 +0000 Received: by worktop.programming.kicks-ass.net (Postfix, from userid 1000) id 157E798104F; Fri, 23 Oct 2020 21:39:07 +0200 (CEST) Date: Fri, 23 Oct 2020 21:39:07 +0200 From: Peter Zijlstra To: Kees Cook Cc: Mauro Carvalho Chehab , Linux Doc Mailing List , Jonathan Corbet , Ard Biesheuvel , Ingo Molnar , Jann Horn , Will Deacon , linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 49/56] refcount.h: fix a kernel-doc markup Message-ID: <20201023193907.GI2974@worktop.programming.kicks-ass.net> References: <202010231039.DE05B63@keescook> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <202010231039.DE05B63@keescook> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Oct 23, 2020 at 10:40:09AM -0700, Kees Cook wrote: > On Fri, Oct 23, 2020 at 06:33:36PM +0200, Mauro Carvalho Chehab wrote: > > The documented typedef just after the kernel-doc markup > > is named "refcount_struct". > > > > Signed-off-by: Mauro Carvalho Chehab > > --- > > include/linux/refcount.h | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/include/linux/refcount.h b/include/linux/refcount.h > > index 497990c69b0b..8f431b0e69e4 100644 > > --- a/include/linux/refcount.h > > +++ b/include/linux/refcount.h > > @@ -101,7 +101,7 @@ > > struct mutex; > > > > /** > > - * struct refcount_t - variant of atomic_t specialized for reference counts > > + * struct refcount_struct - variant of atomic_t specialized for reference counts > > Hm, this is a weird one. Yes, it's actually "struct refcount_struct", > but the usage should be refcount_t (through the typedef). I'm not sure > what the right way to document this is. Yeah, this is wrong. If this is due to a kernel doc warning, the kernel doc machinery is wrong *again*.