* Re: [linux-next:master 11187/12559] include/linux/stddef.h:8:14: error: called object is not a function or function pointer
[not found] <202610010151.2W0MrmxE-lkp@intel.com>
@ 2026-09-30 23:41 ` Brian Masney
2026-10-01 1:57 ` Rosen Penev
0 siblings, 1 reply; 2+ messages in thread
From: Brian Masney @ 2026-09-30 23:41 UTC (permalink / raw)
To: kernel test robot, Rosen Penev
Cc: oe-kbuild-all, open list:COMMON CLK FRAMEWORK
Hi Rosen,
On Thu, Oct 01, 2026 at 01:18:36AM +0200, kernel test robot wrote:
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
> head: 6c2cb8b8b843d216ab549b678a0d8831c43153e0
> commit: d0b72c88671b3c46342bbebc9b90280890436c98 [11187/12559] clk: mmp: allow COMPILE_TEST builds
> config: m68k-randconfig-r2308-20260930 (https://download.01.org/0day-ci/archive/20261001/202610010151.2W0MrmxE-lkp@intel.com/config)
> compiler: m68k-linux-gcc (GCC) 8.5.0
> sparse: v0.6.5-rc1
> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261001/202610010151.2W0MrmxE-lkp@intel.com/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@intel.com>
> | Closes: https://lore.kernel.org/oe-kbuild-all/202610010151.2W0MrmxE-lkp@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:5,
> from include/linux/of.h:14,
> from include/linux/clk-provider.h:10,
> from drivers/clk/mmp/clk-audio.c:8:
> drivers/clk/mmp/clk-audio.c: In function 'mmp2_audio_clk_suspend':
> >> include/linux/stddef.h:8:14: error: called object is not a function or function pointer
> #define NULL ((void *)0)
> ^
> include/linux/pm_clock.h:77:24: note: in expansion of macro 'NULL'
> #define pm_clk_suspend NULL
> ^~~~
> drivers/clk/mmp/clk-audio.c:405:2: note: in expansion of macro 'pm_clk_suspend'
> pm_clk_suspend(dev);
> ^~~~~~~~~~~~~~
> drivers/clk/mmp/clk-audio.c: In function 'mmp2_audio_clk_resume':
> >> include/linux/stddef.h:8:14: error: called object is not a function or function pointer
> #define NULL ((void *)0)
> ^
> include/linux/pm_clock.h:78:23: note: in expansion of macro 'NULL'
> #define pm_clk_resume NULL
> ^~~~
> drivers/clk/mmp/clk-audio.c:414:2: note: in expansion of macro 'pm_clk_resume'
> pm_clk_resume(dev);
> ^~~~~~~~~~~~~
This isn't directly a bug with your patch, however it is newly
introduced now that the driver can be compiled with COMPILE_TEST. Would
you have time to fix this up as well?
Brian
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [linux-next:master 11187/12559] include/linux/stddef.h:8:14: error: called object is not a function or function pointer
2026-09-30 23:41 ` [linux-next:master 11187/12559] include/linux/stddef.h:8:14: error: called object is not a function or function pointer Brian Masney
@ 2026-10-01 1:57 ` Rosen Penev
0 siblings, 0 replies; 2+ messages in thread
From: Rosen Penev @ 2026-10-01 1:57 UTC (permalink / raw)
To: Brian Masney
Cc: kernel test robot, oe-kbuild-all, open list:COMMON CLK FRAMEWORK
On Wed, Sep 30, 2026 at 4:41 PM Brian Masney <bmasney@redhat.com> wrote:
>
> Hi Rosen,
>
> On Thu, Oct 01, 2026 at 01:18:36AM +0200, kernel test robot wrote:
> > tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
> > head: 6c2cb8b8b843d216ab549b678a0d8831c43153e0
> > commit: d0b72c88671b3c46342bbebc9b90280890436c98 [11187/12559] clk: mmp: allow COMPILE_TEST builds
> > config: m68k-randconfig-r2308-20260930 (https://download.01.org/0day-ci/archive/20261001/202610010151.2W0MrmxE-lkp@intel.com/config)
> > compiler: m68k-linux-gcc (GCC) 8.5.0
> > sparse: v0.6.5-rc1
> > reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261001/202610010151.2W0MrmxE-lkp@intel.com/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@intel.com>
> > | Closes: https://lore.kernel.org/oe-kbuild-all/202610010151.2W0MrmxE-lkp@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:5,
> > from include/linux/of.h:14,
> > from include/linux/clk-provider.h:10,
> > from drivers/clk/mmp/clk-audio.c:8:
> > drivers/clk/mmp/clk-audio.c: In function 'mmp2_audio_clk_suspend':
> > >> include/linux/stddef.h:8:14: error: called object is not a function or function pointer
> > #define NULL ((void *)0)
> > ^
> > include/linux/pm_clock.h:77:24: note: in expansion of macro 'NULL'
> > #define pm_clk_suspend NULL
> > ^~~~
> > drivers/clk/mmp/clk-audio.c:405:2: note: in expansion of macro 'pm_clk_suspend'
> > pm_clk_suspend(dev);
> > ^~~~~~~~~~~~~~
> > drivers/clk/mmp/clk-audio.c: In function 'mmp2_audio_clk_resume':
> > >> include/linux/stddef.h:8:14: error: called object is not a function or function pointer
> > #define NULL ((void *)0)
> > ^
> > include/linux/pm_clock.h:78:23: note: in expansion of macro 'NULL'
> > #define pm_clk_resume NULL
> > ^~~~
> > drivers/clk/mmp/clk-audio.c:414:2: note: in expansion of macro 'pm_clk_resume'
> > pm_clk_resume(dev);
> > ^~~~~~~~~~~~~
>
> This isn't directly a bug with your patch, however it is newly
> introduced now that the driver can be compiled with COMPILE_TEST. Would
> you have time to fix this up as well?
Yeah.
>
> Brian
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-10-01 1:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <202610010151.2W0MrmxE-lkp@intel.com>
2026-09-30 23:41 ` [linux-next:master 11187/12559] include/linux/stddef.h:8:14: error: called object is not a function or function pointer Brian Masney
2026-10-01 1:57 ` Rosen Penev
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox