All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] arm: mach-bcmring: fix build error in core.c
@ 2011-08-23 11:18 ` Maxin B. John
  0 siblings, 0 replies; 8+ messages in thread
From: Maxin B. John @ 2011-08-23 11:18 UTC (permalink / raw)
  To: Jiandong Zheng
  Cc: Scott Branden, Russell King, linux-arm-kernel, linux-kernel

CC      arch/arm/mach-bcmring/core.o
arch/arm/mach-bcmring/core.c: In function 'bcmring_init_timer':
arch/arm/mach-bcmring/core.c:238: error: implicit declaration of
function 'sp804_clockevents_register'
make[1]: *** [arch/arm/mach-bcmring/core.o] Error 1
make: *** [arch/arm/mach-bcmring] Error 2

Please let me know your comments on this fix:

Signed-off-by: Maxin B. John <maxin.john@gmail.com>
---
diff --git a/arch/arm/mach-bcmring/core.c b/arch/arm/mach-bcmring/core.c
index 43eadbc..430da12 100644
--- a/arch/arm/mach-bcmring/core.c
+++ b/arch/arm/mach-bcmring/core.c
@@ -235,7 +235,7 @@ void __init bcmring_init_timer(void)
 	 */
 	bcmring_clocksource_init();
 
-	sp804_clockevents_register(TIMER0_VA_BASE, IRQ_TIMER0, "timer0");
+	sp804_clockevents_init(TIMER0_VA_BASE, IRQ_TIMER0, "timer0");
 }
 
 struct sys_timer bcmring_timer = {

^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH 1/2] arm: mach-bcmring: fix build error in core.c
@ 2011-08-23 11:18 ` Maxin B. John
  0 siblings, 0 replies; 8+ messages in thread
From: Maxin B. John @ 2011-08-23 11:18 UTC (permalink / raw)
  To: linux-arm-kernel

CC      arch/arm/mach-bcmring/core.o
arch/arm/mach-bcmring/core.c: In function 'bcmring_init_timer':
arch/arm/mach-bcmring/core.c:238: error: implicit declaration of
function 'sp804_clockevents_register'
make[1]: *** [arch/arm/mach-bcmring/core.o] Error 1
make: *** [arch/arm/mach-bcmring] Error 2

Please let me know your comments on this fix:

Signed-off-by: Maxin B. John <maxin.john@gmail.com>
---
diff --git a/arch/arm/mach-bcmring/core.c b/arch/arm/mach-bcmring/core.c
index 43eadbc..430da12 100644
--- a/arch/arm/mach-bcmring/core.c
+++ b/arch/arm/mach-bcmring/core.c
@@ -235,7 +235,7 @@ void __init bcmring_init_timer(void)
 	 */
 	bcmring_clocksource_init();
 
