From: Brian Masney <bmasney@redhat.com>
To: kernel test robot <lkp@intel.com>, Rosen Penev <rosenp@gmail.com>
Cc: oe-kbuild-all@lists.linux.dev,
"open list:COMMON CLK FRAMEWORK" <linux-clk@vger.kernel.org>
Subject: Re: [linux-next:master 11187/12559] include/linux/stddef.h:8:14: error: called object is not a function or function pointer
Date: Wed, 30 Sep 2026 19:41:03 -0400 [thread overview]
Message-ID: <ar2eD2s6pDLd73DR@redhat.com> (raw)
In-Reply-To: <202610010151.2W0MrmxE-lkp@intel.com>
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
next parent reply other threads:[~2026-09-30 23:41 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <202610010151.2W0MrmxE-lkp@intel.com>
2026-09-30 23:41 ` Brian Masney [this message]
2026-10-01 1:57 ` [linux-next:master 11187/12559] include/linux/stddef.h:8:14: error: called object is not a function or function pointer Rosen Penev
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ar2eD2s6pDLd73DR@redhat.com \
--to=bmasney@redhat.com \
--cc=linux-clk@vger.kernel.org \
--cc=lkp@intel.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=rosenp@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox