From: Sameer Pujar <spujar@nvidia.com>
To: YueHaibing <yuehaibing@huawei.com>,
lgirdwood@gmail.com, broonie@kernel.org, perex@perex.cz,
tiwai@suse.com, thierry.reding@gmail.com, jonathanh@nvidia.com
Cc: alsa-devel@alsa-project.org, linux-tegra@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH -next] ASoC: tegra186_asrc: mark runtime-pm functions as __maybe_unused
Date: Mon, 11 Apr 2022 13:51:31 +0530 [thread overview]
Message-ID: <deef30c1-b213-c483-a3bc-ba06f5c2e37f@nvidia.com> (raw)
In-Reply-To: <20220411020908.580-1-yuehaibing@huawei.com>
On 11-04-2022 07:39, YueHaibing wrote:
> sound/soc/tegra/tegra186_asrc.c:90:12: error: ‘tegra186_asrc_runtime_resume’ defined but not used [-Werror=unused-function]
> static int tegra186_asrc_runtime_resume(struct device *dev)
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
> sound/soc/tegra/tegra186_asrc.c:80:12: error: ‘tegra186_asrc_runtime_suspend’ defined but not used [-Werror=unused-function]
> static int tegra186_asrc_runtime_suspend(struct device *dev)
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> Mark these functions as __maybe_unused to avoid this kind of warning.
>
> Fixes: a2df8c2d5b36 ("ASoC: tegra: Add Tegra186 based ASRC driver")
> Signed-off-by: YueHaibing <yuehaibing@huawei.com>
> ---
> sound/soc/tegra/tegra186_asrc.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
Thanks for the patch.
Reviewed-by: Sameer Pujar <spujar@nvidia.com>
next prev parent reply other threads:[~2022-04-11 8:21 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-11 2:09 YueHaibing
2022-04-11 8:21 ` Sameer Pujar [this message]
2022-04-12 17:38 ` Mark Brown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=deef30c1-b213-c483-a3bc-ba06f5c2e37f@nvidia.com \
--to=spujar@nvidia.com \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=jonathanh@nvidia.com \
--cc=lgirdwood@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-tegra@vger.kernel.org \
--cc=perex@perex.cz \
--cc=thierry.reding@gmail.com \
--cc=tiwai@suse.com \
--cc=yuehaibing@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®