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

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

usb: gadget: f_fs: Fix compile warnings



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

 drivers/usb/gadget/function/f_fs.c:1066:
   format '%d' expects argument of type 'int', but argument 4 has
	type 'ssize_t {aka long int}' [-Werror=format=]
   ffs_log("queued %d bytes on %s", data_len, epfile->name);

 drivers/usb/gadget/function/f_fs.c:1110:
   format '%d' expects argument of type 'int', but argument 4 has
	type 'ssize_t {aka long int}' [-Werror=format=]
   ffs_log("queued %d bytes on %s", data_len, epfile->name);

Fixes: cb9bad16 ("usb: gadget: f_fs: Add support for ipc logging")
Change-Id: Ic0dedbada94266af53ba3824954c7271ec0453b3
Signed-off-by: default avatarJordan Crouse <jcrouse@codeaurora.org>
parent 4a6d5df1
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