Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp3676072imw; Mon, 11 Jul 2022 13:26:46 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vb1sjnHiJbR+k9Ygr33LSWiY8LdQZMrur5KWfRSEswOZ4ZAsJtOsclfmlOgWRd/h+j3N/U X-Received: by 2002:a17:90b:3c0c:b0:1ef:e647:ff48 with SMTP id pb12-20020a17090b3c0c00b001efe647ff48mr142669pjb.173.1657571206118; Mon, 11 Jul 2022 13:26:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657571206; cv=none; d=google.com; s=arc-20160816; b=VUjyK6netx4VW3VkHNMvFNqwHXxEZp1bIaHi22uLEpyDNoMF3h+W8avXSMw5+dGU0b SbgKPZEL2FipyLZxckNFKwHz02bst3+xGoIKiXD433bkv0BMJcI+zUOhq+XYITvCtQYW DkWiFBL9vYkdkyr0eslSsGOgmI2tLyzblbEzCLcGpmTLaUOb+XbanqRt5IhzKHI6PBN6 EeCU2EPStLFqCpHTYPBGv5r1zy5/CSCRm7imyU9p01UQuUwvMWATLH7UdiN7GEoHtoM9 N9RD9KJp/CibBR1yHK/GGo+hK9valcb0f6z93rLN2fRcSX/gxEqLZ4LtXIt+Id/7Tgq/ aRFg== 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=B3jcKWAeBvqp0YqRJoSJxw0165PE5Lccr3jMjOcmhN8=; b=wcZVJ1Do43PHu+OMR8P9c0s6lf1pmZUpV4zi22LufOB/td+lzXvJd5Z2o6JAukdovr eDwVD48kOsU4U7jIe2NPftWWSExYS1MW6wuKkSs3FHpkdE13Iv7212LGJ9lU9gzxQVYi f3/hhmpvvuTCEvLzf6yg4o04l74DV3MtxAfz14xDKIzM9u2hszLiy3z1iLXPnSgigCQA eB/0ZxqhqpAvYJU7V2u4xyk0XjOBwD7qJjAn9G+ygHrHUI6sDz38BAJ6SMSjhfm68NrW jF6cMtH0p0hKstLtCHUK+af4lWYWzu2ez06dK6Ctbpy1T1mJbv420sPbl8nnr6TwsQSi UwSg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@kernel.org header.s=k20201202 header.b=WlYMrICx; 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 mh18-20020a17090b4ad200b001ef8ab5f4e6si10337447pjb.126.2022.07.11.13.26.34; Mon, 11 Jul 2022 13:26:46 -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=WlYMrICx; 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 S230501AbiGKUZh (ORCPT + 99 others); Mon, 11 Jul 2022 16:25:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44386 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229745AbiGKUZZ (ORCPT ); Mon, 11 Jul 2022 16:25:25 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DA08A357CD for ; Mon, 11 Jul 2022 13:25:24 -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 dfw.source.kernel.org (Postfix) with ESMTPS id 786B46160D for ; Mon, 11 Jul 2022 20:25:24 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 20786C385A5; Mon, 11 Jul 2022 20:25:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1657571123; bh=JmPMr0UNPPF1GlXrFpz+iVGZIKjSFpWV9k4IbirRPBA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=WlYMrICxqmmhFoXpZTNbJxuVcUnpORO3ZJXRfTMdKGS5N7Vtxd0zjqeW1iyjbOyCO gaeY/FyMy0Un+ad/GacAO6aUXMxgm8JM1u9QAjDOrhG+cKomDFJvSPmbDvZffnNBgZ sN8SWlq9BLBkuydTLryYhJAKe5xF85nmM4Ab3Xw8exklCFi75QEgl/dF2ao45BIqiW LsdyL8juHvH54PJjUCU802oMwvXD9O9oWGXqX6knGW9IviEK6HdghPePMd45u9MswX fuaTeTOd//+FBpGHPEemTVp+TR4k9QzODTJuKXKMSNTzyx29ECnDmLVLOkkhpXTDSk n0PWg2S2Oi8Bg== Received: from mchehab by mail.kernel.org with local (Exim 4.95) (envelope-from ) id 1oAzy3-004e7j-Di; Mon, 11 Jul 2022 21:25:19 +0100 From: Mauro Carvalho Chehab Cc: Mauro Carvalho Chehab , "Jani Nikula" , "Lucas De Marchi" , "Rodrigo Vivi" , Daniel Vetter , David Airlie , Joonas Lahtinen , Tvrtko Ursulin , dri-devel@lists.freedesktop.org, intel-gfx@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: [PATCH 06/32] drm/i915: intel_wakeref.h: fix some kernel-doc markups Date: Mon, 11 Jul 2022 21:24:51 +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 Two documented functions don't match the kernel-doc comments, as reported by kernel-doc: drivers/gpu/drm/i915/intel_wakeref.h:117: warning: expecting prototype for intel_wakeref_get_if_in_use(). Prototype was for intel_wakeref_get_if_active() instead drivers/gpu/drm/i915/intel_wakeref.h:149: warning: expecting prototype for intel_wakeref_put_flags(). Prototype was for __intel_wakeref_put() instead Fix them. Additionally, improve title for intel_wakeref_get_if_active(). 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 00/32] at: https://lore.kernel.org/all/cover.1657565224.git.mchehab@kernel.org/ drivers/gpu/drm/i915/intel_wakeref.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_wakeref.h b/drivers/gpu/drm/i915/intel_wakeref.h index 4f4c2e15e736..63e539c9b1f3 100644 --- a/drivers/gpu/drm/i915/intel_wakeref.h +++ b/drivers/gpu/drm/i915/intel_wakeref.h @@ -104,7 +104,7 @@ __intel_wakeref_get(struct intel_wakeref *wf) } /** - * intel_wakeref_get_if_in_use: Acquire the wakeref + * intel_wakeref_get_if_active: Acquire the wakeref if active * @wf: the wakeref * * Acquire a hold on the wakeref, but only if the wakeref is already @@ -130,7 +130,7 @@ intel_wakeref_might_get(struct intel_wakeref *wf) } /** - * intel_wakeref_put_flags: Release the wakeref + * __intel_wakeref_put: Release the wakeref * @wf: the wakeref * @flags: control flags * -- 2.36.1