* [PATCH] Make clocksource name const
@ 2011-02-19 15:34 Russell King - ARM Linux
2011-02-21 18:51 ` john stultz
2011-04-02 14:11 ` Russell King - ARM Linux
0 siblings, 2 replies; 11+ messages in thread
From: Russell King - ARM Linux @ 2011-02-19 15:34 UTC (permalink / raw)
To: Thomas Gleixner, John Stultz; +Cc: linux-kernel
As nothing should be writing to the clocksource name string, make the
clocksource name pointer const. Build-tested on ARM Versatile Express.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
---
include/linux/clocksource.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/linux/clocksource.h b/include/linux/clocksource.h
index c37b21a..94c1f38 100644
--- a/include/linux/clocksource.h
+++ b/include/linux/clocksource.h
@@ -161,7 +161,7 @@ struct clocksource {
/*
* First part of structure is read mostly
*/
- char *name;
+ const char *name;
struct list_head list;
int rating;
cycle_t (*read)(struct clocksource *cs);
^ permalink raw reply related [flat|nested] 11+ messages in thread
* Re: [PATCH] Make clocksource name const
2011-02-19 15:34 [PATCH] Make clocksource name const Russell King - ARM Linux
@ 2011-02-21 18:51 ` john stultz
2011-04-02 14:11 ` Russell King - ARM Linux
1 sibling, 0 replies; 11+ messages in thread
From: john stultz @ 2011-02-21 18:51 UTC (permalink / raw)
To: Russell King - ARM Linux; +Cc: Thomas Gleixner, linux-kernel
On Sat, 2011-02-19 at 15:34 +0000, Russell King - ARM Linux wrote:
> As nothing should be writing to the clocksource name string, make the
> clocksource name pointer const. Build-tested on ARM Versatile Express.
>
> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Sounds good. I'll add it to my queue for 2.6.39
Acked-by: John Stultz <johnstul@us.ibm.com>
thanks
-john
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH] Make clocksource name const
2011-02-19 15:34 [PATCH] Make clocksource name const Russell King - ARM Linux
2011-02-21 18:51 ` john stultz
@ 2011-04-02 14:11 ` Russell King - ARM Linux
2011-04-02 19:08 ` Thomas Gleixner
2011-04-04 17:42 ` john stultz
1 sibling, 2 replies; 11+ messages in thread
From: Russell King - ARM Linux @ 2011-04-02 14:11 UTC (permalink / raw)
To: Thomas Gleixner, John Stultz; +Cc: linux-kernel
Has this patch been rejected?
On Sat, Feb 19, 2011 at 03:34:50PM +0000, Russell King - ARM Linux wrote:
> As nothing should be writing to the clocksource name string, make the
> clocksource name pointer const. Build-tested on ARM Versatile Express.
>
> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
> ---
> include/linux/clocksource.h | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/include/linux/clocksource.h b/include/linux/clocksource.h
> index c37b21a..94c1f38 100644
> --- a/include/linux/clocksource.h
> +++ b/include/linux/clocksource.h
> @@ -161,7 +161,7 @@ struct clocksource {
> /*
> * First part of structure is read mostly
> */
> - char *name;
> + const char *name;
> struct list_head list;
> int rating;
> cycle_t (*read)(struct clocksource *cs);
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH] Make clocksource name const
2011-04-02 14:11 ` Russell King - ARM Linux
@ 2011-04-02 19:08 ` Thomas Gleixner
2011-04-02 19:31 ` Thomas Gleixner
2011-04-04 17:42 ` john stultz
1 sibling, 1 reply; 11+ messages in thread
From: Thomas Gleixner @ 2011-04-02 19:08 UTC (permalink / raw)
To: Russell King - ARM Linux; +Cc: John Stultz, linux-kernel
On Sat, 2 Apr 2011, Russell King - ARM Linux wrote:
> Has this patch been rejected?
No, I think it just got lost. Will pick it up.
> On Sat, Feb 19, 2011 at 03:34:50PM +0000, Russell King - ARM Linux wrote:
> > As nothing should be writing to the clocksource name string, make the
> > clocksource name pointer const. Build-tested on ARM Versatile Express.
> >
> > Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
> > ---
> > include/linux/clocksource.h | 2 +-
> > 1 files changed, 1 insertions(+), 1 deletions(-)
> >
> > diff --git a/include/linux/clocksource.h b/include/linux/clocksource.h
> > index c37b21a..94c1f38 100644
> > --- a/include/linux/clocksource.h
> > +++ b/include/linux/clocksource.h
> > @@ -161,7 +161,7 @@ struct clocksource {
> > /*
> > * First part of structure is read mostly
> > */
> > - char *name;
> > + const char *name;
> > struct list_head list;
> > int rating;
> > cycle_t (*read)(struct clocksource *cs);
>
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH] Make clocksource name const
2011-04-02 19:08 ` Thomas Gleixner
@ 2011-04-02 19:31 ` Thomas Gleixner
0 siblings, 0 replies; 11+ messages in thread
From: Thomas Gleixner @ 2011-04-02 19:31 UTC (permalink / raw)
To: Russell King - ARM Linux; +Cc: John Stultz, LKML
On Sat, 2 Apr 2011, Thomas Gleixner wrote:
> On Sat, 2 Apr 2011, Russell King - ARM Linux wrote:
>
> > Has this patch been rejected?
>
> No, I think it just got lost. Will pick it up.
Weird, I don't have it at all. Could you please resend?
Thanks,
tglx
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH] Make clocksource name const
2011-04-02 14:11 ` Russell King - ARM Linux
2011-04-02 19:08 ` Thomas Gleixner
@ 2011-04-04 17:42 ` john stultz
2011-04-04 17:44 ` Thomas Gleixner
1 sibling, 1 reply; 11+ messages in thread
From: john stultz @ 2011-04-04 17:42 UTC (permalink / raw)
To: Russell King - ARM Linux; +Cc: Thomas Gleixner, linux-kernel
On Sat, 2011-04-02 at 15:11 +0100, Russell King - ARM Linux wrote:
> Has this patch been rejected?
No, just my clocksource cleanups tree didn't get pulled for 2.6.39.
Thomas: The commit can be found here:
http://git.linaro.org/gitweb?p=people/jstultz/linux.git;a=commit;h=36d8593ec74dc04d3bd7c1c897a7b7cfbd0b0dc6
thanks
-john
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH] Make clocksource name const
2011-04-04 17:42 ` john stultz
@ 2011-04-04 17:44 ` Thomas Gleixner
2011-04-04 18:22 ` john stultz
0 siblings, 1 reply; 11+ messages in thread
From: Thomas Gleixner @ 2011-04-04 17:44 UTC (permalink / raw)
To: john stultz; +Cc: Russell King - ARM Linux, linux-kernel
On Mon, 4 Apr 2011, john stultz wrote:
> On Sat, 2011-04-02 at 15:11 +0100, Russell King - ARM Linux wrote:
> > Has this patch been rejected?
>
> No, just my clocksource cleanups tree didn't get pulled for 2.6.39.
Crap.
> Thomas: The commit can be found here:
> http://git.linaro.org/gitweb?p=people/jstultz/linux.git;a=commit;h=36d8593ec74dc04d3bd7c1c897a7b7cfbd0b0dc6
Is there more stuff pending ?
Thanks,
tglx
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH] Make clocksource name const
2011-04-04 17:44 ` Thomas Gleixner
@ 2011-04-04 18:22 ` john stultz
2011-04-04 19:07 ` Thomas Gleixner
0 siblings, 1 reply; 11+ messages in thread
From: john stultz @ 2011-04-04 18:22 UTC (permalink / raw)
To: Thomas Gleixner; +Cc: Russell King - ARM Linux, linux-kernel
On Mon, 2011-04-04 at 19:44 +0200, Thomas Gleixner wrote:
> On Mon, 4 Apr 2011, john stultz wrote:
>
> > On Sat, 2011-04-02 at 15:11 +0100, Russell King - ARM Linux wrote:
> > > Has this patch been rejected?
> >
> > No, just my clocksource cleanups tree didn't get pulled for 2.6.39.
>
> Crap.
Sorry, I probably should have nagged you a bit more.
> > Thomas: The commit can be found here:
> > http://git.linaro.org/gitweb?p=people/jstultz/linux.git;a=commit;h=36d8593ec74dc04d3bd7c1c897a7b7cfbd0b0dc6
>
> Is there more stuff pending ?
Just clocksource_register_hz/khz bits, but those aren't critical, and
can be moved in slowly via arch maintainers if you're not comfortable
with them. I also need to refresh some of them, as there were some
collisions in the merge window.
thanks
-john
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH] Make clocksource name const
2011-04-04 18:22 ` john stultz
@ 2011-04-04 19:07 ` Thomas Gleixner
2011-04-04 20:25 ` [PATCH] Make clocksource name const... RTC: Fix early irqs caused by calling rtc_set_alarm too early Konrad Rzeszutek Wilk
0 siblings, 1 reply; 11+ messages in thread
From: Thomas Gleixner @ 2011-04-04 19:07 UTC (permalink / raw)
To: john stultz; +Cc: Russell King - ARM Linux, linux-kernel
On Mon, 4 Apr 2011, john stultz wrote:
> On Mon, 2011-04-04 at 19:44 +0200, Thomas Gleixner wrote:
> > On Mon, 4 Apr 2011, john stultz wrote:
> >
> > > On Sat, 2011-04-02 at 15:11 +0100, Russell King - ARM Linux wrote:
> > > > Has this patch been rejected?
> > >
> > > No, just my clocksource cleanups tree didn't get pulled for 2.6.39.
> >
> > Crap.
>
> Sorry, I probably should have nagged you a bit more.
>
>
> > > Thomas: The commit can be found here:
> > > http://git.linaro.org/gitweb?p=people/jstultz/linux.git;a=commit;h=36d8593ec74dc04d3bd7c1c897a7b7cfbd0b0dc6
> >
> > Is there more stuff pending ?
>
> Just clocksource_register_hz/khz bits, but those aren't critical, and
> can be moved in slowly via arch maintainers if you're not comfortable
> with them. I also need to refresh some of them, as there were some
> collisions in the merge window.
Just tried merging linus head into it, but that does not show any
conflicts.
Thanks,
tglx
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH] Make clocksource name const... RTC: Fix early irqs caused by calling rtc_set_alarm too early
2011-04-04 19:07 ` Thomas Gleixner
@ 2011-04-04 20:25 ` Konrad Rzeszutek Wilk
2011-04-04 21:07 ` john stultz
0 siblings, 1 reply; 11+ messages in thread
From: Konrad Rzeszutek Wilk @ 2011-04-04 20:25 UTC (permalink / raw)
To: Thomas Gleixner; +Cc: john stultz, Russell King - ARM Linux, linux-kernel
On Mon, Apr 04, 2011 at 09:07:03PM +0200, Thomas Gleixner wrote:
> On Mon, 4 Apr 2011, john stultz wrote:
>
> > On Mon, 2011-04-04 at 19:44 +0200, Thomas Gleixner wrote:
> > > On Mon, 4 Apr 2011, john stultz wrote:
> > >
> > > > On Sat, 2011-04-02 at 15:11 +0100, Russell King - ARM Linux wrote:
> > > > > Has this patch been rejected?
> > > >
> > > > No, just my clocksource cleanups tree didn't get pulled for 2.6.39.
> > >
> > > Crap.
> >
> > Sorry, I probably should have nagged you a bit more.
> >
> >
> > > > Thomas: The commit can be found here:
> > > > http://git.linaro.org/gitweb?p=people/jstultz/linux.git;a=commit;h=36d8593ec74dc04d3bd7c1c897a7b7cfbd0b0dc6
> > >
> > > Is there more stuff pending ?
How about the 'RTC: Fix early irqs caused by calling rtc_set_alarm too early'?
I tried to search by the git commit dc6b812d1cde06df5c1acba394a79ca80785c776
but didn't find it anymore?
It fixes a regression which inhibits Xen guests booting in 2.6.39.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH] Make clocksource name const... RTC: Fix early irqs caused by calling rtc_set_alarm too early
2011-04-04 20:25 ` [PATCH] Make clocksource name const... RTC: Fix early irqs caused by calling rtc_set_alarm too early Konrad Rzeszutek Wilk
@ 2011-04-04 21:07 ` john stultz
0 siblings, 0 replies; 11+ messages in thread
From: john stultz @ 2011-04-04 21:07 UTC (permalink / raw)
To: Konrad Rzeszutek Wilk
Cc: Thomas Gleixner, Russell King - ARM Linux, linux-kernel
On Mon, 2011-04-04 at 16:25 -0400, Konrad Rzeszutek Wilk wrote:
> On Mon, Apr 04, 2011 at 09:07:03PM +0200, Thomas Gleixner wrote:
> > On Mon, 4 Apr 2011, john stultz wrote:
> >
> > > On Mon, 2011-04-04 at 19:44 +0200, Thomas Gleixner wrote:
> > > > On Mon, 4 Apr 2011, john stultz wrote:
> > > >
> > > > > On Sat, 2011-04-02 at 15:11 +0100, Russell King - ARM Linux wrote:
> > > > > > Has this patch been rejected?
> > > > >
> > > > > No, just my clocksource cleanups tree didn't get pulled for 2.6.39.
> > > >
> > > > Crap.
> > >
> > > Sorry, I probably should have nagged you a bit more.
> > >
> > >
> > > > > Thomas: The commit can be found here:
> > > > > http://git.linaro.org/gitweb?p=people/jstultz/linux.git;a=commit;h=36d8593ec74dc04d3bd7c1c897a7b7cfbd0b0dc6
> > > >
> > > > Is there more stuff pending ?
>
> How about the 'RTC: Fix early irqs caused by calling rtc_set_alarm too early'?
> I tried to search by the git commit dc6b812d1cde06df5c1acba394a79ca80785c776
> but didn't find it anymore?
>
> It fixes a regression which inhibits Xen guests booting in 2.6.39.
Yep. That's still pending along with other RTC fixes, but in a different
branch:
http://git.linaro.org/gitweb?p=people/jstultz/linux.git;a=shortlog;h=refs/heads/fortglx/39/tip/timers/rtc
thanks
-john
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2011-04-04 21:07 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-19 15:34 [PATCH] Make clocksource name const Russell King - ARM Linux
2011-02-21 18:51 ` john stultz
2011-04-02 14:11 ` Russell King - ARM Linux
2011-04-02 19:08 ` Thomas Gleixner
2011-04-02 19:31 ` Thomas Gleixner
2011-04-04 17:42 ` john stultz
2011-04-04 17:44 ` Thomas Gleixner
2011-04-04 18:22 ` john stultz
2011-04-04 19:07 ` Thomas Gleixner
2011-04-04 20:25 ` [PATCH] Make clocksource name const... RTC: Fix early irqs caused by calling rtc_set_alarm too early Konrad Rzeszutek Wilk
2011-04-04 21:07 ` john stultz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).