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:Jordan Crouse <jcrouse@codeaurora.org>
Loading
Please register or sign in to comment