From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 033E1191F91; Sat, 28 Jun 2025 14:27:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.10 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1751120852; cv=none; b=EVTdITR94560uWaOv6JX5z/zjpu7zUhDDEWXHY7xasHbxGoAKnuDvl+lvcQ0TNPzYBDITpYmDpvVqDStVuGYdYNxJ9h83XqIPmL5Y66ReeIzDz2ff20M6x5WzxB4kVkve6TLL7n/9tN1l8LYOt7vp21GQYx0bYmnTD9nKfj/cfc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1751120852; c=relaxed/simple; bh=VpjJCqQKfQT7xK/qMEl8cpdae5a6ibg0AnZSNl8qGOo=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=L6QIUE8NN140mP2L+5zKeEc9ZZJFq1piKevWUl3VOSuAthLB44dl1/i/Ub+1GzsYR+lAB9mdelFJQBrs15ueVi2x0QE5npWXrSyAMBoDX7oLvElGvgr4f+DLtV90g0rGY6ZxzcANG8U8kk9yhRU+V8DY4+His4zqi4xda3n97FA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=d7NqBb+o; arc=none smtp.client-ip=198.175.65.10 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="d7NqBb+o" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1751120849; x=1782656849; h=date:from:to:cc:subject:message-id:references: mime-version:content-transfer-encoding:in-reply-to; bh=VpjJCqQKfQT7xK/qMEl8cpdae5a6ibg0AnZSNl8qGOo=; b=d7NqBb+obAwAKCV4Xs+pgWPR+FMW3w23GuDsiLTkbtoZhv6jf0bEZ02J kF7scQggBH9AODle/CqQnFI4ieNWThgIXCdlbejCviudffmrDG9U4k2VG GX88KmxCLKTdGns4hc5HTazeQEcOrZcbXGpVJt+Fr/awbdWF795Ld6F8q aukjYRtw+7d0Mg+vh34hwS/uZqPDP0ycjln9UJW7/G1O2tg8lcMg0WGvI AGoDr8ASjDMNo1P0kS2X2i4xUlpSnuWRcv7W9OfsCLX7ByUGjmTjVl0uE 6LsPydpSNZRRjBJgi0L4ym1NMVgGJj7DNSFfBgBnTCd4h5vA7eANIQ+dQ g==; X-CSE-ConnectionGUID: MqIb2bYhRH2M9KCPW9hZoQ== X-CSE-MsgGUID: LYupwuSoR9KmzV5NGvZSgA== X-IronPort-AV: E=McAfee;i="6800,10657,11478"; a="70846323" X-IronPort-AV: E=Sophos;i="6.16,273,1744095600"; d="scan'208";a="70846323" Received: from orviesa004.jf.intel.com ([10.64.159.144]) by orvoesa102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Jun 2025 07:27:28 -0700 X-CSE-ConnectionGUID: DWaEPiyXQgqFo5Up4Uomig== X-CSE-MsgGUID: Ew/vPp4/RtWE73U/S5b8Og== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.16,273,1744095600"; d="scan'208";a="157584160" Received: from lkp-server01.sh.intel.com (HELO e8142ee1dce2) ([10.239.97.150]) by orviesa004.jf.intel.com with ESMTP; 28 Jun 2025 07:27:25 -0700 Received: from kbuild by e8142ee1dce2 with local (Exim 4.96) (envelope-from ) id 1uVWWY-000X6c-1Q; Sat, 28 Jun 2025 14:27:22 +0000 Date: Sat, 28 Jun 2025 22:27:13 +0800 From: kernel test robot To: =?iso-8859-1?Q?Andr=E9?= Almeida , Thomas Gleixner , Ingo Molnar , Peter Zijlstra , Darren Hart , Davidlohr Bueso , Shuah Khan , Arnd Bergmann , Sebastian Andrzej Siewior , Waiman Long Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-api@vger.kernel.org, kernel-dev@igalia.com, =?iso-8859-1?Q?Andr=E9?= Almeida Subject: Re: [PATCH v5 3/7] futex: Use explicit sizes for compat_exit_robust_list Message-ID: <202506282104.ThReVuLD-lkp@intel.com> References: <20250626-tonyk-robust_futex-v5-3-179194dbde8f@igalia.com> Precedence: bulk X-Mailing-List: linux-api@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20250626-tonyk-robust_futex-v5-3-179194dbde8f@igalia.com> Hi André, kernel test robot noticed the following build warnings: [auto build test WARNING on a24cc6ce1933eade12aa2b9859de0fcd2dac2c06] url: https://github.com/intel-lab-lkp/linux/commits/Andr-Almeida/selftests-futex-Add-ASSERT_-macros/20250627-011636 base: a24cc6ce1933eade12aa2b9859de0fcd2dac2c06 patch link: https://lore.kernel.org/r/20250626-tonyk-robust_futex-v5-3-179194dbde8f%40igalia.com patch subject: [PATCH v5 3/7] futex: Use explicit sizes for compat_exit_robust_list config: arm-randconfig-003-20250627 (https://download.01.org/0day-ci/archive/20250628/202506282104.ThReVuLD-lkp@intel.com/config) compiler: clang version 21.0.0git (https://github.com/llvm/llvm-project e04c938cc08a90ae60440ce22d072ebc69d67ee8) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250628/202506282104.ThReVuLD-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 | Closes: https://lore.kernel.org/oe-kbuild-all/202506282104.ThReVuLD-lkp@intel.com/ All warnings (new ones prefixed by >>): In file included from net/sched/sch_qfq.c:13: In file included from include/linux/netdevice.h:44: In file included from include/uapi/linux/neighbour.h:6: In file included from include/linux/netlink.h:9: In file included from include/net/scm.h:13: In file included from include/net/compat.h:8: >> include/linux/compat.h:665:35: warning: declaration of 'struct robust_list_head32' will not be visible outside of this function [-Wvisibility] 665 | compat_sys_set_robust_list(struct robust_list_head32 __user *head, | ^ 1 warning generated. -- In file included from net/sched/sch_multiq.c:15: In file included from include/net/netlink.h:6: In file included from include/linux/netlink.h:9: In file included from include/net/scm.h:13: In file included from include/net/compat.h:8: >> include/linux/compat.h:665:35: warning: declaration of 'struct robust_list_head32' will not be visible outside of this function [-Wvisibility] 665 | compat_sys_set_robust_list(struct robust_list_head32 __user *head, | ^ net/sched/sch_multiq.c:36:6: warning: variable 'err' set but not used [-Wunused-but-set-variable] 36 | int err; | ^ 2 warnings generated. vim +665 include/linux/compat.h 621 622 #ifdef __ARCH_WANT_COMPAT_SYS_PWRITEV64 623 asmlinkage long compat_sys_pwritev64(unsigned long fd, 624 const struct iovec __user *vec, 625 unsigned long vlen, loff_t pos); 626 #endif 627 asmlinkage long compat_sys_sendfile(int out_fd, int in_fd, 628 compat_off_t __user *offset, compat_size_t count); 629 asmlinkage long compat_sys_sendfile64(int out_fd, int in_fd, 630 compat_loff_t __user *offset, compat_size_t count); 631 asmlinkage long compat_sys_pselect6_time32(int n, compat_ulong_t __user *inp, 632 compat_ulong_t __user *outp, 633 compat_ulong_t __user *exp, 634 struct old_timespec32 __user *tsp, 635 void __user *sig); 636 asmlinkage long compat_sys_pselect6_time64(int n, compat_ulong_t __user *inp, 637 compat_ulong_t __user *outp, 638 compat_ulong_t __user *exp, 639 struct __kernel_timespec __user *tsp, 640 void __user *sig); 641 asmlinkage long compat_sys_ppoll_time32(struct pollfd __user *ufds, 642 unsigned int nfds, 643 struct old_timespec32 __user *tsp, 644 const compat_sigset_t __user *sigmask, 645 compat_size_t sigsetsize); 646 asmlinkage long compat_sys_ppoll_time64(struct pollfd __user *ufds, 647 unsigned int nfds, 648 struct __kernel_timespec __user *tsp, 649 const compat_sigset_t __user *sigmask, 650 compat_size_t sigsetsize); 651 asmlinkage long compat_sys_signalfd4(int ufd, 652 const compat_sigset_t __user *sigmask, 653 compat_size_t sigsetsize, int flags); 654 asmlinkage long compat_sys_newfstatat(unsigned int dfd, 655 const char __user *filename, 656 struct compat_stat __user *statbuf, 657 int flag); 658 asmlinkage long compat_sys_newfstat(unsigned int fd, 659 struct compat_stat __user *statbuf); 660 /* No generic prototype for sync_file_range and sync_file_range2 */ 661 asmlinkage long compat_sys_waitid(int, compat_pid_t, 662 struct compat_siginfo __user *, int, 663 struct compat_rusage __user *); 664 asmlinkage long > 665 compat_sys_set_robust_list(struct robust_list_head32 __user *head, 666 compat_size_t len); 667 asmlinkage long 668 compat_sys_get_robust_list(int pid, compat_uptr_t __user *head_ptr, 669 compat_size_t __user *len_ptr); 670 asmlinkage long compat_sys_getitimer(int which, 671 struct old_itimerval32 __user *it); 672 asmlinkage long compat_sys_setitimer(int which, 673 struct old_itimerval32 __user *in, 674 struct old_itimerval32 __user *out); 675 asmlinkage long compat_sys_kexec_load(compat_ulong_t entry, 676 compat_ulong_t nr_segments, 677 struct compat_kexec_segment __user *, 678 compat_ulong_t flags); 679 asmlinkage long compat_sys_timer_create(clockid_t which_clock, 680 struct compat_sigevent __user *timer_event_spec, 681 timer_t __user *created_timer_id); 682 asmlinkage long compat_sys_ptrace(compat_long_t request, compat_long_t pid, 683 compat_long_t addr, compat_long_t data); 684 asmlinkage long compat_sys_sched_setaffinity(compat_pid_t pid, 685 unsigned int len, 686 compat_ulong_t __user *user_mask_ptr); 687 asmlinkage long compat_sys_sched_getaffinity(compat_pid_t pid, 688 unsigned int len, 689 compat_ulong_t __user *user_mask_ptr); 690 asmlinkage long compat_sys_sigaltstack(const compat_stack_t __user *uss_ptr, 691 compat_stack_t __user *uoss_ptr); 692 asmlinkage long compat_sys_rt_sigsuspend(compat_sigset_t __user *unewset, 693 compat_size_t sigsetsize); 694 #ifndef CONFIG_ODD_RT_SIGACTION 695 asmlinkage long compat_sys_rt_sigaction(int, 696 const struct compat_sigaction __user *, 697 struct compat_sigaction __user *, 698 compat_size_t); 699 #endif 700 asmlinkage long compat_sys_rt_sigprocmask(int how, compat_sigset_t __user *set, 701 compat_sigset_t __user *oset, 702 compat_size_t sigsetsize); 703 asmlinkage long compat_sys_rt_sigpending(compat_sigset_t __user *uset, 704 compat_size_t sigsetsize); 705 asmlinkage long compat_sys_rt_sigtimedwait_time32(compat_sigset_t __user *uthese, 706 struct compat_siginfo __user *uinfo, 707 struct old_timespec32 __user *uts, compat_size_t sigsetsize); 708 asmlinkage long compat_sys_rt_sigtimedwait_time64(compat_sigset_t __user *uthese, 709 struct compat_siginfo __user *uinfo, 710 struct __kernel_timespec __user *uts, compat_size_t sigsetsize); 711 asmlinkage long compat_sys_rt_sigqueueinfo(compat_pid_t pid, int sig, 712 struct compat_siginfo __user *uinfo); 713 /* No generic prototype for rt_sigreturn */ 714 asmlinkage long compat_sys_times(struct compat_tms __user *tbuf); 715 asmlinkage long compat_sys_getrlimit(unsigned int resource, 716 struct compat_rlimit __user *rlim); 717 asmlinkage long compat_sys_setrlimit(unsigned int resource, 718 struct compat_rlimit __user *rlim); 719 asmlinkage long compat_sys_getrusage(int who, struct compat_rusage __user *ru); 720 asmlinkage long compat_sys_gettimeofday(struct old_timeval32 __user *tv, 721 struct timezone __user *tz); 722 asmlinkage long compat_sys_settimeofday(struct old_timeval32 __user *tv, 723 struct timezone __user *tz); 724 asmlinkage long compat_sys_sysinfo(struct compat_sysinfo __user *info); 725 asmlinkage long compat_sys_mq_open(const char __user *u_name, 726 int oflag, compat_mode_t mode, 727 struct compat_mq_attr __user *u_attr); 728 asmlinkage long compat_sys_mq_notify(mqd_t mqdes, 729 const struct compat_sigevent __user *u_notification); 730 asmlinkage long compat_sys_mq_getsetattr(mqd_t mqdes, 731 const struct compat_mq_attr __user *u_mqstat, 732 struct compat_mq_attr __user *u_omqstat); 733 asmlinkage long compat_sys_msgctl(int first, int second, void __user *uptr); 734 asmlinkage long compat_sys_msgrcv(int msqid, compat_uptr_t msgp, 735 compat_ssize_t msgsz, compat_long_t msgtyp, int msgflg); 736 asmlinkage long compat_sys_msgsnd(int msqid, compat_uptr_t msgp, 737 compat_ssize_t msgsz, int msgflg); 738 asmlinkage long compat_sys_semctl(int semid, int semnum, int cmd, int arg); 739 asmlinkage long compat_sys_shmctl(int first, int second, void __user *uptr); 740 asmlinkage long compat_sys_shmat(int shmid, compat_uptr_t shmaddr, int shmflg); 741 asmlinkage long compat_sys_recvfrom(int fd, void __user *buf, compat_size_t len, 742 unsigned flags, struct sockaddr __user *addr, 743 int __user *addrlen); 744 asmlinkage long compat_sys_sendmsg(int fd, struct compat_msghdr __user *msg, 745 unsigned flags); 746 asmlinkage long compat_sys_recvmsg(int fd, struct compat_msghdr __user *msg, 747 unsigned int flags); 748 /* No generic prototype for readahead */ 749 asmlinkage long compat_sys_keyctl(u32 option, 750 u32 arg2, u32 arg3, u32 arg4, u32 arg5); 751 asmlinkage long compat_sys_execve(const char __user *filename, const compat_uptr_t __user *argv, 752 const compat_uptr_t __user *envp); 753 /* No generic prototype for fadvise64_64 */ 754 /* CONFIG_MMU only */ 755 asmlinkage long compat_sys_rt_tgsigqueueinfo(compat_pid_t tgid, 756 compat_pid_t pid, int sig, 757 struct compat_siginfo __user *uinfo); 758 asmlinkage long compat_sys_recvmmsg_time64(int fd, struct compat_mmsghdr __user *mmsg, 759 unsigned vlen, unsigned int flags, 760 struct __kernel_timespec __user *timeout); 761 asmlinkage long compat_sys_recvmmsg_time32(int fd, struct compat_mmsghdr __user *mmsg, 762 unsigned vlen, unsigned int flags, 763 struct old_timespec32 __user *timeout); 764 asmlinkage long compat_sys_wait4(compat_pid_t pid, 765 compat_uint_t __user *stat_addr, int options, 766 struct compat_rusage __user *ru); 767 asmlinkage long compat_sys_fanotify_mark(int, unsigned int, __u32, __u32, 768 int, const char __user *); 769 asmlinkage long compat_sys_open_by_handle_at(int mountdirfd, 770 struct file_handle __user *handle, 771 int flags); 772 asmlinkage long compat_sys_sendmmsg(int fd, struct compat_mmsghdr __user *mmsg, 773 unsigned vlen, unsigned int flags); 774 asmlinkage long compat_sys_execveat(int dfd, const char __user *filename, 775 const compat_uptr_t __user *argv, 776 const compat_uptr_t __user *envp, int flags); 777 asmlinkage ssize_t compat_sys_preadv2(compat_ulong_t fd, 778 const struct iovec __user *vec, 779 compat_ulong_t vlen, u32 pos_low, u32 pos_high, rwf_t flags); 780 asmlinkage ssize_t compat_sys_pwritev2(compat_ulong_t fd, 781 const struct iovec __user *vec, 782 compat_ulong_t vlen, u32 pos_low, u32 pos_high, rwf_t flags); 783 #ifdef __ARCH_WANT_COMPAT_SYS_PREADV64V2 784 asmlinkage long compat_sys_preadv64v2(unsigned long fd, 785 const struct iovec __user *vec, 786 unsigned long vlen, loff_t pos, rwf_t flags); 787 #endif 788 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki