oe-kbuild-all.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* [asahilinux:t602x/bringup 118/125] drivers/soc/apple/rtkit.c:950:19: error: 'apple_rtkit_get_dram_mask' undeclared here (not in a function); did you mean 'apple_rtkit_dram_mask'?
@ 2023-04-10 17:47 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-04-10 17:47 UTC (permalink / raw)
  To: Hector Martin; +Cc: oe-kbuild-all

tree:   https://github.com/AsahiLinux/linux t602x/bringup
head:   595f97705c505e843b8e264e9daa5710474237dc
commit: 4c253fc7806a5e80352baf95ff6d5d8ac1f92f9a [118/125] soc: apple: rtkit: Add support for an ASC DRAM offset
config: ia64-allyesconfig (https://download.01.org/0day-ci/archive/20230411/202304110122.EbS8Elpd-lkp@intel.com/config)
compiler: ia64-linux-gcc (GCC) 12.1.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://github.com/AsahiLinux/linux/commit/4c253fc7806a5e80352baf95ff6d5d8ac1f92f9a
        git remote add asahilinux https://github.com/AsahiLinux/linux
        git fetch --no-tags asahilinux t602x/bringup
        git checkout 4c253fc7806a5e80352baf95ff6d5d8ac1f92f9a
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=ia64 olddefconfig
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=ia64 SHELL=/bin/bash drivers/soc/

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
| Link: https://lore.kernel.org/oe-kbuild-all/202304110122.EbS8Elpd-lkp@intel.com/

All errors (new ones prefixed by >>):

   In file included from include/linux/linkage.h:7,
                    from include/linux/preempt.h:10,
                    from include/linux/spinlock.h:56,
                    from include/linux/swait.h:7,
                    from include/linux/completion.h:12,
                    from drivers/soc/apple/rtkit-internal.h:12,
                    from drivers/soc/apple/rtkit.c:7:
>> drivers/soc/apple/rtkit.c:950:19: error: 'apple_rtkit_get_dram_mask' undeclared here (not in a function); did you mean 'apple_rtkit_dram_mask'?
     950 | EXPORT_SYMBOL_GPL(apple_rtkit_get_dram_mask);
         |                   ^~~~~~~~~~~~~~~~~~~~~~~~~
   include/linux/export.h:87:23: note: in definition of macro '___EXPORT_SYMBOL'
      87 |         extern typeof(sym) sym;                                                 \
         |                       ^~~
   include/linux/export.h:147:41: note: in expansion of macro '__EXPORT_SYMBOL'
     147 | #define _EXPORT_SYMBOL(sym, sec)        __EXPORT_SYMBOL(sym, sec, "")
         |                                         ^~~~~~~~~~~~~~~
   include/linux/export.h:151:41: note: in expansion of macro '_EXPORT_SYMBOL'
     151 | #define EXPORT_SYMBOL_GPL(sym)          _EXPORT_SYMBOL(sym, "_gpl")
         |                                         ^~~~~~~~~~~~~~
   drivers/soc/apple/rtkit.c:950:1: note: in expansion of macro 'EXPORT_SYMBOL_GPL'
     950 | EXPORT_SYMBOL_GPL(apple_rtkit_get_dram_mask);
         | ^~~~~~~~~~~~~~~~~


vim +950 drivers/soc/apple/rtkit.c

   945	
   946	u64 apple_rtkit_dram_mask(struct apple_rtkit *rtk)
   947	{
   948		return rtk->dram_mask;
   949	}
 > 950	EXPORT_SYMBOL_GPL(apple_rtkit_get_dram_mask);
   951	

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-04-10 17:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-10 17:47 [asahilinux:t602x/bringup 118/125] drivers/soc/apple/rtkit.c:950:19: error: 'apple_rtkit_get_dram_mask' undeclared here (not in a function); did you mean 'apple_rtkit_dram_mask'? kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).