staging: media: mt9m114: Use true/false instead of 1/0 for bool initialisations
Subsystems (4)
PATCH 1/1 staging: media: mt9m114: Use true/false instead of 1/0 for bool initialisations
Bool initializations should use true and false instead of 1 and 0. Detected by coccinelle/misc/boolinit.cocci.
Signed-off-by sayli karnik <[email protected]>
--- drivers/staging/media/atomisp/i2c/mt9m114.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/staging/media/atomisp/i2c/mt9m114.h +3 -3
@@ -349,7 +349,7 @@ static struct mt9m114_res_struct mt9m114_res[] = { .width = 1296, .height = 736, .fps = 30, - .used = 0, + .used = false, .regs = NULL, .skip_frames = 1,
@@ -365,7 +365,7 @@ static struct mt9m114_res_struct mt9m114_res[] = { .width = 1296, .height = 864, .fps = 30, - .used = 0, + .used = false, .regs = NULL, .skip_frames = 1,
@@ -381,7 +381,7 @@ static struct mt9m114_res_struct mt9m114_res[] = { .width = 1296, .height = 976, .fps = 30, - .used = 0, + .used = false, .regs = NULL, .skip_frames = 1,
Signature · 1 line
2.7.4
Greg Kroah-Hartman
maintainerQuoted 7 lines · sayli karnik
Bool initializations should use true and false instead of 1 and 0. Detected by
coccinelle/misc/boolinit.cocci.Signed-off-by sayli karnik <[email protected]>--- drivers/staging/media/atomisp/i2c/mt9m114.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
You send two different patches, with identical subject lines :(
Please fix up and resend them with unique ones, as a series.
thanks,
greg k-h