On 64-bit: drivers/of/configfs.c: In function 'cfs_overlay_item_dtbo_read': drivers/of/configfs.c:168:2: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'size_t' [-Wformat=] pr_debug("%s: buf=%p max_count=%u\n", __func__, ^ Signed-off-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx> --- This is against "OF: DT-Overlay configfs interface (v4)", but it should apply to "OF: DT-Overlay configfs interface (v5)", too. --- drivers/of/configfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/of/configfs.c b/drivers/of/configfs.c index 056191e238eb2772..7fd29d9dfdd1934b 100644 --- a/drivers/of/configfs.c +++ b/drivers/of/configfs.c @@ -165,7 +165,7 @@ static struct configfs_attribute *cfs_overlay_attrs[] = { ssize_t cfs_overlay_item_dtbo_read(struct cfs_overlay_item *overlay, void *buf, size_t max_count) { - 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) -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html