Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 1888928a authored by Jordan Crouse's avatar Jordan Crouse
Browse files

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: default avatarJordan Crouse <jcrouse@codeaurora.org>
parent a3e72219
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment