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

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

msm: ipa: Fix several string format errors



Fix the following compiler warning(s) from gcc 6.1.1 with -Werror enabled:

 drivers/platform/msm/ipa/ipa_v3/ipa.c:6482:
    format '%zu' expects argument of type 'size_t', but argument 5 has
      type 'int' [-Werror=format=]
   IPADBG("ipa q6 smem size (default) = %zu\n", IPA_SMEM_SIZE);

 drivers/platform/msm/ipa/ipa_v3/ipa.c:6485:
   format '%zu' expects argument of type 'size_t', but argument 5 has
     type 'u32 {aka unsigned int}' [-Werror=format=]
   IPADBG("ipa q6 smem size = %zu\n", ipa_smem_size);

 drivers/platform/msm/ipa/ipa_v3/ipa.c:6507:
   format '%zu' expects argument of type 'size_t', but argument 5 has
     type 'u32 {aka unsigned int}' [-Werror=format=]
   IPAERR("unexpected read q6 smem size %zu %zu\n",

Fixes: dc45b95f ("msm: ipa: Read q6 smem region size from dts")
Change-Id: Ic0dedbade3cbb5b38ea2dcc105503636eeddde31
Signed-off-by: default avatarJordan Crouse <jcrouse@codeaurora.org>
parent e6b6c828
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