diff options
author | Keerthy <j-keerthy@ti.com> | 2018-11-05 11:34:54 +0530 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-11-16 16:52:01 -0500 |
commit | 907837d65938fc95e68deaccfd8ee1802e6ba050 (patch) | |
tree | 41926f403f2797b15a01edcf5e28f79236585fcd /drivers/misc | |
parent | 7c096ea4eea178a8be3e6bce9d603d34d21f680a (diff) | |
download | u-boot-907837d65938fc95e68deaccfd8ee1802e6ba050.tar.gz |
misc: fs_loader: Fix compiler warning
Fix compiler warning
drivers/misc/fs_loader.c:193:9: warning: format ‘%d’ expects
argument of type ‘int’, but argument 5 has type ‘size_t
{aka long unsigned int}’ [-Wformat=]
Signed-off-by: Keerthy <j-keerthy@ti.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/misc')
-rw-r--r-- | drivers/misc/fs_loader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/fs_loader.c b/drivers/misc/fs_loader.c index 5afc941aff..baa5f8302a 100644 --- a/drivers/misc/fs_loader.c +++ b/drivers/misc/fs_loader.c @@ -190,7 +190,7 @@ static int fw_get_filesystem_firmware(struct device_platdata *plat, fw_priv->offset, firmware->size, &actread); if (ret) { - debug("Error: %d Failed to read %s from flash %lld != %d.\n", + debug("Error: %d Failed to read %s from flash %lld != %zu.\n", ret, fw_priv->name, actread, firmware->size); } else { ret = actread; |