As sparse complains:
drivers/media/platform/omap3isp/isp.c:303:39: warning: Using plain integer as NULL pointer
when a struct is initialized with { 0 }, actually the first
element of the struct is initialized with zeros, initializing the
other elements recursively. That can even generate gcc warnings
on nested structs.
So, instead, use the gcc-specific syntax for that (with is used
broadly inside the Kernel), initializing it with {};
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
|
||
|---|---|---|
| .. | ||
| cfa_coef_table.h | ||
| gamma_table.h | ||
| isp.c | ||
| isp.h | ||
| ispccdc.c | ||
| ispccdc.h | ||
| ispccp2.c | ||
| ispccp2.h | ||
| ispcsi2.c | ||
| ispcsi2.h | ||
| ispcsiphy.c | ||
| ispcsiphy.h | ||
| isph3a_aewb.c | ||
| isph3a_af.c | ||
| isph3a.h | ||
| isphist.c | ||
| isphist.h | ||
| isppreview.c | ||
| isppreview.h | ||
| ispreg.h | ||
| ispresizer.c | ||
| ispresizer.h | ||
| ispstat.c | ||
| ispstat.h | ||
| ispvideo.c | ||
| ispvideo.h | ||
| luma_enhance_table.h | ||
| Makefile | ||
| noise_filter_table.h | ||
| omap3isp.h | ||