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

Skip to content
Commit 99508f0b 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_isp/isp_hw_mgr/cam_ife_hw_mgr.c:3758:
   format '%u' expects argument of type 'unsigned int', but argument 6 has
	type 'long unsigned int' [-Werror=format=]
    CAM_ERR(CAM_ISP, "Invalid blob size %u expected %u",

 drivers/media/platform/msm/camera/cam_isp/isp_hw_mgr/cam_ife_hw_mgr.c:3789:
   format '%u' expects argument of type 'unsigned int', but argument 6 has
	type 'long unsigned int' [-Werror=format=]
    CAM_ERR(CAM_ISP, "Invalid blob size %u expected %u",

 drivers/media/platform/msm/camera/cam_isp/isp_hw_mgr/cam_ife_hw_mgr.c:3821:
   format '%u' expects argument of type 'unsigned int', but argument 6 has
	type 'long unsigned int' [-Werror=format=]
    CAM_ERR(CAM_ISP, "Invalid blob size %u expected %u",

 drivers/media/platform/msm/camera/cam_isp/isp_hw_mgr/cam_ife_hw_mgr.c:3862:
   format '%u' expects argument of type 'unsigned int', but argument 6 has
	type 'long unsigned int' [-Werror=format=]
    CAM_ERR(CAM_ISP, "Invalid blob_size %u expected %u",

 drivers/media/platform/msm/camera/cam_isp/isp_hw_mgr/cam_ife_hw_mgr.c:3894:
   format '%u' expects argument of type 'unsigned int', but argument 6 has
	type 'long unsigned int' [-Werror=format=]
    CAM_ERR(CAM_ISP, "Invalid blob_size %u expected %u",

 drivers/media/platform/msm/camera/cam_isp/isp_hw_mgr/cam_ife_hw_mgr.c:3911:
   format '%u' expects argument of type 'unsigned int', but argument 6 has
	type 'long unsigned int' [-Werror=format=]
    CAM_ERR(CAM_ISP, "Invalid blob size %u expected %u",

 drivers/media/platform/msm/camera/cam_isp/isp_hw_mgr/cam_ife_hw_mgr.c:3929:
   format '%u' expects argument of type 'unsigned int', but argument 6 has
	type 'long unsigned int' [-Werror=format=]
    CAM_ERR(CAM_ISP, "Invalid blob size %u expected %u",

Fixes: bf14c19b ("msm: camera: isp: Prevent out of bounds read")
Change-Id: Ic0dedbad59447f3a4c5ed03a525f9a7eb1fd6980
Signed-off-by: default avatarJordan Crouse <jcrouse@codeaurora.org>
parent 39dfdee9
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