From patchwork Sat Jul 9 10:07:22 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: 12912151 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 D76E4C43334 for ; Sat, 9 Jul 2022 10:08:02 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 5038B10F987; Sat, 9 Jul 2022 10:07:47 +0000 (UTC) Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by gabe.freedesktop.org (Postfix) with ESMTPS id A21EF10E044 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 C7F07B819C4; Sat, 9 Jul 2022 10:07:39 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5CC75C341CA; 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=pVUIpt19JgKR7qlg44MmrmMhL51sRSTeq5HuSNhQMwg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=mRRo5XT6i5RKuLq6TMxHEZyAch/WAMBhRjuyiLzIHD9hnWxQqqKA1GYlB65kHqB58 j4+O0TnR5AkPujWslDMQ0l0scqzj9qXic8K1TPz7kipbmFOHhbNECL6UMyWj8IX5e6 X2Wrkf3gyIwSeRqPYdUt6brU2Aeuc5Af1iBqaLAtuVY3qPykkFsCTNdl0cS3FxrjvC F5WgL+W66yW85yKsa4u0HwwO0OAJ4XlH6LhzVKitcEs13+BZ9zDId1S4GainHEjpB5 PmGI1rnfKwA3ZwVkj7g4dzW+X5LP/05l+br7y3CO3JuOlgAvpsH5e531G7ubtvaaQh zPv9dXqlmSzBQ== Received: from mchehab by mail.kernel.org with local (Exim 4.95) (envelope-from ) id 1oA7N9-004EGr-I4; Sat, 09 Jul 2022 11:07:35 +0100 From: Mauro Carvalho Chehab To: Linux Doc Mailing List Subject: [PATCH v3 09/21] drm/scheduler: fix a kernel-doc warning Date: Sat, 9 Jul 2022 11:07:22 +0100 Message-Id: <879d916ad72029ea9611f78de1181df01dee5ca3.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" The dev field was not documented: include/drm/gpu_scheduler.h:463: warning: Function parameter or member 'dev' not described in 'drm_gpu_scheduler' Document it. Reviewed-by: Alex Deucher Signed-off-by: Mauro Carvalho Chehab Reviewed-by: Alex Deucher --- 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/ include/drm/gpu_scheduler.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/drm/gpu_scheduler.h b/include/drm/gpu_scheduler.h index addb135eeea6..c7c487e0c40e 100644 --- a/include/drm/gpu_scheduler.h +++ b/include/drm/gpu_scheduler.h @@ -435,6 +435,7 @@ struct drm_sched_backend_ops { * @_score: score used when the driver doesn't provide one * @ready: marks if the underlying HW is ready to work * @free_guilty: A hit to time out handler to free the guilty job. + * @dev: pointer to struct device. * * One scheduler is implemented for each hardware ring. */ 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. */ From patchwork Sat Jul 9 10:07:24 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: 12912152 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 2CDD8C43334 for ; Sat, 9 Jul 2022 10:08:06 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 95F8C10FB0D; Sat, 9 Jul 2022 10:07:50 +0000 (UTC) Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by gabe.freedesktop.org (Postfix) with ESMTPS id 7061D88F0D 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 dfw.source.kernel.org (Postfix) with ESMTPS id BD97760EDE; Sat, 9 Jul 2022 10:07:40 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 83E85C341E4; 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=qiRPr94AFRMOGdMAE4cJrf7t0rv+9IXQLXV79wY5o4s=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=FUrhBDV8qQ3BBmHXqnc/8ipJ4ijIhzVDDemntLvaD+ld6JNia3myDoK968lVQT/JF 777qXSX6Qv2PjJJhVV2o2E9tWWIDi4BQAwPhdGPILIE4Oo/k8JjN+1eOsn1Emy3uMB qw1e3XET2y58XYWDuz0Iu6BJ6jb321aA0GC0GT6kUD1YPdxlT3SqRFgCCVB3ikR601 u0F2G8WS8ueJDx+sysVVEBz1iif53JLznhQngkj4Mu87YRPKBWEWKljrUNBTZJ/j4V Q1fgEz5I3zCS6KOuXs1pk+Vw1MyPtzhQBr7aVzuDwylIhadsV0Ug2Pa252oHxnwANG 9DMDhL+eyM8uQ== Received: from mchehab by mail.kernel.org with local (Exim 4.95) (envelope-from ) id 1oA7N9-004EGx-JK; Sat, 09 Jul 2022 11:07:35 +0100 From: Mauro Carvalho Chehab To: Linux Doc Mailing List Subject: [PATCH v3 11/21] kfence: fix a kernel-doc parameter Date: Sat, 9 Jul 2022 11:07:24 +0100 Message-Id: <4e4f3c9fa6b379a82b9647d2f4152cfb520730ff.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: Marco Elver , Jonathan Corbet , Mauro Carvalho Chehab , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Sumit Semwal , linaro-mm-sig@lists.linaro.org, Alexander Potapenko , kasan-dev@googlegroups.com, Mauro Carvalho Chehab , =?utf-8?q?Christian_K=C3=B6nig?= , Dmitry Vyukov , linux-media@vger.kernel.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" The kernel-doc markup is missing the slab pointer description: include/linux/kfence.h:221: warning: Function parameter or member 'slab' not described in '__kfence_obj_info' Document it. Reviewed-by: Marco Elver 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/ include/linux/kfence.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/kfence.h b/include/linux/kfence.h index 726857a4b680..9c242f4e9fab 100644 --- a/include/linux/kfence.h +++ b/include/linux/kfence.h @@ -210,6 +210,7 @@ struct kmem_obj_info; * __kfence_obj_info() - fill kmem_obj_info struct * @kpp: kmem_obj_info to be filled * @object: the object + * @slab: pointer to slab * * Return: * * false - not a KFENCE object