From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753907AbbIKT0W (ORCPT ); Fri, 11 Sep 2015 15:26:22 -0400 Received: from tex.lwn.net ([70.33.254.29]:59338 "EHLO vena.lwn.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752586AbbIKT0U (ORCPT ); Fri, 11 Sep 2015 15:26:20 -0400 Date: Fri, 11 Sep 2015 13:26:18 -0600 From: Jonathan Corbet 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 Subject: Re: [PATCH] scripts/kernel-doc: Processing -nofunc for functions only Message-ID: <20150911132618.4484ea48@lwn.net> In-Reply-To: <1441129454-10356-1-git-send-email-danilo.cesar@collabora.co.uk> References: <1441129454-10356-1-git-send-email-danilo.cesar@collabora.co.uk> Organization: LWN.net X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.28; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.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