Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933229AbbHYJUm (ORCPT ); Tue, 25 Aug 2015 05:20:42 -0400 Received: from mail-wi0-f177.google.com ([209.85.212.177]:38549 "EHLO mail-wi0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932068AbbHYJUh (ORCPT ); Tue, 25 Aug 2015 05:20:37 -0400 Date: Tue, 25 Aug 2015 11:20:31 +0200 From: Daniel Vetter To: Danilo Cesar Lemes de Paula Cc: Randy Dunlap , Daniel Vetter , Laurent Pinchart , Jonathan Corbet , Herbert Xu , Stephan Mueller , Michal Marek , linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, intel-gfx , dri-devel , Graham Whaley Subject: Re: [PATCH] drm/doc: Fixing xml documentation warning Message-ID: <20150825092031.GY20434@phenom.ffwll.local> Mail-Followup-To: Danilo Cesar Lemes de Paula , Randy Dunlap , Laurent Pinchart , Jonathan Corbet , Herbert Xu , Stephan Mueller , Michal Marek , linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, intel-gfx , dri-devel , Graham Whaley References: <1440186374-31711-1-git-send-email-danilo.cesar@collabora.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1440186374-31711-1-git-send-email-danilo.cesar@collabora.co.uk> X-Operating-System: Linux phenom 4.2.0-rc1+ User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2374 Lines: 80 On Fri, Aug 21, 2015 at 04:46:14PM -0300, Danilo Cesar Lemes de Paula wrote: > "/**" should be used for kernel-doc documentation only. > It causes a warning with the new "in struct body" format. > > Signed-off-by: Danilo Cesar Lemes de Paula > Cc: Randy Dunlap > Cc: Daniel Vetter > Cc: Laurent Pinchart > Cc: Jonathan Corbet > Cc: Herbert Xu > Cc: Stephan Mueller > Cc: Michal Marek > Cc: linux-kernel@vger.kernel.org > Cc: linux-doc@vger.kernel.org > Cc: intel-gfx > Cc: dri-devel > Cc: Graham Whaley Applied to drm-misc, thanks. -Daniel > --- > include/drm/drm_modeset_lock.h | 10 +++++----- > 1 file changed, 5 insertions(+), 5 deletions(-) > > diff --git a/include/drm/drm_modeset_lock.h b/include/drm/drm_modeset_lock.h > index 70595ff..c16a3ec 100644 > --- a/include/drm/drm_modeset_lock.h > +++ b/include/drm/drm_modeset_lock.h > @@ -43,19 +43,19 @@ struct drm_modeset_acquire_ctx { > > struct ww_acquire_ctx ww_ctx; > > - /** > + /* > * Contended lock: if a lock is contended you should only call > * drm_modeset_backoff() which drops locks and slow-locks the > * contended lock. > */ > struct drm_modeset_lock *contended; > > - /** > + /* > * list of held locks (drm_modeset_lock) > */ > struct list_head locked; > > - /** > + /* > * Trylock mode, use only for panic handlers! > */ > bool trylock_only; > @@ -70,12 +70,12 @@ struct drm_modeset_acquire_ctx { > * Used for locking CRTCs and other modeset resources. > */ > struct drm_modeset_lock { > - /** > + /* > * modeset lock > */ > struct ww_mutex mutex; > > - /** > + /* > * Resources that are locked as part of an atomic update are added > * to a list (so we know what to unlock at the end). > */ > -- > 2.4.3 > -- Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/