From mboxrd@z Thu Jan 1 00:00:00 1970 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 16DBEC433F5 for ; Mon, 18 Oct 2021 13:56:45 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id D3EBE60EE3 for ; Mon, 18 Oct 2021 13:56:44 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org D3EBE60EE3 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 5321F6EA2E; Mon, 18 Oct 2021 13:56:44 +0000 (UTC) Received: from mail-wr1-x42a.google.com (mail-wr1-x42a.google.com [IPv6:2a00:1450:4864:20::42a]) by gabe.freedesktop.org (Postfix) with ESMTPS id 63BB66EA2E for ; Mon, 18 Oct 2021 13:56:43 +0000 (UTC) Received: by mail-wr1-x42a.google.com with SMTP id t2so41655068wrb.8 for ; Mon, 18 Oct 2021 06:56:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=ooh8xy1o0eZVm8LodhjQadtOCGvJsUvk+tIL6iaJCMA=; b=WX2YlDanFpIyfDOAFuLOlEXPyJ2WruxRZCsiJ1nZj5KKKf8dhrWYG3EM3lpbjQHg7J Wnz0pA5IJU32V0S8hipRY9Zow56ZkdfYALwT6MtdZ1R+4YKrdFkLZ1L4KqeqiJJJWdPa 8atnOMS3pgEs2d/bfg5TujZB/mr8wipLcFIfhzlNDQx7ND1NsBWcriwuoe5KKtjcu+/x OAPHo6S0cueNtQs5/EeoXokooXD7H19j4hAEXR+7L7oYum+d2YtTcW7U7hht32YF980o 4e82FbRpEr0WjTTL2IH/bNGAeuqcuG3W/ja7nJ5JRGLKtDyJWOpCDuj6doVFMU4x2xBY cEDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=ooh8xy1o0eZVm8LodhjQadtOCGvJsUvk+tIL6iaJCMA=; b=m08aePF9Mfiv/rVrMu75hYx6tluYudtrrO0ZlPNIX/JcHR/ZS+nolHIxbQtfleQvjP FzGyvGiIaR89HhaO0AUCwt4fx0tbC5mH/9gT0++eWb/k0WNoM92UhUxts/I+ouFQx1+1 kcv5dHOTPRxFw2aZW4vSsK1cyWs0jS/TUxflNogfd2iiVqcofikBkY94DtN2AfCqwVYp No74rkdXPTgif7gTn1QFmaiIM4fuJLJ6y/JVwC3Oo3nafwG/udzZIs+NVaPH3XZ95f+c Ra9/g3cVjVyrHLHxPeSNaTGkjwd9ewf/ubDpGSoW55z6ZXScN0dmKh76PemhDIcXGImS T++A== X-Gm-Message-State: AOAM532KYGQwqjugs3Rz/2ePahPKcieO6uhC6KwkN8IaPKeK/yULJ1au vQMT7Y56aWGEUXDH5xm4sZ4= X-Google-Smtp-Source: ABdhPJzOa0iEN935FLwUlLzFLgjTTp636rZR321KHGh8ALm9P+znqwL1m5XfaswuUMqAtFGzd4LncQ== X-Received: by 2002:a5d:6410:: with SMTP id z16mr11753421wru.354.1634565401896; Mon, 18 Oct 2021 06:56:41 -0700 (PDT) Received: from localhost ([217.111.27.204]) by smtp.gmail.com with ESMTPSA id j206sm15639001wmj.23.2021.10.18.06.56.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Oct 2021 06:56:41 -0700 (PDT) Date: Mon, 18 Oct 2021 15:56:40 +0200 From: Thierry Reding To: Arnd Bergmann Cc: David Airlie , Daniel Vetter , Jonathan Hunter , Mikko Perttunen , Arnd Bergmann , dri-devel@lists.freedesktop.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] drm/tegra: mark nvdec PM functions as __maybe_unused Message-ID: References: <20211013144148.2208472-1-arnd@kernel.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="SIz/mzrlb6EwMjfb" Content-Disposition: inline In-Reply-To: <20211013144148.2208472-1-arnd@kernel.org> User-Agent: Mutt/2.1.3 (987dde4c) (2021-09-10) 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: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" --SIz/mzrlb6EwMjfb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Oct 13, 2021 at 04:41:36PM +0200, Arnd Bergmann wrote: > From: Arnd Bergmann >=20 > The resume helper is called conditionally and causes a harmless > warning when stubbed out: >=20 > drivers/gpu/drm/tegra/nvdec.c:240:12: error: 'nvdec_runtime_resume' defin= ed but not used [-Werror=3Dunused-function] > 240 | static int nvdec_runtime_resume(struct device *dev) >=20 > Mark both suspend and resume as __maybe_unused for consistency > to avoid this warning. >=20 > Fixes: e76599df354d ("drm/tegra: Add NVDEC driver") > Signed-off-by: Arnd Bergmann > --- > drivers/gpu/drm/tegra/nvdec.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Applied, thanks. Thierry --SIz/mzrlb6EwMjfb Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEiOrDCAFJzPfAjcif3SOs138+s6EFAmFtfRgACgkQ3SOs138+ s6F41hAAnsX3GlRbrAKlFAvpLqbBgE62IAisdMeL1RKwu0HpkBBhKqdo5dqjui+r P1B9e+DP2HxvICgbje3wAWU11Xh2HG8YefdA9QBZpwGH5SVRQRsteKVom39vdB2f YjZusbsMD0cucypBW3EOdw7UXsy64v0Vg5dvv3TfXR4WYkQCOacCzQrxLMp81tPw 0Zb1xjkPLMpkevZwTuV7cBJB7lVQS+JuvyXxKiRgbHjqm5YnErlA5KFFXRp+jxAC c1qHKx5UG9a3Lmp8Rt4BIQCEX7nFDUxQYBRb212Mx2EvFzEvM5uQO1u6SkMK9Iw5 ZRaFD3TmcAVOTQ9vrfQ8HWq5n5jCGHx2FynjqJeQC+qxRtx2iXjO/MPWxyLKbMbs 6KamG04yYmdICx3VCLEijSBMwkpjGju1xPCyd83GGVawRm7pzqLqlw4rVoyz3RE4 i6W0N4spcamHgK+3sOR6wz2I8cp9jYKFqijecenS/RBc85kbcH4BhnCyxL1fXDbS nJRIDfSJj/K8WkTxnYQ6nWMFMwwXsyEllR4X4JGugxwGRfWJNfNmgJxpOyHGxQc+ o72AtLYyUJaJWE9Jf0OGIoI7EoZ/OIsxcHUQt+WiIpswl6u0qVxEclfsr34jpyaJ MTDtJ7zFO7ML5Vb/6smNbkpWkTh6uzlHAsId9eU1Uk5311F3VQA= =NRLn -----END PGP SIGNATURE----- --SIz/mzrlb6EwMjfb--