media: staging: atomisp: fix for sparse "using plain integer as NULL pointer" warnings
authorJeremy Sowden <jeremy@azazel.net>
Tue, 28 Nov 2017 10:27:25 +0000 (05:27 -0500)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 29 Dec 2017 11:19:36 +0000 (06:19 -0500)
The "address" member of struct ia_css_host_data is a pointer-to-char,
so define default as NULL.

Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isp_param/interface/ia_css_isp_param_types.h

index 2283dd1..fa3f093 100644 (file)
@@ -95,7 +95,7 @@ union ia_css_all_memory_offsets {
 };
 
 #define IA_CSS_DEFAULT_ISP_MEM_PARAMS \
-               { { { { 0, 0 } } } }
+               { { { { NULL, 0 } } } }
 
 #define IA_CSS_DEFAULT_ISP_CSS_PARAMS \
                { { { { 0, 0 } } } }