Hi Robert,
[FYI, it's a private test report for your RFC patch.]
[auto build test ERROR on robh/for-next]
[also build test ERROR on v5.13-rc6 next-20210616]
[cannot apply to clk/clk-next]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url:
https://github.com/0day-ci/linux/commits/Robert-Foss/Qcom-SM8350-DispCC-V...
base:
https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next
config: h8300-randconfig-p001-20210615 (attached as .config)
compiler: h8300-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
#
https://github.com/0day-ci/linux/commit/dec0377e64d6caab3b75a8b7325689af2...
git remote add linux-review
https://github.com/0day-ci/linux
git fetch --no-tags linux-review
Robert-Foss/Qcom-SM8350-DispCC-VideoCC/20210617-000803
git checkout dec0377e64d6caab3b75a8b7325689af258652eb
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=h8300
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
In file included from include/uapi/linux/posix_types.h:5,
from include/uapi/linux/types.h:14,
from include/linux/types.h:6,
from include/linux/kasan-checks.h:5,
from include/asm-generic/rwonce.h:26,
from ./arch/h8300/include/generated/asm/rwonce.h:1,
from include/linux/compiler.h:248,
from include/linux/err.h:5,
from include/linux/clk.h:12,
from drivers/clk/qcom/common.c:6:
drivers/clk/qcom/common.c: In function 'qcom_cc_runtime_resume':
> include/linux/stddef.h:8:14: error: called object is not a
function or function pointer
8 | #define NULL ((void *)0)
| ^
include/linux/pm_clock.h:82:23: note: in expansion of macro 'NULL'
82 | #define pm_clk_resume NULL
| ^~~~
drivers/clk/qcom/common.c:397:8: note: in expansion of macro 'pm_clk_resume'
397 | ret = pm_clk_resume(dev);
| ^~~~~~~~~~~~~
drivers/clk/qcom/common.c: In function 'qcom_cc_runtime_suspend':
> include/linux/stddef.h:8:14: error: called object is not a
function or function pointer
8 | #define NULL ((void *)0)
| ^
include/linux/pm_clock.h:81:24: note: in expansion of macro 'NULL'
81 | #define pm_clk_suspend NULL
| ^~~~
drivers/clk/qcom/common.c:410:8: note: in expansion of macro 'pm_clk_suspend'
410 | ret = pm_clk_suspend(dev);
| ^~~~~~~~~~~~~~
vim +8 include/linux/stddef.h
^1da177e4c3f41 Linus Torvalds 2005-04-16 6
^1da177e4c3f41 Linus Torvalds 2005-04-16 7 #undef NULL
^1da177e4c3f41 Linus Torvalds 2005-04-16 @8 #define NULL ((void *)0)
6e218287432472 Richard Knutsson 2006-09-30 9
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org