mirror of
https://github.com/torvalds/linux.git
synced 2026-06-04 04:23:35 +02: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:
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 } } } }
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user