* [PATCH 7/7] xtensa: add parameter to ccount_read()
@ 2009-04-22 19:12 Coly Li
2009-04-22 22:07 ` Johannes Weiner
0 siblings, 1 reply; 3+ messages in thread
From: Coly Li @ 2009-04-22 19:12 UTC (permalink / raw)
To: LKML; +Cc: Johannes Weiner, Ingo Molnar
This patch modifies parameter of au1x_counter1_read() from 'void' to 'struct
clocksource *cs', which fixes compile warning for incompatible parameter type.
Signed-off-by: Coly Li <coly.li@suse.de>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Ingo Molnar <mingo@elte.hu>
---
arch/xtensa/kernel/time.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/xtensa/kernel/time.c b/arch/xtensa/kernel/time.c
index 8848120..9638641 100644
--- a/arch/xtensa/kernel/time.c
+++ b/arch/xtensa/kernel/time.c
@@ -30,7 +30,7 @@ unsigned long ccount_per_jiffy; /* per 1/HZ */
unsigned long nsec_per_ccount; /* nsec per ccount increment */
#endif
-static cycle_t ccount_read(void)
+static cycle_t ccount_read(struct clocksource *cs)
{
return (cycle_t)get_ccount();
}
--
Coly Li
SuSE Labs
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH 7/7] xtensa: add parameter to ccount_read()
2009-04-22 19:12 [PATCH 7/7] xtensa: add parameter to ccount_read() Coly Li
@ 2009-04-22 22:07 ` Johannes Weiner
2009-04-23 4:36 ` Coly Li
0 siblings, 1 reply; 3+ messages in thread
From: Johannes Weiner @ 2009-04-22 22:07 UTC (permalink / raw)
To: Coly Li; +Cc: LKML, Ingo Molnar, Chris Zankel
On Thu, Apr 23, 2009 at 03:12:22AM +0800, Coly Li wrote:
> This patch modifies parameter of au1x_counter1_read() from 'void' to 'struct
> clocksource *cs', which fixes compile warning for incompatible parameter type.
Changelog should be adjusted to say 'ccount_read()' here ;)
> Signed-off-by: Coly Li <coly.li@suse.de>
> Cc: Johannes Weiner <hannes@cmpxchg.org>
> Cc: Ingo Molnar <mingo@elte.hu>
> ---
> arch/xtensa/kernel/time.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/arch/xtensa/kernel/time.c b/arch/xtensa/kernel/time.c
> index 8848120..9638641 100644
> --- a/arch/xtensa/kernel/time.c
> +++ b/arch/xtensa/kernel/time.c
> @@ -30,7 +30,7 @@ unsigned long ccount_per_jiffy; /* per 1/HZ */
> unsigned long nsec_per_ccount; /* nsec per ccount increment */
> #endif
>
> -static cycle_t ccount_read(void)
> +static cycle_t ccount_read(struct clocksource *cs)
> {
> return (cycle_t)get_ccount();
> }
Thanks. Copied Chris as well.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH 7/7] xtensa: add parameter to ccount_read()
2009-04-22 22:07 ` Johannes Weiner
@ 2009-04-23 4:36 ` Coly Li
0 siblings, 0 replies; 3+ messages in thread
From: Coly Li @ 2009-04-23 4:36 UTC (permalink / raw)
To: Johannes Weiner; +Cc: LKML, Ingo Molnar, Chris Zankel
Johannes Weiner Wrote:
> On Thu, Apr 23, 2009 at 03:12:22AM +0800, Coly Li wrote:
>> This patch modifies parameter of au1x_counter1_read() from 'void' to 'struct
>> clocksource *cs', which fixes compile warning for incompatible parameter type.
>
> Changelog should be adjusted to say 'ccount_read()' here ;)
>
Obviously this is a copy+past mistake. I modified the email title, but missed
the changelog :(
>> Signed-off-by: Coly Li <coly.li@suse.de>
>> Cc: Johannes Weiner <hannes@cmpxchg.org>
>> Cc: Ingo Molnar <mingo@elte.hu>
>> ---
>> arch/xtensa/kernel/time.c | 2 +-
>> 1 files changed, 1 insertions(+), 1 deletions(-)
>>
>> diff --git a/arch/xtensa/kernel/time.c b/arch/xtensa/kernel/time.c
>> index 8848120..9638641 100644
>> --- a/arch/xtensa/kernel/time.c
>> +++ b/arch/xtensa/kernel/time.c
>> @@ -30,7 +30,7 @@ unsigned long ccount_per_jiffy; /* per 1/HZ */
>> unsigned long nsec_per_ccount; /* nsec per ccount increment */
>> #endif
>>
>> -static cycle_t ccount_read(void)
>> +static cycle_t ccount_read(struct clocksource *cs)
>> {
>> return (cycle_t)get_ccount();
>> }
>
> Thanks. Copied Chris as well.
Need I resend another patch which fixes the changelog ?
Thanks.
--
Coly Li
SuSE Labs
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-04-23 4:36 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-22 19:12 [PATCH 7/7] xtensa: add parameter to ccount_read() Coly Li
2009-04-22 22:07 ` Johannes Weiner
2009-04-23 4:36 ` Coly Li
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.