Commit da3074b1 authored by Carlos Llamas's avatar Carlos Llamas
Browse files

ANDROID: arm64/mm: fix minor printk format warning



Use the correct printk length specifier [%llx] for u64 variable.
This fixes the following warning:

  arch/arm64/mm/mmu.c: In function ‘check_range_driver_managed’:
  ./include/linux/kern_levels.h:5:18: warning: format ‘%lx’ expects
      argument of type ‘long unsigned int’, but argument 3 has type
      ‘u64’ {aka ‘long long unsigned int’} [-Wformat=]
  [...]
  arch/arm64/mm/mmu.c:1515:3: note: in expansion of macro ‘pr_err’
  1515 |   pr_err("%s: couldn't find memory resource for start 0x%lx\n",
       |   ^~~~~~

Bug: 183339614
Fixes: 1b4aca7d (ANDROID: arm64/mm: implement {populate/depopulate}_range_driver_managed)
Signed-off-by: default avatarCarlos Llamas <cmllamas@google.com>
Change-Id: I664223ef6c0c5f415e0b6465a0b589667f26e551
parent db6a2dd5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment