Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
* Re: [PATCH 09/10] mm/slab: Simplify create_kmalloc_cache() args and make it static
       [not found] <20220405135758.774016-10-catalin.marinas@arm.com>
@ 2022-04-06  5:35 ` kernel test robot
  2022-04-06  8:57   ` Catalin Marinas
  0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2022-04-06  5:35 UTC (permalink / raw)
  To: Catalin Marinas; +Cc: llvm, kbuild-all

Hi Catalin,

I love your patch! Perhaps something to improve:

[auto build test WARNING on hnaz-mm/master]

url:    https://github.com/intel-lab-lkp/linux/commits/Catalin-Marinas/mm-arm64-Reduce-ARCH_KMALLOC_MINALIGN-below-the-cache-line-size/20220405-220827
base:   https://github.com/hnaz/linux-mm master
config: riscv-buildonly-randconfig-r004-20220405 (https://download.01.org/0day-ci/archive/20220406/202204061348.mo7QK7AD-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project c4a1b07d0979e7ff20d7d541af666d822d66b566)
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
        # install riscv cross compiling tool for clang build
        # apt-get install binutils-riscv64-linux-gnu
        # https://github.com/intel-lab-lkp/linux/commit/594fc15f21ce6de4d37971f717ff4223ab271823
        git remote add linux-review https://github.com/intel-lab-lkp/linux
        git fetch --no-tags linux-review Catalin-Marinas/mm-arm64-Reduce-ARCH_KMALLOC_MINALIGN-below-the-cache-line-size/20220405-220827
        git checkout 594fc15f21ce6de4d37971f717ff4223ab271823
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=riscv SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>, old ones prefixed by <<):

>> WARNING: modpost: vmlinux.o(.data+0x2836c8): Section mismatch in reference from the variable sctp_prot to the variable .init.text:.LBB19_63
The variable sctp_prot references
the variable __init .LBB19_63
If the reference is valid then annotate the
variable with or __refdata (see linux/init.h) or name the variable:


Note: the below error/warnings can be found in parent commit:
<< WARNING: modpost: vmlinux.o(.text+0xf8244): Section mismatch in reference from the function perf_swevent_set_period() to the function .init.text:set_reset_devices()
<< WARNING: modpost: vmlinux.o(.text+0x18d1e0): Section mismatch in reference from the function generic_update_time() to the function .init.text:set_reset_devices()
<< WARNING: modpost: vmlinux.o(.text+0x29fd22): Section mismatch in reference from the function fat_remove_entries() to the function .init.text:set_reset_devices()
<< WARNING: modpost: vmlinux.o(.text+0x2a46b4): Section mismatch in reference from the function fat_fill_inode() to the function .init.text:set_reset_devices()
<< WARNING: modpost: vmlinux.o(.text+0x2a5e8e): Section mismatch in reference from the function fat_read_root() to the function .init.text:set_reset_devices()
<< WARNING: modpost: vmlinux.o(.text+0x2a7412): Section mismatch in reference from the function fat_update_time() to the function .init.text:set_reset_devices()
<< WARNING: modpost: vmlinux.o(.text+0x2a82ae): Section mismatch in reference from the function msdos_rename() to the function .init.text:set_reset_devices()
<< WARNING: modpost: vmlinux.o(.text+0x2a8a1e): Section mismatch in reference from the function inode_inc_iversion() to the function .init.text:set_reset_devices()
<< WARNING: modpost: vmlinux.o(.text+0x2aa840): Section mismatch in reference from the function exfat_lookup() to the function .init.text:set_reset_devices()
<< WARNING: modpost: vmlinux.o(.text+0x2aacd8): Section mismatch in reference from the function exfat_create() to the function .init.text:set_reset_devices()

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

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

* Re: [PATCH 09/10] mm/slab: Simplify create_kmalloc_cache() args and make it static
  2022-04-06  5:35 ` [PATCH 09/10] mm/slab: Simplify create_kmalloc_cache() args and make it static kernel test robot
@ 2022-04-06  8:57   ` Catalin Marinas
  0 siblings, 0 replies; 2+ messages in thread
From: Catalin Marinas @ 2022-04-06  8:57 UTC (permalink / raw)
  To: kernel test robot; +Cc: llvm, kbuild-all

On Wed, Apr 06, 2022 at 01:35:53PM +0800, kernel test robot wrote:
> Hi Catalin,
> 
> I love your patch! Perhaps something to improve:
> 
> [auto build test WARNING on hnaz-mm/master]
> 
> url:    https://github.com/intel-lab-lkp/linux/commits/Catalin-Marinas/mm-arm64-Reduce-ARCH_KMALLOC_MINALIGN-below-the-cache-line-size/20220405-220827
> base:   https://github.com/hnaz/linux-mm master
> config: riscv-buildonly-randconfig-r004-20220405 (https://download.01.org/0day-ci/archive/20220406/202204061348.mo7QK7AD-lkp@intel.com/config)
> compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project c4a1b07d0979e7ff20d7d541af666d822d66b566)
> 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
>         # install riscv cross compiling tool for clang build
>         # apt-get install binutils-riscv64-linux-gnu
>         # https://github.com/intel-lab-lkp/linux/commit/594fc15f21ce6de4d37971f717ff4223ab271823
>         git remote add linux-review https://github.com/intel-lab-lkp/linux
>         git fetch --no-tags linux-review Catalin-Marinas/mm-arm64-Reduce-ARCH_KMALLOC_MINALIGN-below-the-cache-line-size/20220405-220827
>         git checkout 594fc15f21ce6de4d37971f717ff4223ab271823
>         # save the config file to linux build tree
>         mkdir build_dir
>         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=riscv SHELL=/bin/bash
> 
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <lkp@intel.com>
> 
> All warnings (new ones prefixed by >>, old ones prefixed by <<):
> 
> >> WARNING: modpost: vmlinux.o(.data+0x2836c8): Section mismatch in reference from the variable sctp_prot to the variable .init.text:.LBB19_63
> The variable sctp_prot references
> the variable __init .LBB19_63
> If the reference is valid then annotate the
> variable with or __refdata (see linux/init.h) or name the variable:

Same with the other report, I don't think these are caused by my
patches.

Could you please try the patches again on top of 5.18-rc1?

Thanks.

-- 
Catalin

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

end of thread, other threads:[~2022-04-06  8:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20220405135758.774016-10-catalin.marinas@arm.com>
2022-04-06  5:35 ` [PATCH 09/10] mm/slab: Simplify create_kmalloc_cache() args and make it static kernel test robot
2022-04-06  8:57   ` Catalin Marinas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox