All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Rosen Penev <rosenp@gmail.com>
Cc: oe-kbuild-all@lists.linux.dev, Brian Masney <bmasney@redhat.com>
Subject: [linux-next:master 11187/12559] include/linux/stddef.h:8:14: error: called object is not a function or function pointer
Date: Thu, 01 Oct 2026 01:18:36 +0200	[thread overview]
Message-ID: <202610010151.2W0MrmxE-lkp@intel.com> (raw)

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);
     ^~~~~~~~~~~~~


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  

:::::: The code at line 8 was first introduced by commit
:::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2

:::::: TO: Linus Torvalds <torvalds@ppc970.osdl.org>
:::::: CC: Linus Torvalds <torvalds@ppc970.osdl.org>

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

             reply	other threads:[~2026-09-30 23:18 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-30 23:18 kernel test robot [this message]
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

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=202610010151.2W0MrmxE-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=bmasney@redhat.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.