diff options
author | Phil Elwell <phil@raspberrypi.org> | 2016-03-23 17:22:10 +0000 |
---|---|---|
committer | Seung-Woo Kim <sw0312.kim@samsung.com> | 2019-12-30 15:44:34 +0900 |
commit | 38cc9165138cedbfeb200783283bd6dabf94ef71 (patch) | |
tree | e2876ed21767844a04ba7d141fbc734d93091b7f | |
parent | 782253d69bdaadb64cafa270cb9199b05c6b8896 (diff) | |
download | linux-artik7-38cc9165138cedbfeb200783283bd6dabf94ef71.tar.gz linux-artik7-38cc9165138cedbfeb200783283bd6dabf94ef71.tar.bz2 linux-artik7-38cc9165138cedbfeb200783283bd6dabf94ef71.zip |
DT configfs: Fix build errors on other platforms
Signed-off-by: Phil Elwell <phil@raspberrypi.org>
[sw0312.kim: cherry-pick raspbian linux stable rpi-4.5.y commit 769a44b60edd to remove build warning]
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Change-Id: I76067ec8cd676523eab6d9581afc2c860a443d18
-rw-r--r-- | drivers/of/configfs.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/of/configfs.c b/drivers/of/configfs.c index 7b66deb9b2c4..168b9d3b0c13 100644 --- a/drivers/of/configfs.c +++ b/drivers/of/configfs.c @@ -23,6 +23,7 @@ #include <linux/file.h> #include <linux/vmalloc.h> #include <linux/firmware.h> +#include <linux/sizes.h> #include "of_private.h" @@ -153,7 +154,7 @@ ssize_t cfs_overlay_item_dtbo_read(struct config_item *item, { struct cfs_overlay_item *overlay = to_cfs_overlay_item(item); - pr_debug("%s: buf=%p max_count=%u\n", __func__, + pr_debug("%s: buf=%p max_count=%zu\n", __func__, buf, max_count); if (overlay->dtbo == NULL) |