From: Jaehoon Chung Date: Mon, 25 Feb 2019 10:38:09 +0000 (+0900) Subject: usb: gadget: f_thor: fix wrong type format X-Git-Tag: accepted/tizen/unified/20241126.175211~475 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ea3e2aeb0d9621d3f6bd24337118a7c4d345a496;p=platform%2Fkernel%2Fu-boot.git usb: gadget: f_thor: fix wrong type format Fix wrong type format about buidling wanring. Change-Id: I161651ffa9427611ef4e095bebca095d6bbf153d Signed-off-by: Jaehoon Chung --- diff --git a/drivers/usb/gadget/f_thor.c b/drivers/usb/gadget/f_thor.c index 778daee812..4f765ba3c5 100644 --- a/drivers/usb/gadget/f_thor.c +++ b/drivers/usb/gadget/f_thor.c @@ -284,7 +284,7 @@ static long long int process_rqt_download(struct udevice *udc, const struct 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]; @@ -301,7 +301,7 @@ static long long int process_rqt_download(struct udevice *udc, const struct 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;