Re: [PATCH] arm: omap: Fix build error in ispccdc.c

2011-09-14 Thread Roedel, Joerg
Ping?

On Tue, Sep 06, 2011 at 10:02:15AM -0400, Joerg Roedel wrote:
 The following build error occurs with 3.1-rc5:
 
   CC  drivers/media/video/omap3isp/ispccdc.o
 /home/data/repos/linux.trees.git/drivers/media/video/omap3isp/ispccdc.c: In 
 function 'ccdc_lsc_config':
 /home/data/repos/linux.trees.git/drivers/media/video/omap3isp/ispccdc.c:427:2:
  error: implicit declaration of function 'kzalloc' 
 [-Werror=implicit-function-declaration]
 /home/data/repos/linux.trees.git/drivers/media/video/omap3isp/ispccdc.c:427:6:
  warning: assignment makes pointer from integer without a cast [enabled by 
 default]
 
 This patch adds the missing 'linux/slab.h' include to fix the problem.
 
 Cc: Laurent Pinchart laurent.pinch...@ideasonboard.com
 Cc: linux-media@vger.kernel.org
 Cc: linux-o...@vger.kernel.org
 Cc: linux-arm-ker...@lists.infradead.org
 Cc: linux-ker...@vger.kernel.org
 Signed-off-by: Joerg Roedel joerg.roe...@amd.com
 ---
  drivers/media/video/omap3isp/ispccdc.c |1 +
  1 files changed, 1 insertions(+), 0 deletions(-)
 
 diff --git a/drivers/media/video/omap3isp/ispccdc.c 
 b/drivers/media/video/omap3isp/ispccdc.c
 index 9d3459d..80796eb 100644
 --- a/drivers/media/video/omap3isp/ispccdc.c
 +++ b/drivers/media/video/omap3isp/ispccdc.c
 @@ -31,6 +31,7 @@
  #include linux/dma-mapping.h
  #include linux/mm.h
  #include linux/sched.h
 +#include linux/slab.h
  #include media/v4l2-event.h
  
  #include isp.h
 -- 
 1.7.4.1

-- 
AMD Operating System Research Center

Advanced Micro Devices GmbH Einsteinring 24 85609 Dornach
General Managers: Alberto Bozzo, Andrew Bowd
Registration: Dornach, Landkr. Muenchen; Registerger. Muenchen, HRB Nr. 43632

--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH] arm: omap: Fix build error in ispccdc.c

2011-09-14 Thread Laurent Pinchart
Mauro,

On Wednesday 14 September 2011 17:33:03 Roedel, Joerg wrote:
 Ping?

I've acked the patch on September the 6th and asked in the e-mail if you could 
pick it and push it to v3.1. Is there anything else I need to do ?

-- 
Regards,

Laurent Pinchart
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[PATCH] arm: omap: Fix build error in ispccdc.c

2011-09-06 Thread Joerg Roedel
The following build error occurs with 3.1-rc5:

  CC  drivers/media/video/omap3isp/ispccdc.o
/home/data/repos/linux.trees.git/drivers/media/video/omap3isp/ispccdc.c: In 
function 'ccdc_lsc_config':
/home/data/repos/linux.trees.git/drivers/media/video/omap3isp/ispccdc.c:427:2: 
error: implicit declaration of function 'kzalloc' 
[-Werror=implicit-function-declaration]
/home/data/repos/linux.trees.git/drivers/media/video/omap3isp/ispccdc.c:427:6: 
warning: assignment makes pointer from integer without a cast [enabled by 
default]

This patch adds the missing 'linux/slab.h' include to fix the problem.

Cc: Laurent Pinchart laurent.pinch...@ideasonboard.com
Cc: linux-media@vger.kernel.org
Cc: linux-o...@vger.kernel.org
Cc: linux-arm-ker...@lists.infradead.org
Cc: linux-ker...@vger.kernel.org
Signed-off-by: Joerg Roedel joerg.roe...@amd.com
---
 drivers/media/video/omap3isp/ispccdc.c |1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/media/video/omap3isp/ispccdc.c 
b/drivers/media/video/omap3isp/ispccdc.c
index 9d3459d..80796eb 100644
--- a/drivers/media/video/omap3isp/ispccdc.c
+++ b/drivers/media/video/omap3isp/ispccdc.c
@@ -31,6 +31,7 @@
 #include linux/dma-mapping.h
 #include linux/mm.h
 #include linux/sched.h
+#include linux/slab.h
 #include media/v4l2-event.h
 
 #include isp.h
-- 
1.7.4.1


--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH] arm: omap: Fix build error in ispccdc.c

2011-09-06 Thread Laurent Pinchart
Hi Joerg,

On Tuesday 06 September 2011 16:02:15 Joerg Roedel wrote:
 The following build error occurs with 3.1-rc5:

   CC  drivers/media/video/omap3isp/ispccdc.o
 /home/data/repos/linux.trees.git/drivers/media/video/omap3isp/ispccdc.c: In
 function 'ccdc_lsc_config':
 /home/data/repos/linux.trees.git/drivers/media/video/omap3isp/ispccdc.c:42
 7:2: error: implicit declaration of function 'kzalloc'
 [-Werror=implicit-function-declaration]
 /home/data/repos/linux.trees.git/drivers/media/video/omap3isp/ispccdc.c:42
 7:6: warning: assignment makes pointer from integer without a cast [enabled
 by default]
 
 This patch adds the missing 'linux/slab.h' include to fix the problem.

Thanks for the patch.

 Cc: Laurent Pinchart laurent.pinch...@ideasonboard.com
 Cc: linux-media@vger.kernel.org
 Cc: linux-o...@vger.kernel.org
 Cc: linux-arm-ker...@lists.infradead.org
 Cc: linux-ker...@vger.kernel.org
 Signed-off-by: Joerg Roedel joerg.roe...@amd.com

Acked-by: Laurent Pinchart laurent.pinch...@ideasonboard.com

Mauro, can you please pick this patch and push it to v3.1 ?

 ---
  drivers/media/video/omap3isp/ispccdc.c |1 +
  1 files changed, 1 insertions(+), 0 deletions(-)
 
 diff --git a/drivers/media/video/omap3isp/ispccdc.c
 b/drivers/media/video/omap3isp/ispccdc.c index 9d3459d..80796eb 100644
 --- a/drivers/media/video/omap3isp/ispccdc.c
 +++ b/drivers/media/video/omap3isp/ispccdc.c
 @@ -31,6 +31,7 @@
  #include linux/dma-mapping.h
  #include linux/mm.h
  #include linux/sched.h
 +#include linux/slab.h
  #include media/v4l2-event.h
 
  #include isp.h

-- 
Regards,

Laurent Pinchart
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html