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

ANDROID: binder: fix ptrdiff_t printk-format issue



The correct printk format specifier when calculating buffer offsets
should be "%tx" as it is a pointer difference (a.k.a ptrdiff_t). This
fixes some W=1 build warnings reported by the kernel test robot.

Bug: 329799092
Fixes: 63f7ddea ("ANDROID: binder: fix KMI-break due to address type change")
Reported-by: default avatarkernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202401100511.A4BKMwoq-lkp@intel.com/


Change-Id: Iaa87433897b507c47fe8601464445cb6de4b61db
Signed-off-by: default avatarCarlos Llamas <cmllamas@google.com>
parent 8a2060bf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment