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)
committerJaehoon Chung <jh80.chung@samsung.com>
Mon, 28 Oct 2024 11:27:53 +0000 (20:27 +0900)
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 778daee812fff2335c2324e03dfdec6638497399..4f765ba3c54d90f07d5765361c1ab7670541541a 100644 (file)
@@ -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;