Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp3163269pxb; Tue, 20 Apr 2021 01:54:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwsg/jvM/QsqS2jL0htSgddCSUrWv+tSbAqc3Ef0IxXWWDNEiLLvcddj4rJPiVyWNbL+NEq X-Received: by 2002:a17:90b:1b0d:: with SMTP id nu13mr3745771pjb.149.1618908859963; Tue, 20 Apr 2021 01:54:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618908859; cv=none; d=google.com; s=arc-20160816; b=OoBbAQrpghxKo/17v6oFkcGBsEi/DsToctfPZLcVh2np7OgkOqkVFSVnnr1r2P4RmE d6mxmcMlQ8COrX3hbzgSwcPQrvLNbIE8xVTJ7OGGkm2S6MkGzPupNo6OKjq5l5vKfHyY iP9DBHvmMBc5R1VjtNSy6J8xR1krRUa8g/V5lde8NzsUGkr3NaldmzubIg4kprRrwgwp ZwWy8XyqmDXqFpuz131iJQ3U4XF1zksCjuU1Ir7CusFDKluaYihKSjYmh8k1MLdaIYLN A28v+IUQZYqoAGF7Gw5R4zV72rPhaTJ7/iizmUTQ38nmMrDrZ9MUOuhPapaiwCSRq8Aw po7w== 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-transfer-encoding :content-disposition:mime-version:references:mail-followup-to :message-id:subject:cc:to:from:date:dkim-signature; bh=vfvESN/gBp6lSDsc53ylG47pXzs7CkRT+8vTU5ER8fE=; b=l2alraB3zSTHunpaG2cDOKWgn8hIAGZPLDlCprzBNiKDSnHfLMysw2HnWlgMXyezJa tLgf8NIvYzTqDZvnWwdaM4WyBIIYs7f9WqgL1n3W7cSR0XyqkTWWDM4udyIo2RJOLG+b T01hb+63UGyweCvfGRi40gsUb8Z+t+aTfi74hqah6ojcT8KrxrrF3M4u1veqJ6Jn1UiZ CzWsVEMxTwmF8z0nV6oOEVF+N6yxueHCfZQROTETQsHIjSdJGdEKNwiP5pJDRW18rxdV ExcnhAz0rqc9UPysVf3B/tW4/pF3jqS0NrmsNJkzVU+vSWPAI6KJOD7A6LVT7x3l2UyY PoXQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ffwll.ch header.s=google header.b=UVt3Jj+g; 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 jc24si2612433pjb.95.2021.04.20.01.54.07; Tue, 20 Apr 2021 01:54:19 -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=@ffwll.ch header.s=google header.b=UVt3Jj+g; 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 S230436AbhDTIyG (ORCPT + 99 others); Tue, 20 Apr 2021 04:54:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33526 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230168AbhDTIyG (ORCPT ); Tue, 20 Apr 2021 04:54:06 -0400 Received: from mail-ej1-x632.google.com (mail-ej1-x632.google.com [IPv6:2a00:1450:4864:20::632]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B0807C06174A for ; Tue, 20 Apr 2021 01:53:34 -0700 (PDT) Received: by mail-ej1-x632.google.com with SMTP id g5so50376094ejx.0 for ; Tue, 20 Apr 2021 01:53:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ffwll.ch; s=google; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=vfvESN/gBp6lSDsc53ylG47pXzs7CkRT+8vTU5ER8fE=; b=UVt3Jj+giddEw1gXzvvJgW7GH2rByotrzjsklb3TMUhTakV6N9PIyk8XwIMDRXdCwe 4bT8kJ8t3ClZYZLyYZxAIvAdGx1RObZlIeHOj5LMS5ydh3mipINJjX0euIENiUBv3Nsx onodR7A4PMIZJ/Xdaq3xHvVKK+z3BcrI3sg+8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-disposition :content-transfer-encoding:in-reply-to; bh=vfvESN/gBp6lSDsc53ylG47pXzs7CkRT+8vTU5ER8fE=; b=Z+K2+qLNQ03SUGC991Cgs7I1wOx3W/RUt//yIKRm92kQ+yN1gBPTS+Fjv2R6vLgGZq h2q2gDYIrOzzPSb3zA/wTc/F5ULJLFX6f3yCbZsPudbPJ38LTBq89lFk5O+gb/Dw4z84 0jSTzs5X9iJQ/Qcm/GmOEhKzuWltD3hMTcQZH8rDX+TVlj6TKD6+47J2BR41pNU8tY/H O209G5CROSEG2T2qN3j8CHmQWYfzrJFZCf4xs2urBPbK2HLoOH9ILaZ8P/hDNru1GysI yYoYvdgJo9wMnRpAlFbQVXlto3HsZJuJqxsnwvpHfJww8qu96KpvYBP0CHiZBwk/o3fx tPrg== X-Gm-Message-State: AOAM530IaBP7+tzaFRHm5UVyPeAvYluKE1uBx86pURuUJhXeiQyZfeDR dw2/2o0H0xn6izFlRmrJ5GiEHA== X-Received: by 2002:a17:907:c0b:: with SMTP id ga11mr25987809ejc.545.1618908813188; Tue, 20 Apr 2021 01:53:33 -0700 (PDT) Received: from phenom.ffwll.local ([2a02:168:57f4:0:efd0:b9e5:5ae6:c2fa]) by smtp.gmail.com with ESMTPSA id lj21sm11937012ejb.74.2021.04.20.01.53.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Apr 2021 01:53:32 -0700 (PDT) Date: Tue, 20 Apr 2021 10:53:30 +0200 From: Daniel Vetter To: Christian =?iso-8859-1?Q?K=F6nig?= Cc: Lee Jones , linux-kernel@vger.kernel.org, Huang Rui , David Airlie , Daniel Vetter , dri-devel@lists.freedesktop.org Subject: Re: [PATCH 27/40] drm/ttm/ttm_device: Demote kernel-doc abuses Message-ID: Mail-Followup-To: Christian =?iso-8859-1?Q?K=F6nig?= , Lee Jones , linux-kernel@vger.kernel.org, Huang Rui , David Airlie , dri-devel@lists.freedesktop.org References: <20210416143725.2769053-1-lee.jones@linaro.org> <20210416143725.2769053-28-lee.jones@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Operating-System: Linux phenom 5.7.0-1-amd64 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Apr 16, 2021 at 05:32:52PM +0200, Christian K?nig wrote: > Am 16.04.21 um 16:37 schrieb Lee Jones: > > Fixes the following W=1 kernel build warning(s): > > > > drivers/gpu/drm/ttm/ttm_device.c:42: warning: Function parameter or member 'ttm_global_mutex' not described in 'DEFINE_MUTEX' > > drivers/gpu/drm/ttm/ttm_device.c:42: warning: expecting prototype for ttm_global_mutex(). Prototype was for DEFINE_MUTEX() instead > > drivers/gpu/drm/ttm/ttm_device.c:112: warning: Function parameter or member 'ctx' not described in 'ttm_global_swapout' > > drivers/gpu/drm/ttm/ttm_device.c:112: warning: Function parameter or member 'gfp_flags' not described in 'ttm_global_swapout' > > drivers/gpu/drm/ttm/ttm_device.c:112: warning: expecting prototype for A buffer object shrink method that tries to swap out the first(). Prototype was for ttm_global_swapout() instead > > > > Cc: Christian Koenig > > Cc: Huang Rui > > Cc: David Airlie > > Cc: Daniel Vetter > > Cc: dri-devel@lists.freedesktop.org > > Signed-off-by: Lee Jones > > Reviewed-by: Christian K?nig Can you pls also land all the patches you reviewed from Lee into drm-misc-next? Just so they wont' get lost. Will all head in for 5.14. -Daniel > > > --- > > drivers/gpu/drm/ttm/ttm_device.c | 4 ++-- > > 1 file changed, 2 insertions(+), 2 deletions(-) > > > > diff --git a/drivers/gpu/drm/ttm/ttm_device.c b/drivers/gpu/drm/ttm/ttm_device.c > > index 9b787b3caeb50..a8bec8358350d 100644 > > --- a/drivers/gpu/drm/ttm/ttm_device.c > > +++ b/drivers/gpu/drm/ttm/ttm_device.c > > @@ -36,7 +36,7 @@ > > #include "ttm_module.h" > > -/** > > +/* > > * ttm_global_mutex - protecting the global state > > */ > > DEFINE_MUTEX(ttm_global_mutex); > > @@ -104,7 +104,7 @@ static int ttm_global_init(void) > > return ret; > > } > > -/** > > +/* > > * A buffer object shrink method that tries to swap out the first > > * buffer object on the global::swap_lru list. > > */ > -- Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch