arm: omap: Fix build error in ispccdc.c
PATCH 1/1 arm: omap: Fix build error in ispccdc.c
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.
--- drivers/media/video/omap3isp/ispccdc.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/media/video/omap3isp/ispccdc.c +1 -0
@@ -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"
Signature · 1 line
1.7.4.1
Hi Joerg,
Quoted 12 lines · 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: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]
Quoted 1 line
This patch adds the missing '
linux/slab.h' include to fix the problem.
Thanks for the patch.
Quoted 6 lines
Cc Laurent Pinchart <[email protected]>Cc linux-media at vger.kernel.orgCc linux-omap at vger.kernel.orgCc linux-arm-kernel at lists.infradead.orgCc linux-kernel at vger.kernel.orgSigned-off-by Joerg Roedel <[email protected]>
Mauro, can you please pick this patch and push it to v3.1 ?
Quoted 16 lines
--- drivers/media/video/omap3isp/ispccdc.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)(quoted diff) +0
-0
b/drivers/media/video/omap3isp/ispccdc.cindex 9d3459d..80796eb 100644drivers/media/video/omap3isp/ispccdc.c +1
-0@@ -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"
Signature · 3 lines
Regards, Laurent Pinchart
Ping?
Quoted 33 lines · 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 <[email protected]>Cc linux-media at vger.kernel.orgCc linux-omap at vger.kernel.orgCc linux-arm-kernel at lists.infradead.orgCc linux-kernel at vger.kernel.orgSigned-off-by Joerg Roedel <[email protected]>--- drivers/media/video/omap3isp/ispccdc.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)drivers/media/video/omap3isp/ispccdc.c +1
-0@@ -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" Signature · 1 line
1.7.4.1
Signature · 5 lines
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
Mauro,
Quoted 1 line · Joerg
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 ?
Signature · 3 lines
Regards, Laurent Pinchart