mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-04-29 15:15:28 -04:00
media: staging: atomisp: fix for sparse "using plain integer as NULL pointer" warnings
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>
This commit is contained in:
committed by
Mauro Carvalho Chehab
parent
201b56737f
commit
caa7d69da8
@@ -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 } } } }
|
||||
|
||||
Reference in New Issue
Block a user