Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

media: atomisp: Avoid comma separated statements

Use semicolons and braces.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>

authored by

Joe Perches and committed by
Mauro Carvalho Chehab
01049493 c1bca5b5

+4 -2
+4 -2
drivers/staging/media/atomisp/pci/atomisp_subdev.c
··· 410 410 411 411 if (atomisp_subdev_format_conversion(isp_sd, 412 412 isp_sd->capture_pad) 413 - && crop[pad]->width && crop[pad]->height) 414 - crop[pad]->width -= padding_w, crop[pad]->height -= padding_h; 413 + && crop[pad]->width && crop[pad]->height) { 414 + crop[pad]->width -= padding_w; 415 + crop[pad]->height -= padding_h; 416 + } 415 417 416 418 /* if subdev type is SOC camera,we do not need to set DVS */ 417 419 if (isp->inputs[isp_sd->input_curr].type == SOC_CAMERA)