From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 79C6BD32D7C for ; Tue, 12 Nov 2024 09:47:26 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 0BF3D8D0010; Tue, 12 Nov 2024 04:47:26 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 01A118D0001; Tue, 12 Nov 2024 04:47:25 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id DAF858D0010; Tue, 12 Nov 2024 04:47:25 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0017.hostedemail.com [216.40.44.17]) by kanga.kvack.org (Postfix) with ESMTP id B57658D0001 for ; Tue, 12 Nov 2024 04:47:25 -0500 (EST) Received: from smtpin26.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay10.hostedemail.com (Postfix) with ESMTP id 796D6C1CAD for ; Tue, 12 Nov 2024 09:47:25 +0000 (UTC) X-FDA: 82776963990.26.16D2C9E Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.16]) by imf19.hostedemail.com (Postfix) with ESMTP id 1CB891A0008 for ; Tue, 12 Nov 2024 09:46:30 +0000 (UTC) Authentication-Results: imf19.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=VUa8Hzzm; dmarc=pass (policy=none) header.from=intel.com; spf=pass (imf19.hostedemail.com: domain of lkp@intel.com designates 198.175.65.16 as permitted sender) smtp.mailfrom=lkp@intel.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1731404714; a=rsa-sha256; cv=none; b=ojy6hVDqYekcp9Orp8I5itGHXF61BIxqHQWEHxOreTO2MWTjBiRS3v+LP74Gs2jHUXoq+c 183rCqfGF4nd7JWs5IrVePQuyG7pwrUCPRjvT3mwHHmp9rwb91uEkwBOC1CcUFfD9pRSFZ 7Ziy578wqTY0d/nckbZF9iflFol/ZYs= ARC-Authentication-Results: i=1; imf19.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=VUa8Hzzm; dmarc=pass (policy=none) header.from=intel.com; spf=pass (imf19.hostedemail.com: domain of lkp@intel.com designates 198.175.65.16 as permitted sender) smtp.mailfrom=lkp@intel.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1731404714; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=JihRMlKWzV19K6kNGefpNA5/gYMS3YpIr0xJcBIy75k=; b=Dl11SIRU0a44kal2OaIOOCP/2lNKHhBIoGRo53WdsRcrX/fmSRg5ZS6L//xsPSK3jQP4VM PYR9XAJ21zyzOcyFUW61qURxoRrJF8SR12LlOnQDytanaRaBUtZtnDMAxzh+3Vn+Tb8TEQ 3euUDZhwubQ0AP+zUd1NgANV+9xiTvw= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1731404843; x=1762940843; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=0UQNzu2yoylWuobadC3WUbMF9p/Em6JuBrZB7HyucUk=; b=VUa8HzzmI7y3AROBnng9bu0wi3wi+192QFZ3mFkPPXOqpFRrTqFBDe3C tHNRHMsOUfX4du1Bwx9TDrlIPjxsa6DbqPG84MfNoMuJxv6oXIsqgU1Gy WDyumBmEhqzdqq85JNNvJt8/LAPEkL0HupO4e4GxAdmZB3g80xvNB0qei Q1lqUrhPUapwl3SItZhNnsiccV5OQbzndafIlIbN1MjzxQd6FJeBsbGW6 GvqDfe11qY92S3YXAvpAhlgOBfNR+xx+WCXt3pSk0VxT64dLOdxuo026i eUYFF1Sxh3t9BfYA8+cTpvIKJkzyxOhCaS/8l1PNfNJA9R/VXlhYhWJat w==; X-CSE-ConnectionGUID: 2NHgxw+DTpC7xM25YVzXiQ== X-CSE-MsgGUID: rwXu42+YRyyVPdMvU0tjQQ== X-IronPort-AV: E=McAfee;i="6700,10204,11222"; a="31383957" X-IronPort-AV: E=Sophos;i="6.11,199,1725346800"; d="scan'208";a="31383957" Received: from orviesa005.jf.intel.com ([10.64.159.145]) by orvoesa108.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Nov 2024 01:47:19 -0800 X-CSE-ConnectionGUID: pikEPHG3Tn++GpNCZJPLQg== X-CSE-MsgGUID: uCP6iulXQL6ohMeG68rL0g== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.12,147,1728975600"; d="scan'208";a="92318218" Received: from lkp-server01.sh.intel.com (HELO bcfed0da017c) ([10.239.97.150]) by orviesa005.jf.intel.com with ESMTP; 12 Nov 2024 01:47:12 -0800 Received: from kbuild by bcfed0da017c with local (Exim 4.96) (envelope-from ) id 1tAnUL-0000gb-0i; Tue, 12 Nov 2024 09:47:09 +0000 Date: Tue, 12 Nov 2024 17:47:05 +0800 From: kernel test robot To: Suren Baghdasaryan , akpm@linux-foundation.org Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, willy@infradead.org, liam.howlett@oracle.com, lorenzo.stoakes@oracle.com, mhocko@suse.com, vbabka@suse.cz, hannes@cmpxchg.org, mjguzik@gmail.com, oliver.sang@intel.com, mgorman@techsingularity.net, david@redhat.com, peterx@redhat.com, oleg@redhat.com, dave@stgolabs.net, paulmck@kernel.org, brauner@kernel.org, dhowells@redhat.com, hdanton@sina.com, hughd@google.com, minchan@google.com, jannh@google.com, shakeel.butt@linux.dev, souravpanda@google.com, pasha.tatashin@soleen.com, linux-mm@kvack.org, linux-kernel@vger.kernel.org, kernel-team@android.com, surenb@google.com Subject: Re: [PATCH 2/4] mm: move per-vma lock into vm_area_struct Message-ID: <202411121745.VmaDStMg-lkp@intel.com> References: <20241111205506.3404479-3-surenb@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20241111205506.3404479-3-surenb@google.com> X-Rspamd-Queue-Id: 1CB891A0008 X-Stat-Signature: 7s58xst76wnw6a7u3iok7fho89tdr5qr X-Rspam-User: X-Rspamd-Server: rspam05 X-HE-Tag: 1731404790-674208 X-HE-Meta: U2FsdGVkX1/YdXMg4teBwu/bmQUu5yZukI0PK9K4jYVtnprvLHRvQrvLX+wZMEEhMe4piiovZneRt6xE2H3lPit1dYvnwbP2qxl19Ts3Nx5jhvdXzxUUH61xK9TXoRnUGKdBJOeIxqXHgET1BSoPGUJP6BEOW5/FlXj7zMLyZsanCWsB1NqMrRoYCbCTgGW0vFTcgDeTC2I9+NF5BXEnqPcqjBMt7w1aIQOHBTVbTeMkWzg6gv9lhrsmNxmSTAWLy0JasVre9Uop/gsvcSY+Xo1er6pu+OlG1Ne+Y8hOs+XqmeaasJVYwShaUK6Pn5se+XrGjbg0GplkMXCCtg4jSesbHzSN9ulRaHviggfr7tQ6N9jMUk47V88ePC6umbKh0gRbe5BTl8TWHW4MYJNnf+xOi4mts7dnGFEgINKsdEaleYdAEerdfTQZrD8EjBNi/9wCSgNZaPpNJdd/ibmoZIEeARKnZF+6If2Ezh59P7cB43zr1eHH/An5GcwFXl+Xdy2nf/n2G2J8PxvZ6hkXXK10vBSsoW/jDvXaaoxJ+hNSLomNn2zKRrkZ+64CLV5xkJn7VLuNp/FeC7jnV5oNbp85kdi5Sg5bhV0CDpiABR7TBM19QcSKB3BMxEr9Kghja7LTd2l7fEugSTvBHlVFP3AvlmkrJ9s173htcgcysx2kf23nRFmfZxRq6wbpgZ8Aztpz8oBMMcFqphP9Ml5L5BqXKwXJ4U2up1+2XNGylX6ws3cI4C1rFOGUaeO4dU+7ut4OmzTqXnthJDwW0GpUvNjJWKvoKVUJqtNs2SKHYrv21r/K8xlFPqEiQ1ZUqi097vWbM9uOKzDCUpxCR0UIOWgMmsqSAXm3f07hh5HBXURgxTkm6VWnWGR4Y5Odd/cQSWWHTdhPEcWSOyKG9JtjHMpbYm+YevnCL7zbY3Fg4YsWMKzLKnKEqgy2HD+rCLOGOB2pTgF8KG31pz/bz2P DI8lCLxI tf4HEIytfrvAyn7aiAiVII+c3RsvZZgJM2pOMUJh8yWf1YBWlrLIqybhW9SJCHvQxgpAanDZ5U9NQEJQ80CWkIcjI/Pno0fDCf0zLKAJhM3Gg9FE3pMf2Rl2ATlKUljfGglz92aHtQfgMisgVA1b9K/mbkks+dOEyzYK6d5AL1WDt/xO6EGwOgPLLMmHFghxwkPo4VU/WwrsG1bPYP4xlQftrnS+HEGcc06ZCr7d9tTEJr+GNXYIEY965vr/ehZ5L9dhp8qYLMn9s/bYAWQ610UvCIgrOnAee+qNGtP9AmXxZ5FlGEHlU1RvKko3E4LXE+gwrUtzM5+PQPBxvpwzbJDJTAo9HwghzzFJ47bCjh/+Ipd0SiYym4W436dMpo+UICdE9abDbxj9uCAYkKBzmhPIvTA== X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: Hi Suren, kernel test robot noticed the following build errors: [auto build test ERROR on 931086f2a88086319afb57cd3925607e8cda0a9f] url: https://github.com/intel-lab-lkp/linux/commits/Suren-Baghdasaryan/mm-introduce-vma_start_read_locked-_nested-helpers/20241112-050531 base: 931086f2a88086319afb57cd3925607e8cda0a9f patch link: https://lore.kernel.org/r/20241111205506.3404479-3-surenb%40google.com patch subject: [PATCH 2/4] mm: move per-vma lock into vm_area_struct config: um-x86_64_defconfig (https://download.01.org/0day-ci/archive/20241112/202411121745.VmaDStMg-lkp@intel.com/config) compiler: clang version 15.0.7 (https://github.com/llvm/llvm-project 8dfdcc7b7bf66834a761bd8de445840ef68e4d1a) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241112/202411121745.VmaDStMg-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/202411121745.VmaDStMg-lkp@intel.com/ All errors (new ones prefixed by >>): In file included from ipc/util.c:47: >> include/linux/mm.h:877:2: error: call to undeclared function 'vma_lock_init'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] vma_lock_init(&vma->vm_lock); ^ include/linux/mm.h:877:2: note: did you mean 'osq_lock_init'? include/linux/osq_lock.h:23:20: note: 'osq_lock_init' declared here static inline void osq_lock_init(struct optimistic_spin_queue *lock) ^ In file included from ipc/util.c:47: include/linux/mm.h:877:22: error: no member named 'vm_lock' in 'struct vm_area_struct' vma_lock_init(&vma->vm_lock); ~~~ ^ include/linux/mm.h:878:7: error: no member named 'vm_lock_seq' in 'struct vm_area_struct' vma->vm_lock_seq = UINT_MAX; ~~~ ^ In file included from ipc/util.c:47: In file included from include/linux/mm.h:1143: In file included from include/linux/huge_mm.h:7: In file included from include/linux/fs.h:33: In file included from include/linux/percpu-rwsem.h:7: In file included from include/linux/rcuwait.h:6: In file included from include/linux/sched/signal.h:6: include/linux/signal.h:98:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return (set->sig[3] | set->sig[2] | ^ ~ arch/x86/include/asm/signal.h:24:2: note: array 'sig' declared here unsigned long sig[_NSIG_WORDS]; ^ In file included from ipc/util.c:47: In file included from include/linux/mm.h:1143: In file included from include/linux/huge_mm.h:7: In file included from include/linux/fs.h:33: In file included from include/linux/percpu-rwsem.h:7: In file included from include/linux/rcuwait.h:6: In file included from include/linux/sched/signal.h:6: include/linux/signal.h:98:25: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return (set->sig[3] | set->sig[2] | ^ ~ arch/x86/include/asm/signal.h:24:2: note: array 'sig' declared here unsigned long sig[_NSIG_WORDS]; ^ In file included from ipc/util.c:47: In file included from include/linux/mm.h:1143: In file included from include/linux/huge_mm.h:7: In file included from include/linux/fs.h:33: In file included from include/linux/percpu-rwsem.h:7: In file included from include/linux/rcuwait.h:6: In file included from include/linux/sched/signal.h:6: include/linux/signal.h:99:4: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] set->sig[1] | set->sig[0]) == 0; ^ ~ arch/x86/include/asm/signal.h:24:2: note: array 'sig' declared here unsigned long sig[_NSIG_WORDS]; ^ In file included from ipc/util.c:47: In file included from include/linux/mm.h:1143: In file included from include/linux/huge_mm.h:7: In file included from include/linux/fs.h:33: In file included from include/linux/percpu-rwsem.h:7: In file included from include/linux/rcuwait.h:6: In file included from include/linux/sched/signal.h:6: include/linux/signal.h:101:11: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return (set->sig[1] | set->sig[0]) == 0; ^ ~ arch/x86/include/asm/signal.h:24:2: note: array 'sig' declared here unsigned long sig[_NSIG_WORDS]; ^ In file included from ipc/util.c:47: In file included from include/linux/mm.h:1143: In file included from include/linux/huge_mm.h:7: In file included from include/linux/fs.h:33: In file included from include/linux/percpu-rwsem.h:7: In file included from include/linux/rcuwait.h:6: In file included from include/linux/sched/signal.h:6: include/linux/signal.h:114:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return (set1->sig[3] == set2->sig[3]) && ^ ~ arch/x86/include/asm/signal.h:24:2: note: array 'sig' declared here unsigned long sig[_NSIG_WORDS]; ^ In file included from ipc/util.c:47: In file included from include/linux/mm.h:1143: In file included from include/linux/huge_mm.h:7: In file included from include/linux/fs.h:33: In file included from include/linux/percpu-rwsem.h:7: In file included from include/linux/rcuwait.h:6: In file included from include/linux/sched/signal.h:6: include/linux/signal.h:114:27: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return (set1->sig[3] == set2->sig[3]) && ^ ~ arch/x86/include/asm/signal.h:24:2: note: array 'sig' declared here unsigned long sig[_NSIG_WORDS]; ^ In file included from ipc/util.c:47: In file included from include/linux/mm.h:1143: In file included from include/linux/huge_mm.h:7: In file included from include/linux/fs.h:33: In file included from include/linux/percpu-rwsem.h:7: In file included from include/linux/rcuwait.h:6: In file included from include/linux/sched/signal.h:6: include/linux/signal.h:115:5: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] (set1->sig[2] == set2->sig[2]) && -- In file included from ipc/msgutil.c:9: In file included from include/linux/security.h:33: >> include/linux/mm.h:877:2: error: call to undeclared function 'vma_lock_init'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] vma_lock_init(&vma->vm_lock); ^ include/linux/mm.h:877:2: note: did you mean 'osq_lock_init'? include/linux/osq_lock.h:23:20: note: 'osq_lock_init' declared here static inline void osq_lock_init(struct optimistic_spin_queue *lock) ^ In file included from ipc/msgutil.c:9: In file included from include/linux/security.h:33: include/linux/mm.h:877:22: error: no member named 'vm_lock' in 'struct vm_area_struct' vma_lock_init(&vma->vm_lock); ~~~ ^ include/linux/mm.h:878:7: error: no member named 'vm_lock_seq' in 'struct vm_area_struct' vma->vm_lock_seq = UINT_MAX; ~~~ ^ In file included from ipc/msgutil.c:9: In file included from include/linux/security.h:35: In file included from include/linux/bpf.h:31: In file included from include/linux/memcontrol.h:13: In file included from include/linux/cgroup.h:26: In file included from include/linux/kernel_stat.h:8: In file included from include/linux/interrupt.h:11: In file included from include/linux/hardirq.h:11: In file included from arch/um/include/asm/hardirq.h:5: In file included from include/asm-generic/hardirq.h:17: In file included from include/linux/irq.h:20: In file included from include/linux/io.h:14: In file included from arch/um/include/asm/io.h:24: include/asm-generic/io.h:548:31: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] val = __raw_readb(PCI_IOBASE + addr); ~~~~~~~~~~ ^ include/asm-generic/io.h:561:61: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] val = __le16_to_cpu((__le16 __force)__raw_readw(PCI_IOBASE + addr)); ~~~~~~~~~~ ^ include/uapi/linux/byteorder/little_endian.h:37:51: note: expanded from macro '__le16_to_cpu' #define __le16_to_cpu(x) ((__force __u16)(__le16)(x)) ^ In file included from ipc/msgutil.c:9: In file included from include/linux/security.h:35: In file included from include/linux/bpf.h:31: In file included from include/linux/memcontrol.h:13: In file included from include/linux/cgroup.h:26: In file included from include/linux/kernel_stat.h:8: In file included from include/linux/interrupt.h:11: In file included from include/linux/hardirq.h:11: In file included from arch/um/include/asm/hardirq.h:5: In file included from include/asm-generic/hardirq.h:17: In file included from include/linux/irq.h:20: In file included from include/linux/io.h:14: In file included from arch/um/include/asm/io.h:24: include/asm-generic/io.h:574:61: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] val = __le32_to_cpu((__le32 __force)__raw_readl(PCI_IOBASE + addr)); ~~~~~~~~~~ ^ include/uapi/linux/byteorder/little_endian.h:35:51: note: expanded from macro '__le32_to_cpu' #define __le32_to_cpu(x) ((__force __u32)(__le32)(x)) ^ In file included from ipc/msgutil.c:9: In file included from include/linux/security.h:35: In file included from include/linux/bpf.h:31: In file included from include/linux/memcontrol.h:13: In file included from include/linux/cgroup.h:26: In file included from include/linux/kernel_stat.h:8: In file included from include/linux/interrupt.h:11: In file included from include/linux/hardirq.h:11: In file included from arch/um/include/asm/hardirq.h:5: In file included from include/asm-generic/hardirq.h:17: In file included from include/linux/irq.h:20: In file included from include/linux/io.h:14: In file included from arch/um/include/asm/io.h:24: include/asm-generic/io.h:585:33: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] __raw_writeb(value, PCI_IOBASE + addr); ~~~~~~~~~~ ^ include/asm-generic/io.h:595:59: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] __raw_writew((u16 __force)cpu_to_le16(value), PCI_IOBASE + addr); ~~~~~~~~~~ ^ include/asm-generic/io.h:605:59: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] __raw_writel((u32 __force)cpu_to_le32(value), PCI_IOBASE + addr); ~~~~~~~~~~ ^ include/asm-generic/io.h:693:20: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] readsb(PCI_IOBASE + addr, buffer, count); ~~~~~~~~~~ ^ include/asm-generic/io.h:701:20: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] readsw(PCI_IOBASE + addr, buffer, count); ~~~~~~~~~~ ^ include/asm-generic/io.h:709:20: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] readsl(PCI_IOBASE + addr, buffer, count); ~~~~~~~~~~ ^ include/asm-generic/io.h:718:21: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] writesb(PCI_IOBASE + addr, buffer, count); ~~~~~~~~~~ ^ include/asm-generic/io.h:727:21: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] writesw(PCI_IOBASE + addr, buffer, count); ~~~~~~~~~~ ^ include/asm-generic/io.h:736:21: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] writesl(PCI_IOBASE + addr, buffer, count); ~~~~~~~~~~ ^ 12 warnings and 3 errors generated. -- In file included from ipc/msg.c:30: >> include/linux/mm.h:877:2: error: call to undeclared function 'vma_lock_init'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] vma_lock_init(&vma->vm_lock); ^ include/linux/mm.h:877:2: note: did you mean 'osq_lock_init'? include/linux/osq_lock.h:23:20: note: 'osq_lock_init' declared here static inline void osq_lock_init(struct optimistic_spin_queue *lock) ^ In file included from ipc/msg.c:30: include/linux/mm.h:877:22: error: no member named 'vm_lock' in 'struct vm_area_struct' vma_lock_init(&vma->vm_lock); ~~~ ^ include/linux/mm.h:878:7: error: no member named 'vm_lock_seq' in 'struct vm_area_struct' vma->vm_lock_seq = UINT_MAX; ~~~ ^ In file included from ipc/msg.c:30: In file included from include/linux/mm.h:1143: In file included from include/linux/huge_mm.h:7: In file included from include/linux/fs.h:33: In file included from include/linux/percpu-rwsem.h:7: In file included from include/linux/rcuwait.h:6: In file included from include/linux/sched/signal.h:6: include/linux/signal.h:98:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return (set->sig[3] | set->sig[2] | ^ ~ arch/x86/include/asm/signal.h:24:2: note: array 'sig' declared here unsigned long sig[_NSIG_WORDS]; ^ In file included from ipc/msg.c:30: In file included from include/linux/mm.h:1143: In file included from include/linux/huge_mm.h:7: In file included from include/linux/fs.h:33: In file included from include/linux/percpu-rwsem.h:7: In file included from include/linux/rcuwait.h:6: In file included from include/linux/sched/signal.h:6: include/linux/signal.h:98:25: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return (set->sig[3] | set->sig[2] | ^ ~ arch/x86/include/asm/signal.h:24:2: note: array 'sig' declared here unsigned long sig[_NSIG_WORDS]; ^ In file included from ipc/msg.c:30: In file included from include/linux/mm.h:1143: In file included from include/linux/huge_mm.h:7: In file included from include/linux/fs.h:33: In file included from include/linux/percpu-rwsem.h:7: In file included from include/linux/rcuwait.h:6: In file included from include/linux/sched/signal.h:6: include/linux/signal.h:99:4: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] set->sig[1] | set->sig[0]) == 0; ^ ~ arch/x86/include/asm/signal.h:24:2: note: array 'sig' declared here unsigned long sig[_NSIG_WORDS]; ^ In file included from ipc/msg.c:30: In file included from include/linux/mm.h:1143: In file included from include/linux/huge_mm.h:7: In file included from include/linux/fs.h:33: In file included from include/linux/percpu-rwsem.h:7: In file included from include/linux/rcuwait.h:6: In file included from include/linux/sched/signal.h:6: include/linux/signal.h:101:11: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return (set->sig[1] | set->sig[0]) == 0; ^ ~ arch/x86/include/asm/signal.h:24:2: note: array 'sig' declared here unsigned long sig[_NSIG_WORDS]; ^ In file included from ipc/msg.c:30: In file included from include/linux/mm.h:1143: In file included from include/linux/huge_mm.h:7: In file included from include/linux/fs.h:33: In file included from include/linux/percpu-rwsem.h:7: In file included from include/linux/rcuwait.h:6: In file included from include/linux/sched/signal.h:6: include/linux/signal.h:114:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return (set1->sig[3] == set2->sig[3]) && ^ ~ arch/x86/include/asm/signal.h:24:2: note: array 'sig' declared here unsigned long sig[_NSIG_WORDS]; ^ In file included from ipc/msg.c:30: In file included from include/linux/mm.h:1143: In file included from include/linux/huge_mm.h:7: In file included from include/linux/fs.h:33: In file included from include/linux/percpu-rwsem.h:7: In file included from include/linux/rcuwait.h:6: In file included from include/linux/sched/signal.h:6: include/linux/signal.h:114:27: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return (set1->sig[3] == set2->sig[3]) && ^ ~ arch/x86/include/asm/signal.h:24:2: note: array 'sig' declared here unsigned long sig[_NSIG_WORDS]; ^ In file included from ipc/msg.c:30: In file included from include/linux/mm.h:1143: In file included from include/linux/huge_mm.h:7: In file included from include/linux/fs.h:33: In file included from include/linux/percpu-rwsem.h:7: In file included from include/linux/rcuwait.h:6: In file included from include/linux/sched/signal.h:6: include/linux/signal.h:115:5: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] (set1->sig[2] == set2->sig[2]) && .. vim +/vma_lock_init +877 include/linux/mm.h 868 869 static inline void vma_init(struct vm_area_struct *vma, struct mm_struct *mm) 870 { 871 memset(vma, 0, sizeof(*vma)); 872 vma->vm_mm = mm; 873 vma->vm_ops = &vma_dummy_vm_ops; 874 INIT_LIST_HEAD(&vma->anon_vma_chain); 875 vma_mark_detached(vma, false); 876 vma_numab_state_init(vma); > 877 vma_lock_init(&vma->vm_lock); 878 vma->vm_lock_seq = UINT_MAX; 879 } 880 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki