tree: https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git topic/renesas-overlays head: a1cbc059d0a208214bf7f30d522f2b642ba1a928 commit: 1aa3421a4ea92f3a107ffea0663c920fb8c18097 [2/89] OF: DT-Overlay configfs interface (v7) config: sparc64-allyesconfig (attached as .config) compiler: sparc64-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705 reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git checkout 1aa3421a4ea92f3a107ffea0663c920fb8c18097 # save the attached .config to linux build tree make.cross ARCH=sparc64 All errors (new ones prefixed by >>): drivers/of/configfs.c: In function 'create_overlay': >> drivers/of/configfs.c:48:2: error: implicit declaration of function 'of_fdt_unflatten_tree' [-Werror=implicit-function-declaration] of_fdt_unflatten_tree(blob, NULL, &overlay->overlay); ^~~~~~~~~~~~~~~~~~~~~ In file included from include/linux/kernel.h:13:0, from include/linux/list.h:8, from include/linux/kobject.h:20, from include/linux/device.h:17, from include/linux/node.h:17, from include/linux/cpu.h:16, from drivers/of/configfs.c:12: drivers/of/configfs.c: In function 'cfs_overlay_item_dtbo_read': drivers/of/configfs.c:153:11: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'size_t {aka long unsigned int}' [-Wformat=] pr_debug("%s: buf=%p max_count=%u\n", __func__, ^ include/linux/printk.h:261:21: note: in definition of macro 'pr_fmt' #define pr_fmt(fmt) fmt ^~~ include/linux/printk.h:309:2: note: in expansion of macro 'dynamic_pr_debug' dynamic_pr_debug(fmt, ##__VA_ARGS__) ^~~~~~~~~~~~~~~~ drivers/of/configfs.c:153:2: note: in expansion of macro 'pr_debug' pr_debug("%s: buf=%p max_count=%u\n", __func__, ^~~~~~~~ cc1: some warnings being treated as errors vim +/of_fdt_unflatten_tree +48 drivers/of/configfs.c 42 43 static int create_overlay(struct cfs_overlay_item *overlay, void *blob) 44 { 45 int err; 46 47 /* unflatten the tree */ > 48 of_fdt_unflatten_tree(blob, NULL, &overlay->overlay); 49 if (overlay->overlay == NULL) { 50 pr_err("%s: failed to unflatten tree\n", __func__); 51 err = -EINVAL; --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip