From patchwork Sat Jul 9 10:07:23 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mauro Carvalho Chehab X-Patchwork-Id: 12912149 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 9FB42C43334 for ; Sat, 9 Jul 2022 10:07:50 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 89EB010E044; Sat, 9 Jul 2022 10:07:42 +0000 (UTC) Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by gabe.freedesktop.org (Postfix) with ESMTPS id A7C0010E071 for ; Sat, 9 Jul 2022 10:07:41 +0000 (UTC) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 47AF1B819D8; Sat, 9 Jul 2022 10:07:40 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 61729C341CD; Sat, 9 Jul 2022 10:07:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1657361258; bh=03e50XPPwE+9afVhjrLNxqR8eX0CecNoQW3lmsb6LX8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=E0+yfzSHM8m2gOWe7vV0L+CWyQ5/YNPe3KtYoDzVCvQ4m+CRz5uV7AqvuzEx9gWgl jw8tkH4OWFWSc4IewUD1Ytr27Pi8IGHPIQU0fbXe7Sh37dF7ZsCs6W2h/sOi1a4BjX +a+LXyFDRCfmTjMjJ/f9AcHIA5mZimLXhm34WptOEw/rEKubEU55kIh5CBvh7OskYc 6yg0ck1EJzI1m4xfvC66gfjLBYryGTmGGiIlxqf99/ud6pbuF1HoFr2xd8ex9scj3v V9rMj5z6ooBe1mvDrp4DEUviq5e9gydLqgXEaqhbAGZ181H7apSWnuMjkz/pKdV2DV 8i22lXKZe911Q== Received: from mchehab by mail.kernel.org with local (Exim 4.95) (envelope-from ) id 1oA7N9-004EGu-If; Sat, 09 Jul 2022 11:07:35 +0100 From: Mauro Carvalho Chehab To: Linux Doc Mailing List Subject: [PATCH v3 10/21] drm/scheduler: add a missing kernel-doc parameter Date: Sat, 9 Jul 2022 11:07:23 +0100 Message-Id: <16fa23368e6728fd77016e804779ea1d37ccfc40.1657360984.git.mchehab@kernel.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: References: 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: Jonathan Corbet , Mauro Carvalho Chehab , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, David Airlie , Alex Deucher , Mauro Carvalho Chehab Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Add a description for struct device at drm_sched_init(), in order to solve this warning: drivers/gpu/drm/scheduler/sched_main.c:999: warning: Function parameter or member 'dev' not described in 'drm_sched_init' Reviewed-by: Alex Deucher Signed-off-by: Mauro Carvalho Chehab --- To avoid mailbombing on a large number of people, only mailing lists were C/C on the cover. See [PATCH v3 00/21] at: https://lore.kernel.org/all/cover.1657360984.git.mchehab@kernel.org/ drivers/gpu/drm/scheduler/sched_main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/scheduler/sched_main.c b/drivers/gpu/drm/scheduler/sched_main.c index 68317d3a7a27..9d27cd280c89 100644 --- a/drivers/gpu/drm/scheduler/sched_main.c +++ b/drivers/gpu/drm/scheduler/sched_main.c @@ -994,6 +994,7 @@ static int drm_sched_main(void *param) * used * @score: optional score atomic shared with other schedulers * @name: name used for debugging + * @dev: pointer to struct device * * Return 0 on success, otherwise error code. */