[PATCH] reset: Introduce static inline dummy function when CONFIG_RESET_CONTROLLER
From: kbuild test robot <hidden>
Date: 2015-12-01 20:19:14
Also in:
linux-omap, lkml
Hi Nishanth, [auto build test WARNING on: v4.4-rc3] [also build test WARNING on: next-20151127] url: https://github.com/0day-ci/linux/commits/Nishanth-Menon/reset-Introduce-static-inline-dummy-function-when-CONFIG_RESET_CONTROLLER/20151201-233708 reproduce: # apt-get install sparse make ARCH=x86_64 allmodconfig make C=1 CF=-D__CHECK_ENDIAN__ sparse warnings: (new ones prefixed by >>)
quoted
include/linux/reset-controller.h:1:2: sparse: unterminated preprocessor conditional
include/linux/compiler.h:228:8: sparse: attribute 'no_sanitize_address': unknown attribute
In file included from drivers/reset/core.c:18:0:
include/linux/reset-controller.h:1:0: error: unterminated #ifndef
#ifndef _LINUX_RESET_CONTROLLER_H_
^
--quoted
include/linux/reset-controller.h:1:2: sparse: unterminated preprocessor conditional include/linux/reset-controller.h:1:2: sparse: unterminated preprocessor conditional
include/linux/compiler.h:228:8: sparse: attribute 'no_sanitize_address': unknown attribute
In file included from drivers/clk/qcom/reset.c:17:0:
include/linux/reset-controller.h:1:0: error: unterminated #ifndef
#ifndef _LINUX_RESET_CONTROLLER_H_
^
In file included from drivers/clk/qcom/reset.h:17:0,
from drivers/clk/qcom/reset.c:20:
include/linux/reset-controller.h:1:0: error: unterminated #ifndef
#ifndef _LINUX_RESET_CONTROLLER_H_
^
vim +1 include/linux/reset-controller.h
61fc4131 Philipp Zabel 2012-11-19 @1 #ifndef _LINUX_RESET_CONTROLLER_H_
61fc4131 Philipp Zabel 2012-11-19 2 #define _LINUX_RESET_CONTROLLER_H_
61fc4131 Philipp Zabel 2012-11-19 3
61fc4131 Philipp Zabel 2012-11-19 4 #include <linux/list.h>
61fc4131 Philipp Zabel 2012-11-19 5
61fc4131 Philipp Zabel 2012-11-19 6 struct reset_controller_dev;
61fc4131 Philipp Zabel 2012-11-19 7
61fc4131 Philipp Zabel 2012-11-19 8 /**
61fc4131 Philipp Zabel 2012-11-19 9 * struct reset_control_ops
:::::: The code at line 1 was first introduced by commit
:::::: 61fc41317666be400802ac793f47de816ef7bd57 reset: Add reset controller API
:::::: TO: Philipp Zabel [off-list ref]
:::::: CC: Philipp Zabel [off-list ref]
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation