Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp465592imw; Wed, 13 Jul 2022 01:43:21 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uO7yEGQ45wcBmjW5YZ2KLdLtPslOgmPxsbVoapuFZ6u5A7WW/CgM44oTLXLWHnBEHNv7K7 X-Received: by 2002:a63:2b15:0:b0:412:4d98:7956 with SMTP id r21-20020a632b15000000b004124d987956mr2009240pgr.325.1657701801431; Wed, 13 Jul 2022 01:43:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657701801; cv=none; d=google.com; s=arc-20160816; b=RK/UGmmKexRpFk/Hbbuq3Xhxt4gU0PRNouth8OpfkICiH7feB0JpDTbbYyBKcx0U3H V7oK3jvLLn5wIF9N+TBFyy1zA/HbxRnvvArTNQu8QXdj3F5E8NvqFFu+V5Ld27vhoT+n EFMK6N8Sm3heG5dfKYSKdg6jS4XeWWLuYihp9Q7C0NAzEaRgAtz496T1raUlt0A5Xdc+ 75NoBaD3LcZDzLaa0s/fWJFUmvmoOCJUHlYYNae2LnPubU3Lld4EpWF2ofmZyYAZUSPi bRUpedtNh7XCRc7sTYcrCCDyU5hXgGxL5OIt3eVSphAfX/VPTj/t8LWSnhl/Hk4Zh9U4 6BYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:from :dkim-signature; bh=XPvnXXMe+Zl+8USjnwZht/WoVH8JwOucQf2K0xhzNi4=; b=01mIHdjx7sNJ0+xNLk33odhRfuJYJHkuZeSIgr2SALXvsf3OSCzb1B12mZ1rAEagQg BSRmIJoB59wZm1QtrMBQ12QRQjWNaE3j3FciAQBRWZTuzvAz14Hn5c1iVm1YUTJcuK99 sUecDPnCdV9KNABzJ44EeqNX0+rnYASSDb1zo0hm4E6ghDk8Hbrk9AIlDro4Y/Qe+wqX 3Pn/YZVrSyOZRYfh/5wY3YJHsU9ZhCw4G5yUpTS70Ty+D9cHvWZYJUJsqMRNuQMEIprL 77wKjawjjJAUWGM7SrCGbY7S+exrb9k3t3kUTJgjx8oV3SA/zuiKAFPplsOgQp9envkX kiKQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@kernel.org header.s=k20201202 header.b=i0Ok75E1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l2-20020a17090af8c200b001f0365517fesi1860413pjd.132.2022.07.13.01.43.09; Wed, 13 Jul 2022 01:43:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail header.i=@kernel.org header.s=k20201202 header.b=i0Ok75E1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235021AbiGMINi (ORCPT + 99 others); Wed, 13 Jul 2022 04:13:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41690 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234963AbiGMIMg (ORCPT ); Wed, 13 Jul 2022 04:12:36 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D426FE95FC for ; Wed, 13 Jul 2022 01:12:34 -0700 (PDT) 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 76085B81D5B for ; Wed, 13 Jul 2022 08:12:33 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 070B7C385A2; Wed, 13 Jul 2022 08:12:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1657699952; bh=bME4oJz6dR2dL+exdw8ZiepOjromIutAKbYd7CbWH1Q=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=i0Ok75E1qOpSqD7A+Pl6xuMC5wXKTvxjMQUDYRMkuCPvxHd6xy+KSfcITt5p45Luy Iki8Zobqq25c91WZeLhbg7F2DEdB2mQla4e6mbuTaRY1WP4cWIifKQbOZpAgXYsv1s faElSYNBCaFtSnJognOL3HUhOI0yW1hEKdhL+F60mbpl6z47B/zcu6Gi7Ydd2s0ZtA TzSFr4KDeiBD5G2k14XixU+6AEmn7Ep3HoZcRiwTS3c8JehaVgydMjLFaPwMLoe+Gu ByAySK5ipHqr3wE1Z75dtio1CThV5TaOSTb91D4DINhuPBFSr95kwLNWKmqvEx5Y5A 34+bkAKYeS57g== Received: from mchehab by mail.kernel.org with local (Exim 4.95) (envelope-from ) id 1oBXTx-004ztY-Mb; Wed, 13 Jul 2022 09:12:29 +0100 From: Mauro Carvalho Chehab Cc: Mauro Carvalho Chehab , =?UTF-8?q?Thomas=20Hellstr=C3=B6m?= , Daniel Vetter , David Airlie , Jani Nikula , Joonas Lahtinen , Matthew Auld , Nirmoy Das , Rodrigo Vivi , Tvrtko Ursulin , dri-devel@lists.freedesktop.org, intel-gfx@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 19/39] drm/i915: i915_gem_region.h: fix i915_gem_apply_to_region_ops doc Date: Wed, 13 Jul 2022 09:12:07 +0100 Message-Id: X-Mailer: git-send-email 2.36.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net To: unlisted-recipients:; (no To-header on input) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The kernel-doc markup for i915_gem_apply_to_region_ops() has some issues: 1. The field should be marked as @process_obj; 2. The callback parameters aren't document properly, as sphinx will consider them to be placed at the wrong place. Fix (1) and change the way the parameters are described, using a list, in order for it to be properly parsed during documentation build time. 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 v2 00/39] at: https://lore.kernel.org/all/cover.1657699522.git.mchehab@kernel.org/ drivers/gpu/drm/i915/gem/i915_gem_region.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/i915/gem/i915_gem_region.h b/drivers/gpu/drm/i915/gem/i915_gem_region.h index 2dfcc41c0170..b0134bf4b1b7 100644 --- a/drivers/gpu/drm/i915/gem/i915_gem_region.h +++ b/drivers/gpu/drm/i915/gem/i915_gem_region.h @@ -22,9 +22,11 @@ struct i915_gem_apply_to_region; */ struct i915_gem_apply_to_region_ops { /** - * process_obj - Process the current object - * @apply: Embed this for private data. - * @obj: The current object. + * @process_obj: Callback function to process the current object + * it requires two arguments: + * + * - @apply: Embed this for private data. + * - @obj: The current object. * * Note that if this function is part of a ww transaction, and * if returns -EDEADLK for one of the objects, it may be -- 2.36.1