|
Edited by DataMannen at 2018-12-10 09:18
drivers/media/i2c/soc_camera/rockchip/ov_camera_module.c:421:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
error, forbidden warning: ov_camera_module.c:421
I had the same problem but fixed it by modifying the file: kernel/drivers/media/i2c/soc_camera/rockchip/ov_camera_module.c
I enclosed the contents of the 'if'-statement in the error with { }
Line 421: if (cam_mod->update_config) {
Line 422: ret = ov_camera_module_write_config(cam_mod);
Line 423: if (IS_ERR_VALUE(ret))
Line 424: goto err;
Line 425: }
Try that and recompile (make a backup of the original ov_camera_module.c first, just in case) |
|