[s390:fixes 4/6] arch/s390/kernel/processor.c:158:42: error: implicit declaration of function 'topology_book_id'; did you mean 'topology_core_id'?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git fixes
head:   2ae14b57fa3e7c783ba36de4965634839d706690
commit: 5ef2d0f973e7b1ff50a12c48b0e8214fdc5e5182 [4/6] s390/cpuinfo: add system topology information
config: s390-allnoconfig (attached as .config)
compiler: s390-linux-gcc (GCC) 7.5.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 5ef2d0f973e7b1ff50a12c48b0e8214fdc5e5182
        # save the attached .config to linux build tree
        GCC_VERSION=7.5.0 make.cross ARCH=s390 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

   arch/s390/kernel/processor.c: In function 'show_cpu_topo':
>> arch/s390/kernel/processor.c:158:42: error: implicit declaration of function 'topology_book_id'; did you mean 'topology_core_id'? [-Werror=implicit-function-declaration]
     seq_printf(m, "book id         : %d\n", topology_book_id(n));
                                             ^~~~~~~~~~~~~~~~
                                             topology_core_id
>> arch/s390/kernel/processor.c:159:42: error: implicit declaration of function 'topology_drawer_id'; did you mean 'topology_die_id'? [-Werror=implicit-function-declaration]
     seq_printf(m, "drawer id       : %d\n", topology_drawer_id(n));
                                             ^~~~~~~~~~~~~~~~~~
                                             topology_die_id
   cc1: some warnings being treated as errors

vim +158 arch/s390/kernel/processor.c

   153	
   154	static void show_cpu_topo(struct seq_file *m, unsigned long n)
   155	{
   156		seq_printf(m, "physical id     : %d\n", topology_physical_package_id(n));
   157		seq_printf(m, "core id         : %d\n", topology_core_id(n));
 > 158		seq_printf(m, "book id         : %d\n", topology_book_id(n));
 > 159		seq_printf(m, "drawer id       : %d\n", topology_drawer_id(n));
   160		seq_printf(m, "dedicated       : %d\n", topology_cpu_dedicated(n));
   161	}
   162	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Kernel Development]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Info]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Linux Media]     [Device Mapper]

  Powered by Linux