This repository has been archived by the owner on Nov 7, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
msm/camera_v2: Fix incorrect comparison usage
/mnt/ssd/kernels/msm-4.9/drivers/media/platform/msm/camera_v2/msm.c: In function ‘msm_probe’: /mnt/ssd/kernels/msm-4.9/drivers/media/platform/msm/camera_v2/msm.c:1378:14: warning: comparison of constant ‘0’ with boolean expression is always false [-Wbool-compare] 1378 | 0, NULL)) < 0)) | ^ /mnt/ssd/kernels/msm-4.9/include/asm-generic/bug.h:93:25: note: in definition of macro ‘WARN_ON’ 93 | int __ret_warn_on = !!(condition); \ | ^~~~~~~~~ Signed-off-by: Albert I <[email protected]>
- Loading branch information