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

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

msm: npu: Fix compile warnings



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

 drivers/media/platform/msm/npu/npu_dev.c:1635:
   format '%x' expects argument of type 'unsigned int', but argument 3 has
     type 'resource_size_t {aka long long unsigned int}' [-Werror=format=]
  pr_debug("qdsp phy address=0x%x virt=%pK\n",

 drivers/media/platform/msm/npu/npu_dev.c:1654:
   format '%x' expects argument of type 'unsigned int', but argument 3 has
     type 'resource_size_t {aka long long unsigned int}' [-Werror=format=]
  pr_debug("apss_shared phy address=0x%x virt=%pK\n",

Fixes: 1142b662 ("msm: npu: Add NPU support for Kona")
Change-Id: Ic0dedbad35b271e91f881a4e73536ef3a9212801
Signed-off-by: default avatarJordan Crouse <jcrouse@codeaurora.org>
parent b1d3f812
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