From: "Arnd Bergmann" <arnd@arndb.de>
To: "Arnd Bergmann" <arnd@kernel.org>,
"Daniel Lezcano" <daniel.lezcano@linaro.org>,
"Thomas Gleixner" <tglx@linutronix.de>
Cc: "Nicolas Ferre" <nicolas.ferre@microchip.com>,
"Alexandre Belloni" <alexandre.belloni@bootlin.com>,
"Claudiu Beznea" <claudiu.beznea@tuxon.dev>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] clocksource: atmel_tcb: fix kconfig dependency
Date: Thu, 20 Feb 2025 09:54:36 +0100 [thread overview]
Message-ID: <cdce709e-b54a-4f06-9c67-b1e1a2fc8dbe@app.fastmail.com> (raw)
In-Reply-To: <20250220085231.1719249-1-arnd@kernel.org>
On Thu, Feb 20, 2025, at 09:52, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd@arndb.de>
>
> Build-testing this driver on arm without CONFIG_OF produces a warning:
>
> drivers/clocksource/timer-atmel-tcb.c:368:34: error:
> 'atmel_tcb_of_match' defined but not used
> [-Werror=unused-const-variable=]
> 368 | static const struct of_device_id atmel_tcb_of_match[] = {
> | ^~~~~~~~~~~~~~~~~~
>
> Change the dependency to allow build-testing on all architectures but
> instead require CONFIG_OF to be present.
>
And the second I send this out, another failure pops up, please
disregard this version as the CONFIG_ARM dependency is still needed
for register_current_timer_delay().
Arnd
prev parent reply other threads:[~2025-02-20 8:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-20 8:52 Arnd Bergmann
2025-02-20 8:54 ` Arnd Bergmann [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=cdce709e-b54a-4f06-9c67-b1e1a2fc8dbe@app.fastmail.com \
--to=arnd@arndb.de \
--cc=alexandre.belloni@bootlin.com \
--cc=arnd@kernel.org \
--cc=claudiu.beznea@tuxon.dev \
--cc=daniel.lezcano@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=nicolas.ferre@microchip.com \
--cc=tglx@linutronix.de \
/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®