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

Skip to content
Commit 7775a710 authored by Amit Pundir's avatar Amit Pundir Committed by Sivasri Kumar Vanka
Browse files

usb: gadget: u_ether: use %z format specifier for size_t

Use '%zd' format specifier for size_t type instead
of '%d' to fix the build warnings like:

drivers/usb/gadget/function/u_ether.c: In function ‘rx_submit’:
drivers/usb/gadget/function/u_ether.c:244:2: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘size_t’ [-Wformat=]
  DBG(dev, "%s: size: %d\n", __func__, size);
  ^

Change-Id: Ie03510c1bcd060a769e5adec76b7f905171a6957
Git-Commit: 5ff0eb2efc1c73773ee81fe3207abc67f58b2a4c
Git-repo: https://source.codeaurora.org/quic/la/kernel/msm-4.9


Signed-off-by: default avatarAmit Pundir <amit.pundir@linaro.org>
Signed-off-by: default avatarSivasri Kumar Vanka <sivasri@codeaurora.org>
parent 48e6bbc8
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