From patchwork Fri Apr 16 14:37:12 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 422542 Delivered-To: patch@linaro.org Received: by 2002:a02:6a6f:0:0:0:0:0 with SMTP id m47csp448219jaf; Fri, 16 Apr 2021 07:38:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzejbgI9BCGzpIsiI6gMDc0/LrznL4lojaGfYGQpoaRFjnlWJ0jNHR71mL0auqBxDXy8pJo X-Received: by 2002:a05:6a00:22d6:b029:246:6209:b483 with SMTP id f22-20020a056a0022d6b02902466209b483mr8146235pfj.58.1618583927144; Fri, 16 Apr 2021 07:38:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618583927; cv=none; d=google.com; s=arc-20160816; b=DMspaRBrG7XewFGBosQnNuxMYo3nyyXwRIPhz++/OhzF8IZPpxhOZNOkgZF2J23kZ9 j3efo8G7JZBhHyWCFB+E7ZxcrBzBd7dgZsjN3fp7NkpXyHijxuFyg7Xu8Mx7Ra0oaBNn MnNXQdbsv25SSBgB0AT+P8ayfc0hn7M62UhtsF6/JYNiHrX/3mqjrliiDgwNnji6mKaJ tJVqyX9ys082gJq9zO/oAbsnnjGwQGHt5a1ONnG7OI6wcqzcR4kvaIYCTfiAJOAJapXz 6KTIBX3kDvOslJEInwatGkNFandNFmBVvbVTKqWsoSBreB/jDN3Mm+E+BLzpDjxqDg/H B6ZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=C0BanMjMhrVvvM25N2JqfRqUDp9oVEIl8DdFW0YPK5g=; b=sH7SqpT2imYxPH5BIaJnkVWg45IwkaxPf8hinl+S0T0C3r1QIO40mCaF0A6bChsqjg U9E5H2LTq7dLHs3vOb3K5ZmghLSMQBHlIssU1KTE+8jZPP0Mtht4W8F99Dykbkh2szSE O4/C0mucj6ojwPJGEFLiOHAPVuhlaYgFkhvssq1yHPaQXrt3PlshTAO1QR27WcOd5DaK TutbqdgJrXn231W8XizIG08ogIex6EmMZsUBEpXihNwOql7TIWPifPnJNsLmUvlnL0Bl jdPwYUdG8rI/QsmDtzoi+2VuHHrrS/l+Y83y6f7pzOlmDlpEtook4+YCE0peM2u+7ITY aZxQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=yqJ3UFcV; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id b18si7242985pjq.50.2021.04.16.07.38.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Apr 2021 07:38:47 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=yqJ3UFcV; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 6608A6EC2B; Fri, 16 Apr 2021 14:38:25 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-ed1-x532.google.com (mail-ed1-x532.google.com [IPv6:2a00:1450:4864:20::532]) by gabe.freedesktop.org (Postfix) with ESMTPS id BFB0B6EC03 for ; Fri, 16 Apr 2021 14:37:59 +0000 (UTC) Received: by mail-ed1-x532.google.com with SMTP id i3so6881016edt.1 for ; Fri, 16 Apr 2021 07:37:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=OtJJGzKSHczA5bNxqqkJUwGtlpEbmjnBJdKzpKDEnCY=; b=yqJ3UFcVv2gARKiV72xCrq0tI5R1O8jjDny5TfNTybJygWqlFnLk1n559dd4JdWHIa Mv9cWET1zGWtkY1m95oCj6PTPqfWOOBgw3ijHcxb6gtY5xJo1GbfGUqjuvHAQAeYALFu egFNwiC82OUdr53tLKhaq2fA+vvVXQ/bIMiWBTpdtCoQkk3AFJngC0N4XCi5Mo8A0jXa GZI6fcZf2/PuH7pjYG75Usus7CYTj/a/HEo82nMnwljU+tnDRScD9O7Eqzbj5ZAx8mEm eNa21fKg1D9KvQ/XF2i2e3sP4rEdUVZnA2OiQANGSy438qulqZKIH0RgprxXSxOtNaYu MEEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=OtJJGzKSHczA5bNxqqkJUwGtlpEbmjnBJdKzpKDEnCY=; b=mZq+rRU58GCG+nX++hHyxyXXMF8g4CAetV+SWPJCbkoUs8bioJ0BIWJwIfEMYh0tae XkXoODuz4GwRSsNabVD/t2pMWLN5jvhjSGORM5Bzi4L/j/7F8kwzYNaKbvTOZYAcdbK2 xVeADeumIkaHVvHEMoox54ACR2toAWY9DrwqIGrQFiqFmV7rsNcdc5zjKmK1OHZdn/dX yD3D/qhCplXpPxlt9w/x6xfVsNl7ejL1e/FFGaS2gU9aNza4SZo9IwMdDO1pmFzhWB8W FpH84Q2cCzxssEDJxzBcrdayN7IaiVF9QI1iAYIuOw7HMlBEyeQgxMlUjmWsZProb7sy 3NkA== X-Gm-Message-State: AOAM533LiA9h1ry41yHnp4ezRCMJ594cMshxMHyljWIs1BQnIi4SW17V AHaeaCmeNDPyU6uLQaXr7TaxLQ== X-Received: by 2002:aa7:dd98:: with SMTP id g24mr10283531edv.75.1618583878480; Fri, 16 Apr 2021 07:37:58 -0700 (PDT) Received: from dell.default ([91.110.221.215]) by smtp.gmail.com with ESMTPSA id j10sm1326523ejk.93.2021.04.16.07.37.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Apr 2021 07:37:58 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 27/40] drm/ttm/ttm_device: Demote kernel-doc abuses Date: Fri, 16 Apr 2021 15:37:12 +0100 Message-Id: <20210416143725.2769053-28-lee.jones@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210416143725.2769053-1-lee.jones@linaro.org> References: <20210416143725.2769053-1-lee.jones@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: David Airlie , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Huang Rui , Christian Koenig Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" 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 --- drivers/gpu/drm/ttm/ttm_device.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.27.0 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel Reviewed-by: Christian König 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. */