[PATCH 1/3] media: atomisp: convert default struct values to use compound-literals with designated initializers.
Dan Carpenter
dan.carpenter at oracle.com
Fri Dec 1 15:07:25 UTC 2017
I can't apply this (to today's linux-next) but does this really work:
> +(struct ia_css_3a_grid_info) { \
> + .ae_enable = 0, \
> + .ae_grd_info = (struct ae_public_config_grid_config) { \
> + width = 0, \
> + height = 0, \
> + b_width = 0, \
> + b_height = 0, \
> + x_start = 0, \
> + y_start = 0, \
> + x_end = 0, \
> + y_end = 0 \
I'm pretty sure those lines should start with a period.
- width = 0, \
+ .width = 0, \
regards,
dan
More information about the devel
mailing list