From: Tony Lindgren <tony@atomide.com>
To: Ladislav Michl <ladis@linux-mips.org>
Cc: Nathan Chancellor <natechancellor@gmail.com>,
Daniel Lezcano <daniel.lezcano@linaro.org>,
Thomas Gleixner <tglx@linutronix.de>,
linux-kernel@vger.kernel.org, YueHaibing <yuehaibing@huawei.com>,
Keerthy <j-keerthy@ti.com>
Subject: Re: [PATCH] clocksource/drivers/timer-ti-dm: Remove omap_dm_timer_set_load_start
Date: Thu, 4 Apr 2019 07:17:30 -0700 [thread overview]
Message-ID: <20190404141730.GE49658@atomide.com> (raw)
In-Reply-To: <20190327081142.GA11034@lenoch>
* Ladislav Michl <ladis@linux-mips.org> [190327 08:12]:
> Hello Nathan,
>
> On Tue, Mar 26, 2019 at 10:01:27PM -0700, Nathan Chancellor wrote:
> > Commit 008258d995a6 ("clocksource/drivers/timer-ti-dm: Make
> > omap_dm_timer_set_load_start() static") made omap_dm_time_set_load_start
> > static because its prototype was not defined in a header. Unfortunately,
> > this causes a build warning on multi_v7_defconfig because this function
> > is not used anywhere in this translation unit:
> >
> > drivers/clocksource/timer-ti-dm.c:589:12: error: unused function
> > 'omap_dm_timer_set_load_start' [-Werror,-Wunused-function]
> >
> > In fact, omap_dm_timer_set_load_start hasn't been used anywhere since
> > commit f190be7f39a5 ("staging: tidspbridge: remove driver") and the
> > prototype was removed in commit 592ea6bd1fad ("clocksource: timer-ti-dm:
> > Make unexported functions static"), which is probably where this should
> > have happened.
>
> Alternatively you might want to look at "clocksource: timer-ti-dm: Add event
> capture": https://patchwork.kernel.org/patch/10237217/ (it makes use of
> function being removed here). It is a part of an attempt to add event capture
> for OMAP. Of course I would like this functionality to be implemented, but
> as I do not have a time to continue, I cannot really object removing this
> function.
>
> Just in case you'd be interested in finishing this task ;-)
Well seems like no other takers :) We can always find the missing
function in git history when needed, so I suggest we apply this.
Adding Keerthy to Cc as he just posted a similar patch.
Regards,
Tony
next prev parent reply other threads:[~2019-04-04 14:17 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-27 5:01 Nathan Chancellor
2019-03-27 8:11 ` Ladislav Michl
2019-04-04 14:17 ` Tony Lindgren [this message]
2019-04-04 18:39 ` Keerthy
2019-04-10 17:01 ` Daniel Lezcano
2019-04-10 20:07 ` Tony Lindgren
2019-04-11 19:20 ` Daniel Lezcano
2019-04-11 19:36 ` Nathan Chancellor
2019-04-11 20:13 ` Daniel Lezcano
2019-04-11 20:42 ` Tony Lindgren
2019-04-11 20:25 ` Daniel Lezcano
2019-04-11 20:56 ` Tony Lindgren
2019-04-12 4:59 ` Nathan Chancellor
2019-04-12 15:40 ` Tony Lindgren
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=20190404141730.GE49658@atomide.com \
--to=tony@atomide.com \
--cc=daniel.lezcano@linaro.org \
--cc=j-keerthy@ti.com \
--cc=ladis@linux-mips.org \
--cc=linux-kernel@vger.kernel.org \
--cc=natechancellor@gmail.com \
--cc=tglx@linutronix.de \
--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
Powered by JetHome