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

 CC      arch/arm/mach-bcmring/dma.o
arch/arm/mach-bcmring/dma.c: In function 'dma_request_channel_dbg':
arch/arm/mach-bcmring/dma.c:1022: error: 'TASK_INTERRUPTIBLE'
undeclared (first use in this function)
arch/arm/mach-bcmring/dma.c:1022: error: (Each undeclared identifier
is reported only once
arch/arm/mach-bcmring/dma.c:1022: error: for each function it appears
in.)
arch/arm/mach-bcmring/dma.c:1024: error: implicit declaration of
function 'schedule'
arch/arm/mach-bcmring/dma.c:1027: error: implicit declaration of
function 'signal_pending'
arch/arm/mach-bcmring/dma.c: In function 'dma_free_channel':
arch/arm/mach-bcmring/dma.c:1092: error: 'TASK_INTERRUPTIBLE'
undeclared (first use in this function)
arch/arm/mach-bcmring/dma.c: In function 'dma_map_add_region':
arch/arm/mach-bcmring/dma.c:1946: error: dereferencing pointer to
incomplete type
arch/arm/mach-bcmring/dma.c:1948: error: dereferencing pointer to
incomplete type
arch/arm/mach-bcmring/dma.c:1955: error: dereferencing pointer to
incomplete type
make[1]: *** [arch/arm/mach-bcmring/dma.o] Error 1
make: *** [arch/arm/mach-bcmring] Error 2

Signed-off-by: Maxin B. John <maxin.john@gmail.com>
---
diff --git a/arch/arm/mach-bcmring/dma.c b/arch/arm/mach-bcmring/dma.c
index 0ca0005..12d1504 100644
--- a/arch/arm/mach-bcmring/dma.c
+++ b/arch/arm/mach-bcmring/dma.c
@@ -35,6 +35,7 @@
 #include <linux/mm.h>
 #include <linux/pfn.h>
 #include <linux/atomic.h>
+#include <linux/sched.h>
 #include <mach/dma.h>
 
 /* I don't quite understand why dc4 fails when this is set to 1 and DMA is enabled */

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

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

 CC      arch/arm/mach-bcmring/dma.o
arch/arm/mach-bcmring/dma.c: In function 'dma_request_channel_dbg':
arch/arm/mach-bcmring/dma.c:1022: error: 'TASK_INTERRUPTIBLE'
undeclared (first use in this function)
arch/arm/mach-bcmring/dma.c:1022: error: (Each undeclared identifier
is reported only once
arch/arm/mach-bcmring/dma.c:1022: error: for each function it appears
in.)
arch/arm/mach-bcmring/dma.c:1024: error: implicit declaration of
function 'schedule'
arch/arm/mach-bcmring/dma.c:1027: error: implicit declaration of
function 'signal_pending'
arch/arm/mach-bcmring/dma.c: In function 'dma_free_channel':
arch/arm/mach-bcmring/dma.c:1092: error: 'TASK_INTERRUPTIBLE'
undeclared (first use in this function)
arch/arm/mach-bcmring/dma.c: In function 'dma_map_add_region':
arch/arm/mach-bcmring/dma.c:1946: error: dereferencing pointer to
incomplete type
arch/arm/mach-bcmring/dma.c:1948: error: dereferencing pointer to
incomplete type
arch/arm/mach-bcmring/dma.c:1955: error: dereferencing pointer to
incomplete type
make[1]: *** [arch/arm/mach-bcmring/dma.o] Error 1
make: *** [arch/arm/mach-bcmring] Error 2

Signed-off-by: Maxin B. John <maxin.john@gmail.com>
---
diff --git a/arch/arm/mach-bcmring/dma.c b/arch/arm/mach-bcmring/dma.c
index 0ca0005..12d1504 100644
--- a/arch/arm/mach-bcmring/dma.c
+++ b/arch/arm/mach-bcmring/dma.c
@@ -35,6 +35,7 @@
 #include <linux/mm.h>
 #include <linux/pfn.h>
 #include <linux/atomic.h>
+#include <linux/sched.h>
 #include <mach/dma.h>
 
 /* I don't quite understand why dc4 fails when this is set to 1 and DMA is enabled */

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

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

On 8/23/2011 4:21 AM, Maxin B John wrote:
>   CC      arch/arm/mach-bcmring/dma.o
> arch/arm/mach-bcmring/dma.c: In function 'dma_request_channel_dbg':
> arch/arm/mach-bcmring/dma.c:1022: error: 'TASK_INTERRUPTIBLE'
> undeclared (first use in this function)
> arch/arm/mach-bcmring/dma.c:1022: error: (Each undeclared identifier
> is reported only once
> arch/arm/mach-bcmring/dma.c:1022: error: for each function it appears
> in.)
> arch/arm/mach-bcmring/dma.c:1024: error: implicit declaration of
> function 'schedule'
> arch/arm/mach-bcmring/dma.c:1027: error: implicit declaration of
> function 'signal_pending'
> arch/arm/mach-bcmring/dma.c: In function 'dma_free_channel':
> arch/arm/mach-bcmring/dma.c:1092: error: 'TASK_INTERRUPTIBLE'
> undeclared (first use in this function)
> arch/arm/mach-bcmring/dma.c: In function 'dma_map_add_region':
> arch/arm/mach-bcmring/dma.c:1946: error: dereferencing pointer to
> incomplete type
> arch/arm/mach-bcmring/dma.c:1948: error: dereferencing pointer to
> incomplete type
> arch/arm/mach-bcmring/dma.c:1955: error: dereferencing pointer to
> incomplete type
> make[1]: *** [arch/arm/mach-bcmring/dma.o] Error 1
> make: *** [arch/arm/mach-bcmring] Error 2
>
> Signed-off-by: Maxin B. John<maxin.john@gmail.com>
> ---
> diff --git a/arch/arm/mach-bcmring/dma.c b/arch/arm/mach-bcmring/dma.c
> index 0ca0005..12d1504 100644
> --- a/arch/arm/mach-bcmring/dma.c
> +++ b/arch/arm/mach-bcmring/dma.c
> @@ -35,6 +35,7 @@
>   #include<linux/mm.h>
>   #include<linux/pfn.h>
>   #include<linux/atomic.h>
> +#include<linux/sched.h>
>   #include<mach/dma.h>
>
>   /* I don't quite understand why dc4 fails when this is set to 1 and DMA is enabled */
>
Signed-off-by: Jiandong Zheng <jdzheng@broadcom.com>

I have same fix submitted on May 12, which was supposed to be applied 
soon but seems it wasn't.


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

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

On 8/23/2011 4:21 AM, Maxin B John wrote:
>   CC      arch/arm/mach-bcmring/dma.o
> arch/arm/mach-bcmring/dma.c: In function 'dma_request_channel_dbg':
> arch/arm/mach-bcmring/dma.c:1022: error: 'TASK_INTERRUPTIBLE'
> undeclared (first use in this function)
> arch/arm/mach-bcmring/dma.c:1022: error: (Each undeclared identifier
> is reported only once
> arch/arm/mach-bcmring/dma.c:1022: error: for each function it appears
> in.)
> arch/arm/mach-bcmring/dma.c:1024: error: implicit declaration of
> function 'schedule'
> arch/arm/mach-bcmring/dma.c:1027: error: implicit declaration of
> function 'signal_pending'
> arch/arm/mach-bcmring/dma.c: In function 'dma_free_channel':
> arch/arm/mach-bcmring/dma.c:1092: error: 'TASK_INTERRUPTIBLE'
> undeclared (first use in this function)
> arch/arm/mach-bcmring/dma.c: In function 'dma_map_add_region':
> arch/arm/mach-bcmring/dma.c:1946: error: dereferencing pointer to
> incomplete type
> arch/arm/mach-bcmring/dma.c:1948: error: dereferencing pointer to
> incomplete type
> arch/arm/mach-bcmring/dma.c:1955: error: dereferencing pointer to
> incomplete type
> make[1]: *** [arch/arm/mach-bcmring/dma.o] Error 1
> make: *** [arch/arm/mach-bcmring] Error 2
>
> Signed-off-by: Maxin B. John<maxin.john@gmail.com>
> ---
> diff --git a/arch/arm/mach-bcmring/dma.c b/arch/arm/mach-bcmring/dma.c
> index 0ca0005..12d1504 100644
> --- a/arch/arm/mach-bcmring/dma.c
> +++ b/arch/arm/mach-bcmring/dma.c
> @@ -35,6 +35,7 @@
>   #include<linux/mm.h>
>   #include<linux/pfn.h>
>   #include<linux/atomic.h>
> +#include<linux/sched.h>
>   #include<mach/dma.h>
>
>   /* I don't quite understand why dc4 fails when this is set to 1 and DMA is enabled */
>
Signed-off-by: Jiandong Zheng <jdzheng@broadcom.com>

I have same fix submitted on May 12, which was supposed to be applied 
soon but seems it wasn't.

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

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

On Tue, Aug 23, 2011 at 7:44 PM, Jiandong Zheng <jdzheng@broadcom.com> wrote:
> On 8/23/2011 4:21 AM, Maxin B John wrote:
>>
>>  CC      arch/arm/mach-bcmring/dma.o
>>
> Signed-off-by: Jiandong Zheng <jdzheng@broadcom.com>
>
> I have same fix submitted on May 12, which was supposed to be applied soon
> but seems it wasn't.

Oh.. I wasn't aware of that. Please feel free to ignore this one and
go ahead with your patch.

Regards,
Maxin

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

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

On Tue, Aug 23, 2011 at 7:44 PM, Jiandong Zheng <jdzheng@broadcom.com> wrote:
> On 8/23/2011 4:21 AM, Maxin B John wrote:
>>
>> ?CC ? ? ?arch/arm/mach-bcmring/dma.o
>>
> Signed-off-by: Jiandong Zheng <jdzheng@broadcom.com>
>
> I have same fix submitted on May 12, which was supposed to be applied soon
> but seems it wasn't.

Oh.. I wasn't aware of that. Please feel free to ignore this one and
go ahead with your patch.

Regards,
Maxin

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

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

On 8/23/2011 11:28 PM, Maxin B John wrote:
> On Tue, Aug 23, 2011 at 7:44 PM, Jiandong Zheng<jdzheng@broadcom.com>  wrote:
>> On 8/23/2011 4:21 AM, Maxin B John wrote:
>>>
>>>   CC      arch/arm/mach-bcmring/dma.o
>>>
>> Signed-off-by: Jiandong Zheng<jdzheng@broadcom.com>
>>
>> I have same fix submitted on May 12, which was supposed to be applied soon
>> but seems it wasn't.
>
> Oh.. I wasn't aware of that. Please feel free to ignore this one and
> go ahead with your patch.
>
> Regards,
> Maxin
>
Seems the previous patch was lost. Let us just go ahead with this one in 
order to get it fixed sooner.


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

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

On 8/23/2011 11:28 PM, Maxin B John wrote:
> On Tue, Aug 23, 2011 at 7:44 PM, Jiandong Zheng<jdzheng@broadcom.com>  wrote:
>> On 8/23/2011 4:21 AM, Maxin B John wrote:
>>>
>>>   CC      arch/arm/mach-bcmring/dma.o
>>>
>> Signed-off-by: Jiandong Zheng<jdzheng@broadcom.com>
>>
>> I have same fix submitted on May 12, which was supposed to be applied soon
>> but seems it wasn't.
>
> Oh.. I wasn't aware of that. Please feel free to ignore this one and
> go ahead with your patch.
>
> Regards,
> Maxin
>
Seems the previous patch was lost. Let us just go ahead with this one in 
order to get it fixed sooner.

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

end of thread, other threads:[~2011-08-24 17:23 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:21 [PATCH 2/2] arm: mach-bcmring: fix build error in dma.c Maxin B John
2011-08-23 11:21 ` Maxin B John
2011-08-23 16:44 ` Jiandong Zheng
2011-08-23 16:44   ` Jiandong Zheng
2011-08-24  6:28   ` Maxin B John
2011-08-24  6:28     ` Maxin B John
2011-08-24 17:22     ` Jiandong Zheng
2011-08-24 17:22       ` 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.