usb: gadget: f_thor: fix wrong type format
authorJaehoon Chung <jh80.chung@samsung.com>
Mon, 25 Feb 2019 10:38:09 +0000 (19:38 +0900)
committerMarek Szyprowski <m.szyprowski@samsung.com>
Mon, 15 Nov 2021 10:19:26 +0000 (11:19 +0100)
Fix wrong type format about buidling wanring.

Change-Id: I161651ffa9427611ef4e095bebca095d6bbf153d
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
drivers/usb/gadget/f_thor.c

index 5a97038..03a2873 100644 (file)
@@ -281,7 +281,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];
@@ -298,7 +298,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;