Re: [PATCH 1/3] of/overlay: add API function to count and pop last

From: kbuild test robot
Date: Sun Dec 18 2016 - 21:15:38 EST


Hi Heinrich,

[auto build test ERROR on linus/master]
[also build test ERROR on next-20161216]
[cannot apply to glikely/devicetree/next robh/for-next v4.9]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url: https://github.com/0day-ci/linux/commits/Heinrich-Schuchardt/of-overlay-sysfs-based-ABI-for-dt-overlays/20161219-093606
config: i386-randconfig-s1-201651 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
# save the attached .config to linux build tree
make ARCH=i386

All errors (new ones prefixed by >>):

In file included from include/linux/irqdomain.h:34:0,
from include/linux/i2c.h:33,
from include/uapi/linux/fb.h:5,
from include/linux/fb.h:5,
from include/linux/vga_switcheroo.h:34,
from drivers/gpu/drm/i915/i915_drv.c:40:
>> include/linux/of.h:1295:12: error: 'of_overlay_count' defined but not used [-Werror=unused-function]
static int of_overlay_count(void)
^~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors

vim +/of_overlay_count +1295 include/linux/of.h

1289
1290 int of_overlay_notifier_register(struct notifier_block *nb);
1291 int of_overlay_notifier_unregister(struct notifier_block *nb);
1292
1293 #else
1294
> 1295 static int of_overlay_count(void)
1296 {
1297 return -ENOTSUPP;
1298 }

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: application/gzip