-	sp804_clockevents_register(TIMER0_VA_BASE, IRQ_TIMER0, "timer0");
+	sp804_clockevents_init(TIMER0_VA_BASE, IRQ_TIMER0, "timer0");
 }
 
 struct sys_timer bcmring_timer = {

^ permalink raw reply related	[flat|nested] 8+ messages in thread

* Re: [PATCH 1/2] arm: mach-bcmring: fix build error in core.c
  2011-08-23 11:18 ` Maxin B. John
@ 2011-08-23 16:41   ` Jiandong Zheng
  -1 siblings, 0 replies; 8+ messages in thread
From: Jiandong Zheng @ 2011-08-23 16:41 UTC (permalink / raw)
  To: Maxin B. John; +Cc: Scott Branden, Russell King, linux-arm-kernel, linux-kernel

On 8/23/2011 4:18 AM, Maxin B. John wrote:
> CC      arch/arm/mach-bcmring/core.o
> arch/arm/mach-bcmring/core.c: In function 'bcmring_init_timer':
> arch/arm/mach-bcmring/core.c:238: error: implicit declaration of
> function 'sp804_clockevents_register'
> make[1]: *** [arch/arm/mach-bcmring/core.o] Error 1
> make: *** [arch/arm/mach-bcmring] Error 2
>
> Please let me know your comments on this fix:
>
> Signed-off-by: Maxin B. John<maxin.john@gmail.com>
> ---
> diff --git a/arch/arm/mach-bcmring/core.c b/arch/arm/mach-bcmring/core.c
> index 43eadbc..430da12 100644
> --- a/arch/arm/mach-bcmring/core.c
> +++ b/arch/arm/mach-bcmring/core.c
> @@ -235,7 +235,7 @@ void __init bcmring_init_timer(void)
>   	 */
>   	bcmring_clocksource_init();
>
> -	sp804_clockevents_register(TIMER0_VA_BASE, IRQ_TIMER0, "timer0");
> +	sp804_clockevents_init(TIMER0_VA_BASE, IRQ_TIMER0, "timer0");
>   }
>
>   struct sys_timer bcmring_timer = {
>
Signed-off-by: Jiandong Zheng <jdzheng@broadcom.com>

The same changes was in my comments on May 17 to Russell's serial 
patches to convert to sp804 clk dev, but seems it got lost.



^ permalink raw reply	[flat|nested] 8+ messages in thread

* [PATCH 1/2] arm: mach-bcmring: fix build error in core.c
@ 2011-08-23 16:41   ` Jiandong Zheng
  0 siblings, 0 replies; 8+ messages in thread
From: Jiandong Zheng @ 2011-08-23 16:41 UTC (permalink / raw)
  To: linux-arm-kernel

On 8/23/2011 4:18 AM, Maxin B. John wrote:
> CC      arch/arm/mach-bcmring/core.o
> arch/arm/mach-bcmring/core.c: In function 'bcmring_init_timer':
> arch/arm/mach-bcmring/core.c:238: error: implicit declaration of
> function 'sp804_clockevents_register'
> make[1]: *** [arch/arm/mach-bcmring/core.o] Error 1
> make: *** [arch/arm/mach-bcmring] Error 2
>
> Please let me know your comments on this fix:
>
> Signed-off-by: Maxin B. John<maxin.john@gmail.com>
> ---
> diff --git a/arch/arm/mach-bcmring/core.c b/arch/arm/mach-bcmring/core.c
> index 43eadbc..430da12 100644
> --- a/arch/arm/mach-bcmring/core.c
> +++ b/arch/arm/mach-bcmring/core.c
> @@ -235,7 +235,7 @@ void __init bcmring_init_timer(void)
>   	 */
>   	bcmring_clocksource_init();
>
> -	sp804_clockevents_register(TIMER0_VA_BASE, IRQ_TIMER0, "timer0");
> +	sp804_clockevents_init(TIMER0_VA_BASE, IRQ_TIMER0, "timer0");
>   }
>
>   struct sys_timer bcmring_timer = {
>
Signed-off-by: Jiandong Zheng <jdzheng@broadcom.com>

The same changes was in my comments on May 17 to Russell's serial 
patches to convert to sp804 clk dev, but seems it got lost.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH 1/2] arm: mach-bcmring: fix build error in core.c
  2011-08-23 16:41   ` Jiandong Zheng
@ 2011-08-23 16:45     ` Russell King - ARM Linux
  -1 siblings, 0 replies; 8+ messages in thread
From: Russell King - ARM Linux @ 2011-08-23 16:45 UTC (permalink / raw)
  To: Jiandong Zheng
  Cc: Maxin B. John, Scott Branden, linux-arm-kernel, linux-kernel

On Tue, Aug 23, 2011 at 09:41:51AM -0700, Jiandong Zheng wrote:
> On 8/23/2011 4:18 AM, Maxin B. John wrote:
>> CC      arch/arm/mach-bcmring/core.o
>> arch/arm/mach-bcmring/core.c: In function 'bcmring_init_timer':
>> arch/arm/mach-bcmring/core.c:238: error: implicit declaration of
>> function 'sp804_clockevents_register'
>> make[1]: *** [arch/arm/mach-bcmring/core.o] Error 1
>> make: *** [arch/arm/mach-bcmring] Error 2
>>
>> Please let me know your comments on this fix:
>>
>> Signed-off-by: Maxin B. John<maxin.john@gmail.com>
>> ---
>> diff --git a/arch/arm/mach-bcmring/core.c b/arch/arm/mach-bcmring/core.c
>> index 43eadbc..430da12 100644
>> --- a/arch/arm/mach-bcmring/core.c
>> +++ b/arch/arm/mach-bcmring/core.c
>> @@ -235,7 +235,7 @@ void __init bcmring_init_timer(void)
>>   	 */
>>   	bcmring_clocksource_init();
>>
>> -	sp804_clockevents_register(TIMER0_VA_BASE, IRQ_TIMER0, "timer0");
>> +	sp804_clockevents_init(TIMER0_VA_BASE, IRQ_TIMER0, "timer0");
>>   }
>>
>>   struct sys_timer bcmring_timer = {
>>
> Signed-off-by: Jiandong Zheng <jdzheng@broadcom.com>

Don't you mean acked-by or reviewed-by?

> The same changes was in my comments on May 17 to Russell's serial  
> patches to convert to sp804 clk dev, but seems it got lost.

Unfortunately... sorry about that.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [PATCH 1/2] arm: mach-bcmring: fix build error in core.c
@ 2011-08-23 16:45     ` Russell King - ARM Linux
  0 siblings, 0 replies; 8+ messages in thread
From: Russell King - ARM Linux @ 2011-08-23 16:45 UTC (permalink / raw)
  To: linux-arm-kernel

On Tue, Aug 23, 2011 at 09:41:51AM -0700, Jiandong Zheng wrote:
> On 8/23/2011 4:18 AM, Maxin B. John wrote:
>> CC      arch/arm/mach-bcmring/core.o
>> arch/arm/mach-bcmring/core.c: In function 'bcmring_init_timer':
>> arch/arm/mach-bcmring/core.c:238: error: implicit declaration of
>> function 'sp804_clockevents_register'
>> make[1]: *** [arch/arm/mach-bcmring/core.o] Error 1
>> make: *** [arch/arm/mach-bcmring] Error 2
>>
>> Please let me know your comments on this fix:
>>
>> Signed-off-by: Maxin B. John<maxin.john@gmail.com>
>> ---
>> diff --git a/arch/arm/mach-bcmring/core.c b/arch/arm/mach-bcmring/core.c
>> index 43eadbc..430da12 100644
>> --- a/arch/arm/mach-bcmring/core.c
>> +++ b/arch/arm/mach-bcmring/core.c
>> @@ -235,7 +235,7 @@ void __init bcmring_init_timer(void)
>>   	 */
>>   	bcmring_clocksource_init();
>>
>> -	sp804_clockevents_register(TIMER0_VA_BASE, IRQ_TIMER0, "timer0");
>> +	sp804_clockevents_init(TIMER0_VA_BASE, IRQ_TIMER0, "timer0");
>>   }
>>
>>   struct sys_timer bcmring_timer = {
>>
> Signed-off-by: Jiandong Zheng <jdzheng@broadcom.com>

Don't you mean acked-by or reviewed-by?

> The same changes was in my comments on May 17 to Russell's serial  
> patches to convert to sp804 clk dev, but seems it got lost.

Unfortunately... sorry about that.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH 1/2] arm: mach-bcmring: fix build error in core.c
  2011-08-23 16:45     ` Russell King - ARM Linux
@ 2011-08-23 16:59       ` Jiandong Zheng
  -1 siblings, 0 replies; 8+ messages in thread
From: Jiandong Zheng @ 2011-08-23 16:59 UTC (permalink / raw)
  To: Russell King - ARM Linux
  Cc: Maxin B. John, Scott Branden, linux-arm-kernel, linux-kernel

On 8/23/2011 9:45 AM, Russell King - ARM Linux wrote:
> On Tue, Aug 23, 2011 at 09:41:51AM -0700, Jiandong Zheng wrote:
>> On 8/23/2011 4:18 AM, Maxin B. John wrote:
>>> CC      arch/arm/mach-bcmring/core.o
>>> arch/arm/mach-bcmring/core.c: In function 'bcmring_init_timer':
>>> arch/arm/mach-bcmring/core.c:238: error: implicit declaration of
>>> function 'sp804_clockevents_register'
>>> make[1]: *** [arch/arm/mach-bcmring/core.o] Error 1
>>> make: *** [arch/arm/mach-bcmring] Error 2
>>>
>>> Please let me know your comments on this fix:
>>>
>>> Signed-off-by: Maxin B. John<maxin.john@gmail.com>
>>> ---
>>> diff --git a/arch/arm/mach-bcmring/core.c b/arch/arm/mach-bcmring/core.c
>>> index 43eadbc..430da12 100644
>>> --- a/arch/arm/mach-bcmring/core.c
>>> +++ b/arch/arm/mach-bcmring/core.c
>>> @@ -235,7 +235,7 @@ void __init bcmring_init_timer(void)
>>>    	 */
>>>    	bcmring_clocksource_init();
>>>
>>> -	sp804_clockevents_register(TIMER0_VA_BASE, IRQ_TIMER0, "timer0");
>>> +	sp804_clockevents_init(TIMER0_VA_BASE, IRQ_TIMER0, "timer0");
>>>    }
>>>
>>>    struct sys_timer bcmring_timer = {
>>>
>> Signed-off-by: Jiandong Zheng<jdzheng@broadcom.com>
>
> Don't you mean acked-by or reviewed-by?
I meant I created the same patch and have tested it. But if acked-by or 
reviewed-by is less confusing, I am OK with it.

>
>> The same changes was in my comments on May 17 to Russell's serial
>> patches to convert to sp804 clk dev, but seems it got lost.
>
> Unfortunately... sorry about that.
>
To avoid this, should I submit every patch to patch system after 
reviewed through maillist?


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [PATCH 1/2] arm: mach-bcmring: fix build error in core.c
@ 2011-08-23 16:59       ` Jiandong Zheng
  0 siblings, 0 replies; 8+ messages in thread
From: Jiandong Zheng @ 2011-08-23 16:59 UTC (permalink / raw)
  To: linux-arm-kernel

On 8/23/2011 9:45 AM, Russell King - ARM Linux wrote:
> On Tue, Aug 23, 2011 at 09:41:51AM -0700, Jiandong Zheng wrote:
>> On 8/23/2011 4:18 AM, Maxin B. John wrote:
>>> CC      arch/arm/mach-bcmring/core.o
>>> arch/arm/mach-bcmring/core.c: In function 'bcmring_init_timer':
>>> arch/arm/mach-bcmring/core.c:238: error: implicit declaration of
>>> function 'sp804_clockevents_register'
>>> make[1]: *** [arch/arm/mach-bcmring/core.o] Error 1
>>> make: *** [arch/arm/mach-bcmring] Error 2
>>>
>>> Please let me know your comments on this fix:
>>>
>>> Signed-off-by: Maxin B. John<maxin.john@gmail.com>
>>> ---
>>> diff --git a/arch/arm/mach-bcmring/core.c b/arch/arm/mach-bcmring/core.c
>>> index 43eadbc..430da12 100644
>>> --- a/arch/arm/mach-bcmring/core.c
>>> +++ b/arch/arm/mach-bcmring/core.c
>>> @@ -235,7 +235,7 @@ void __init bcmring_init_timer(void)
>>>    	 */
>>>    	bcmring_clocksource_init();
>>>
>>> -	sp804_clockevents_register(TIMER0_VA_BASE, IRQ_TIMER0, "timer0");
>>> +	sp804_clockevents_init(TIMER0_VA_BASE, IRQ_TIMER0, "timer0");
>>>    }
>>>
>>>    struct sys_timer bcmring_timer = {
>>>
>> Signed-off-by: Jiandong Zheng<jdzheng@broadcom.com>
>
> Don't you mean acked-by or reviewed-by?
I meant I created the same patch and have tested it. But if acked-by or 
reviewed-by is less confusing, I am OK with it.

>
>> The same changes was in my comments on May 17 to Russell's serial
>> patches to convert to sp804 clk dev, but seems it got lost.
>
> Unfortunately... sorry about that.
>
To avoid this, should I submit every patch to patch system after 
reviewed through maillist?

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2011-08-23 17:00 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-23 11:18 [PATCH 1/2] arm: mach-bcmring: fix build error in core.c Maxin B. John
2011-08-23 11:18 ` Maxin B. John
2011-08-23 16:41 ` Jiandong Zheng
2011-08-23 16:41   ` Jiandong Zheng
2011-08-23 16:45   ` Russell King - ARM Linux
2011-08-23 16:45     ` Russell King - ARM Linux
2011-08-23 16:59     ` Jiandong Zheng
2011-08-23 16:59       ` Jiandong Zheng

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.