Re: [PATCH v11 2/2] clk: qcom: Add LPASS VA CSR heartbeat pulse clock

From: kernel test robot

Date: Wed Oct 14 2026 - 04:50:27 EST


Hi Sarath,

kernel test robot noticed the following build errors:

[auto build test ERROR on becb95e45ef0dda9ffb35156d909d3da7a2789c3]

url: https://github.com/intel-lab-lkp/linux/commits/Sarath-Ganapathiraju-via-B4-Relay/dt-bindings-clock-qcom-Add-LPASS-VA-CSR-HeartBeat-pulse-clock/20261012-172258
base: becb95e45ef0dda9ffb35156d909d3da7a2789c3
patch link: https://lore.kernel.org/r/20261012-master-v11-2-15009e3ecac3%40oss.qualcomm.com
patch subject: [PATCH v11 2/2] clk: qcom: Add LPASS VA CSR heartbeat pulse clock
config: parisc-allmodconfig (https://download.01.org/0day-ci/archive/20261014/202610141629.Jo17UNWq-lkp@xxxxxxxxx/config)
compiler: hppa-linux-gcc (GCC) 16.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261014/202610141629.Jo17UNWq-lkp@xxxxxxxxx/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202610141629.Jo17UNWq-lkp@xxxxxxxxx/

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:5,
from include/linux/kasan-checks.h:5,
from include/asm-generic/rwonce.h:26,
from ./arch/parisc/include/generated/asm/rwonce.h:1,
from include/linux/compiler.h:391,
from include/linux/build_bug.h:5,
from include/linux/bits.h:30,
from include/linux/clk-provider.h:10,
from drivers/clk/qcom/lpass-va-csr.c:6:
drivers/clk/qcom/lpass-va-csr.c: In function 'lpass_va_csr_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:78:25: note: in expansion of macro 'NULL'
78 | #define pm_clk_resume NULL
| ^~~~
drivers/clk/qcom/lpass-va-csr.c:61:15: note: in expansion of macro 'pm_clk_resume'
61 | ret = pm_clk_resume(dev);
| ^~~~~~~~~~~~~
>> 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:77:25: note: in expansion of macro 'NULL'
77 | #define pm_clk_suspend NULL
| ^~~~
drivers/clk/qcom/lpass-va-csr.c:77:9: note: in expansion of macro 'pm_clk_suspend'
77 | pm_clk_suspend(dev);
| ^~~~~~~~~~~~~~
drivers/clk/qcom/lpass-va-csr.c: In function 'lpass_va_csr_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:77:25: note: in expansion of macro 'NULL'
77 | #define pm_clk_suspend NULL
| ^~~~
drivers/clk/qcom/lpass-va-csr.c:83:16: note: in expansion of macro 'pm_clk_suspend'
83 | return pm_clk_suspend(dev);
| ^~~~~~~~~~~~~~
drivers/clk/qcom/lpass-va-csr.c: At top level:
drivers/clk/qcom/lpass-va-csr.c:81:12: warning: 'lpass_va_csr_runtime_suspend' defined but not used [-Wunused-function]
81 | static int lpass_va_csr_runtime_suspend(struct device *dev)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/clk/qcom/lpass-va-csr.c:55:12: warning: 'lpass_va_csr_runtime_resume' defined but not used [-Wunused-function]
55 | static int lpass_va_csr_runtime_resume(struct device *dev)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
--
In file included from include/uapi/linux/posix_types.h:5,
from include/uapi/linux/types.h:14,
from include/linux/types.h:5,
from include/linux/kasan-checks.h:5,
from include/asm-generic/rwonce.h:26,
from arch/parisc/include/generated/asm/rwonce.h:1,
from include/linux/compiler.h:391,
from include/linux/build_bug.h:5,
from include/linux/bits.h:30,
from include/linux/clk-provider.h:10,
from lpass-va-csr.c:6:
lpass-va-csr.c: In function 'lpass_va_csr_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:78:25: note: in expansion of macro 'NULL'
78 | #define pm_clk_resume NULL
| ^~~~
lpass-va-csr.c:61:15: note: in expansion of macro 'pm_clk_resume'
61 | ret = pm_clk_resume(dev);
| ^~~~~~~~~~~~~
>> 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:77:25: note: in expansion of macro 'NULL'
77 | #define pm_clk_suspend NULL
| ^~~~
lpass-va-csr.c:77:9: note: in expansion of macro 'pm_clk_suspend'
77 | pm_clk_suspend(dev);
| ^~~~~~~~~~~~~~
lpass-va-csr.c: In function 'lpass_va_csr_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:77:25: note: in expansion of macro 'NULL'
77 | #define pm_clk_suspend NULL
| ^~~~
lpass-va-csr.c:83:16: note: in expansion of macro 'pm_clk_suspend'
83 | return pm_clk_suspend(dev);
| ^~~~~~~~~~~~~~
lpass-va-csr.c: At top level:
lpass-va-csr.c:81:12: warning: 'lpass_va_csr_runtime_suspend' defined but not used [-Wunused-function]
81 | static int lpass_va_csr_runtime_suspend(struct device *dev)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
lpass-va-csr.c:55:12: warning: 'lpass_va_csr_runtime_resume' defined but not used [-Wunused-function]
55 | static int lpass_va_csr_runtime_resume(struct device *dev)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~


vim +8 include/linux/stddef.h

^1da177e4c3f415 Linus Torvalds 2005-04-16 6
^1da177e4c3f415 Linus Torvalds 2005-04-16 7 #undef NULL
^1da177e4c3f415 Linus Torvalds 2005-04-16 @8 #define NULL ((void *)0)
6e2182874324727 Richard Knutsson 2006-09-30 9

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki