From 77a652b3a940556f16b85230a8714ec98b65768d Mon Sep 17 00:00:00 2001 From: Jaehoon Chung Date: Mon, 25 Feb 2019 19:38:09 +0900 Subject: [PATCH] usb: gadget: f_thor: fix wrong type format Fix wrong type format about buidling wanring. Change-Id: I161651ffa9427611ef4e095bebca095d6bbf153d Signed-off-by: Jaehoon Chung --- drivers/usb/gadget/f_thor.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/usb/gadget/f_thor.c b/drivers/usb/gadget/f_thor.c index b2a80b0..0482bab 100644 --- a/drivers/usb/gadget/f_thor.c +++ b/drivers/usb/gadget/f_thor.c @@ -290,7 +290,7 @@ static int process_rqt_download(const struct rqt_box *rqt) total_file_size = thor_file_size; downloaded_file_size = 0; #endif - debug("INIT: total %zu bytes\n", thor_file_size); + debug("INIT: total %llu bytes\n", thor_file_size); break; case RQT_DL_FILE_INFO: file_type = rqt->int_data[0]; @@ -307,7 +307,7 @@ static int process_rqt_download(const struct rqt_box *rqt) memcpy(f_name, rqt->str_data[0], F_NAME_BUF_SIZE); f_name[F_NAME_BUF_SIZE] = '\0'; - debug("INFO: name(%s, %d), size(%zu), type(%d)\n", + debug("INFO: name(%s, %d), size(%llu), type(%d)\n", f_name, 0, thor_file_size, file_type); rsp->int_data[0] = THOR_PACKET_SIZE; -- 2.7.4