From: Stephen Boyd <sboyd@kernel.org>
To: Michael Turquette <mturquette@baylibre.com>,
Stephen Boyd <sboyd@kernel.org>
Cc: linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org,
kbuild test robot <lkp@intel.com>
Subject: Re: [PATCH] clk: ingenic: Mark ingenic_tcu_of_match as __maybe_unused
Date: Thu, 28 May 2020 16:47:10 -0700 [thread overview]
Message-ID: <159070963068.69627.14874637406897919086@swboyd.mtv.corp.google.com> (raw)
In-Reply-To: <20200528233837.70269-1-sboyd@kernel.org>
Quoting Stephen Boyd (2020-05-28 16:38:37)
> This device id table is passed to of_match_node() later on in probe, but
> on CONFIG_OF=n builds of_match_node() doesn't do anything with the
> arguments. Lets just mark the table unused so that the compiler doesn't
> complain about this.
>
> drivers/clk/ingenic/tcu.c:326:34: warning: unused variable 'ingenic_tcu_of_match' [-Wunused-const-variable]
> static const struct of_device_id ingenic_tcu_of_match[] __initconst = {
> ^
> 1 warning generated.
>
> Reported-by: kbuild test robot <lkp@intel.com>
> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
> ---
Applied to clk-next
prev parent reply other threads:[~2020-05-28 23:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-28 23:38 [PATCH] clk: ingenic: Mark ingenic_tcu_of_match as __maybe_unused Stephen Boyd
2020-05-28 23:47 ` Stephen Boyd [this message]
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=159070963068.69627.14874637406897919086@swboyd.mtv.corp.google.com \
--to=sboyd@kernel.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lkp@intel.com \
--cc=mturquette@baylibre.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.