tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: e27090b1413ff236ca1aec26d6b022149115de2c commit: 8aefa036ccd9b3745e8f68c7a78ee4172296462f [16110/16252] Merge patch series "Add support to handle misaligned accesses in S-mode" config: riscv-allyesconfig (https://download.01.org/0day-ci/archive/20231103/202311031648.9xiTejVV-lkp@xxxxxxxxx/config) compiler: riscv64-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231103/202311031648.9xiTejVV-lkp@xxxxxxxxx/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@xxxxxxxxx> | Closes: https://lore.kernel.org/oe-kbuild-all/202311031648.9xiTejVV-lkp@xxxxxxxxx/ All warnings (new ones prefixed by >>): arch/riscv/kernel/smpboot.c: In function 'smp_callin': >> arch/riscv/kernel/smpboot.c:251:32: warning: passing argument 1 of 'check_unaligned_access' makes pointer from integer without a cast [-Wint-conversion] 251 | check_unaligned_access(curr_cpuid); | ^~~~~~~~~~ | | | unsigned int In file included from arch/riscv/include/asm/hwcap.h:73, from arch/riscv/include/asm/alternative.h:19, from arch/riscv/include/asm/errata_list.h:8, from arch/riscv/include/asm/tlbflush.h:12, from arch/riscv/include/asm/pgtable.h:117, from arch/riscv/include/asm/uaccess.h:12, from include/linux/uaccess.h:11, from include/linux/sched/task.h:11, from include/linux/sched/signal.h:9, from include/linux/rcuwait.h:6, from include/linux/percpu-rwsem.h:7, from include/linux/fs.h:33, from include/linux/compat.h:17, from arch/riscv/include/asm/elf.h:12, from include/linux/elf.h:6, from include/linux/module.h:19, from include/linux/device/driver.h:21, from include/linux/device.h:32, from include/linux/acpi.h:14, from arch/riscv/kernel/smpboot.c:11: arch/riscv/include/asm/cpufeature.h:33:34: note: expected 'void *' but argument is of type 'unsigned int' 33 | int check_unaligned_access(void *unused); | ~~~~~~^~~~~~ vim +/check_unaligned_access +251 arch/riscv/kernel/smpboot.c 231 232 /* 233 * C entry point for a secondary processor. 234 */ 235 asmlinkage __visible void smp_callin(void) 236 { 237 struct mm_struct *mm = &init_mm; 238 unsigned int curr_cpuid = smp_processor_id(); 239 240 /* All kernel threads share the same mm context. */ 241 mmgrab(mm); 242 current->active_mm = mm; 243 244 store_cpu_topology(curr_cpuid); 245 notify_cpu_starting(curr_cpuid); 246 247 riscv_ipi_enable(); 248 249 numa_add_cpu(curr_cpuid); 250 set_cpu_online(curr_cpuid, 1); > 251 check_unaligned_access(curr_cpuid); -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki