From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jonathan Corbet Subject: Re: [PATCH] scripts/kernel-doc: Processing -nofunc for functions only Date: Fri, 11 Sep 2015 13:26:18 -0600 Message-ID: <20150911132618.4484ea48@lwn.net> References: <1441129454-10356-1-git-send-email-danilo.cesar@collabora.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit Return-path: In-Reply-To: <1441129454-10356-1-git-send-email-danilo.cesar@collabora.co.uk> Sender: linux-doc-owner@vger.kernel.org To: Danilo Cesar Lemes de Paula Cc: dri-devel , Daniel Vetter , Andrew Morton , Johannes Berg , linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, intel-gfx List-Id: dri-devel@lists.freedesktop.org On Tue, 1 Sep 2015 14:44:14 -0300 Danilo Cesar Lemes de Paula wrote: > Docproc process EXPORT_SYMBOL(f1) macro and uses -nofunc f1 to > avoid duplicated documentation in the next call. > It works for most of the cases, but there are some specific situations > where a struct has the same name of an already-exported function. > > Current kernel-doc behavior ignores those structs and do not add them > to the final documentation. This patch fixes it. > > This is non-usual and the only case I've found is the drm_modeset_lock > (function and struct) defined in drm_modeset_lock.h and > drm_modeset_lock.c. Considering this, it should only affect the DRM > documentation by including struct drm_modeset_lock to the final Docbook. I've verified that it indeed affects nothing else; it's in the docs tree now, thanks. jon