All of lore.kernel.org
 help / color / mirror / Atom feed
* [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:18 kernel test robot
  2026-09-30 23:41 ` Brian Masney
  0 siblings, 1 reply; 3+ messages in thread
From: kernel test robot @ 2026-09-30 23:18 UTC (permalink / raw)
  To: Rosen Penev; +Cc: oe-kbuild-all, Brian Masney

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-10-01  1:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-30 23:18 [linux-next:master 11187/12559] include/linux/stddef.h:8:14: error: called object is not a function or function pointer kernel test robot
2026-09-30 23:41 ` Brian Masney
2026-10-01  1:57   ` Rosen Penev

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.