msm: camera: Fix compile warnings
Fix the following compiler warning(s) from gcc 6.1.1 with -Werror enabled: drivers/media/platform/msm/camera/cam_sensor_module/cam_flash/cam_flash_core.c:1314: format '%lld' expects argument of type 'long long int', but argument 6 has type 'uint32_t {aka unsigned int}' [-Werror=format=] CAM_WARN(CAM_FLASH, drivers/media/platform/msm/camera/cam_sensor_module/cam_flash/cam_flash_core.c:1422: format '%p' expects argument of type 'void *', but argument 5 has type 'int32_t {aka int}' [-Werror=format=] CAM_WARN(CAM_FLASH, "Fail in put buffer: %pK", drivers/media/platform/msm/camera/cam_sensor_module/cam_flash/cam_flash_core.c:1721: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'uint64_t {aka long long unsigned int}' [-Werror=format=] CAM_WARN(CAM_FLASH, "Failed in put the buffer: 0x%x ", drivers/media/platform/msm/camera/cam_sensor_module/cam_flash/cam_flash_core.c:1732: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'uint64_t {aka long long unsigned int}' [-Werror=format=] CAM_WARN(CAM_FLASH, "Failed in put the buffer: 0x%x ", Fixes: dde94d7b ("msm: camera: Bring over remaining camera driver changes") Change-Id: Ic0dedbad4c1d68af2a66755c79fdfefbac224c13 Signed-off-by:Jordan Crouse <jcrouse@codeaurora.org>
Loading
Please register or sign in to comment