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 56ED1C3DA7F for ; Wed, 31 Jul 2024 09:55:41 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id CDF8F6B0082; Wed, 31 Jul 2024 05:55:40 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id C8DC46B0083; Wed, 31 Jul 2024 05:55:40 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id B2E966B0085; Wed, 31 Jul 2024 05:55:40 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0014.hostedemail.com [216.40.44.14]) by kanga.kvack.org (Postfix) with ESMTP id 8C4226B0082 for ; Wed, 31 Jul 2024 05:55:40 -0400 (EDT) Received: from smtpin14.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay07.hostedemail.com (Postfix) with ESMTP id 2F83B16020C for ; Wed, 31 Jul 2024 09:55:40 +0000 (UTC) X-FDA: 82399590840.14.14FDDC0 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.19]) by imf22.hostedemail.com (Postfix) with ESMTP id BFFAFC0023 for ; Wed, 31 Jul 2024 09:55:36 +0000 (UTC) Authentication-Results: imf22.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=HqhrG+gH; spf=pass (imf22.hostedemail.com: domain of lkp@intel.com designates 192.198.163.19 as permitted sender) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1722419683; 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=Odr2g86alyan2GIj9sM3NqPF9lsqVxa9OYqIdeU1qRE=; b=yLcHIRUD28gI43HJ0Tu5oM04zfEKrSkgAUEW/uGXYJnsOx8JJj2pSubLZas+u6miFMhWKj LCQMN71dnjwP4SKcsmzy2F+0oI7MaKSmHrOYHTScgLF/hZhzmVbakpki4TWoGiEsjDmLnW iKsWedd/+8whQIY38PRUEGEooLzFYM8= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1722419683; a=rsa-sha256; cv=none; b=FzELtZFYzsKyzM15Nlk7txbA3VpeDMMaVmNodZEh1kN6gT9OKXFifnAPEttX/KY356Eagr EfNZ1HEec1UwafStcopdoJKfYfd5vsncA/ONP1oHq5gY2S8D2KpGUAoJV7hbmQvlJTLmOe W72Tvox+9bNOiBXOpWIYhRLm2p4MKyY= ARC-Authentication-Results: i=1; imf22.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=HqhrG+gH; spf=pass (imf22.hostedemail.com: domain of lkp@intel.com designates 192.198.163.19 as permitted sender) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1722419737; x=1753955737; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=NZiQ96yH/XbzaJcguLiVgQDXACBxZBeSKgIFxc/b5i8=; b=HqhrG+gHvUt+H0VjeAO76B8Rk6o/Bqw2CKDCb2xRMoUF9e1aMOGWL7Av lze7oGWsx+1yBV3q9ldPYVaRTwyJnxzypdbs+z0qxcreQpiOanP8vUZkw OW3fzgK1DCx8HFLphG+YnaGGILFAZy9itLZmjUDnBstjiBWNE7DeGQTIP JNfyF/koGW7uHuNMApJcs/c08QgvIgstE6BPfOYL7cSaxzhyIzq7h8SoP d74sV1EUhVOvNuXeIcus2Bfj4SjZtCP98YKnPqIkAYNO5hNK66EuMI4+G j6qoaGVs+3qO8SKTDzyW1Z7eG6y2MuuXJwIYiXdLQnYkV1X1I2ipgqVJN g==; X-CSE-ConnectionGUID: tLiOKCC3Si6AZWyu5d8Pjw== X-CSE-MsgGUID: AwdoLIp0T724in+JN7oSwQ== X-IronPort-AV: E=McAfee;i="6700,10204,11149"; a="19980365" X-IronPort-AV: E=Sophos;i="6.09,251,1716274800"; d="scan'208";a="19980365" Received: from fmviesa006.fm.intel.com ([10.60.135.146]) by fmvoesa113.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 Jul 2024 02:55:35 -0700 X-CSE-ConnectionGUID: 08yzgvntRdKLkdAKnIlFsA== X-CSE-MsgGUID: lJx5Y85qSHyNjZ/vpV6aqg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.09,251,1716274800"; d="scan'208";a="54324690" Received: from lkp-server01.sh.intel.com (HELO 68891e0c336b) ([10.239.97.150]) by fmviesa006.fm.intel.com with ESMTP; 31 Jul 2024 02:55:30 -0700 Received: from kbuild by 68891e0c336b with local (Exim 4.96) (envelope-from ) id 1sZ63L-000u6q-2z; Wed, 31 Jul 2024 09:55:27 +0000 Date: Wed, 31 Jul 2024 17:55:24 +0800 From: kernel test robot To: Zhiguo Jiang , Andrew Morton , linux-kernel@vger.kernel.org, Will Deacon , "Aneesh Kumar K.V" , Nick Piggin , Peter Zijlstra , Arnd Bergmann , Johannes Weiner , Michal Hocko , Roman Gushchin , Shakeel Butt , Muchun Song , linux-arch@vger.kernel.org, cgroups@vger.kernel.org, Barry Song <21cnbao@gmail.com> Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, Linux Memory Management List , opensource.kernel@vivo.com Subject: Re: [PATCH 2/2] mm: tlb: add tlb swap entries batch async release Message-ID: <202407311703.8q8sDQ2p-lkp@intel.com> References: <20240730114426.511-3-justinjiang@vivo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240730114426.511-3-justinjiang@vivo.com> X-Rspamd-Queue-Id: BFFAFC0023 X-Stat-Signature: iti1dzbhwaodap4i6rgbi7r48wb8fbfo X-Rspamd-Server: rspam09 X-Rspam-User: X-HE-Tag: 1722419736-148500 X-HE-Meta: U2FsdGVkX1/1y8wDF7rTBJobMXcCroZYtT6kXvVTPZHGGF9qcFfqnxbzefrCMWD/NM27Q6r0gmFsC7t0fgPWa76V1v2DmaWtlO75fonDpUWsoIcE0LF81M2D3r1Gr7dpz/kCl8BLBjeNrw01R+W4QL3xtXJoFIbjvHnNUNqmGLsfcRvnH+jylfVSe90WkevxzqvmtT1LABkuIVvLmiQzmtX0buTaIjo1hIOpIkc9gUY9jQuAiiQgtBMgHmDFl6xgoTpmdT6grJS2FbcCdDDIesOdXKwRU2o7KRGAKuths/UVV9dyc/RJOUhlN/hyUAVtBno48wR3DYewMzxWSDnr6l38wE4jfR6GAOMl2EH9YZYOQldrLqh8knWgOezkZSSM6aYI9egWppjD4RSKMu6CJbFJyJSxvR0CAue+GQpUqIhKd7cPCSz5uLlWdANWkjdM/mBnA3Q3nUOJEoFX4wNnDcsfskRHiRMeT+Pr60xhpKDlpPETaC15gumok3JPhRlat5klE1nC0bpt/Ey3Dx7A56ZN8y7wZJ62P/rM6h/ihpEBVlEZtDzcHMXyntIvsoPnqzJDR01VHp231i9/l69gkKJvib3LpCANmNQChtZuuC531y1YBeZ4YRqRX/Ri79rgXemI8QJOOdjgW1pksTozZZ9V3tWLq1Lq6xWpmhgP/YUSOHZQeMHvmdZk0LtHr3ZFH4sIJGMyEpE66OT+vdQfiM4LJJe5RsWdO+wD/HwpOTQknoINXVjlVI1rx0nkxq95830lY0X59wXZC4aIThf3zGai1LevYKgmrIEOH6qcpKnjMULv0erq/GHWyv/N82QiFJgvFNEiBW51AZwvP4DXNXI90bXXVYLmB035Gon31z4IMC0yfI0hWQgkTGmlfkeK3YAIc3fJtIJvor8iCwSxNfhxwzWrlnLUc9Sj2HaBZCN64MYKmHQmMFnItmILxFrolvLosC+esvPOWYIOxar Zl9r3Hi8 4Dl/RWz+FrfYgqmlttl6LIRPwxg8A2H9QaYk+brn7ombCFXZUMwNe9HPWFscmVSvxMesjYh/bWwK1NCi4iSG+6P2Nm6V1fZ2DuVwerW/AoIpSk3ZCALNFL0zaOpUUppRdsAildCnAJFa2aevhuHXmckMwsfq6dSkS3GPrDGvZNWsac/bXuHbG5b7t59zdCS9/zi2cdbKHsBkQEutMBjG3MzIYtHu0+Hci0SC8Uml7qemDZOeBHHCgAkTqsoRd7ntFmIPNq+/FhhpQ3sLKxEuMJ3ZM0VSC89cvZrEu9yM2cT9L6oZOYv3Dj7rOqYFK24OvnwrAGhwGzinIjvwLkRLyL6bB5hr43zlxMu7Da0WPXnB2Zwwl6dJyPIdKU2OhCPAsutbPpN1lv2O4ScLzTWFmOyUqSQ== 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 Zhiguo, kernel test robot noticed the following build errors: [auto build test ERROR on akpm-mm/mm-everything] url: https://github.com/intel-lab-lkp/linux/commits/Zhiguo-Jiang/mm-move-task_is_dying-to-h-headfile/20240730-215136 base: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-everything patch link: https://lore.kernel.org/r/20240730114426.511-3-justinjiang%40vivo.com patch subject: [PATCH 2/2] mm: tlb: add tlb swap entries batch async release config: s390-allnoconfig (https://download.01.org/0day-ci/archive/20240731/202407311703.8q8sDQ2p-lkp@intel.com/config) compiler: clang version 20.0.0git (https://github.com/llvm/llvm-project ccae7b461be339e717d02f99ac857cf0bc7d17fc) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240731/202407311703.8q8sDQ2p-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/202407311703.8q8sDQ2p-lkp@intel.com/ All error/warnings (new ones prefixed by >>): In file included from arch/s390/mm/init.c:17: In file included from include/linux/ptrace.h:10: In file included from include/linux/pid_namespace.h:7: In file included from include/linux/mm.h:2234: include/linux/vmstat.h:514:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion] 514 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_" | ~~~~~~~~~~~ ^ ~~~ In file included from arch/s390/mm/init.c:25: In file included from include/linux/memblock.h:13: In file included from arch/s390/include/asm/dma.h:5: In file included from include/linux/io.h:14: In file included from arch/s390/include/asm/io.h:93: include/asm-generic/io.h:548:31: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] 548 | 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] 561 | val = __le16_to_cpu((__le16 __force)__raw_readw(PCI_IOBASE + addr)); | ~~~~~~~~~~ ^ include/uapi/linux/byteorder/big_endian.h:37:59: note: expanded from macro '__le16_to_cpu' 37 | #define __le16_to_cpu(x) __swab16((__force __u16)(__le16)(x)) | ^ include/uapi/linux/swab.h:102:54: note: expanded from macro '__swab16' 102 | #define __swab16(x) (__u16)__builtin_bswap16((__u16)(x)) | ^ In file included from arch/s390/mm/init.c:25: In file included from include/linux/memblock.h:13: In file included from arch/s390/include/asm/dma.h:5: In file included from include/linux/io.h:14: In file included from arch/s390/include/asm/io.h:93: include/asm-generic/io.h:574:61: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] 574 | val = __le32_to_cpu((__le32 __force)__raw_readl(PCI_IOBASE + addr)); | ~~~~~~~~~~ ^ include/uapi/linux/byteorder/big_endian.h:35:59: note: expanded from macro '__le32_to_cpu' 35 | #define __le32_to_cpu(x) __swab32((__force __u32)(__le32)(x)) | ^ include/uapi/linux/swab.h:115:54: note: expanded from macro '__swab32' 115 | #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) | ^ In file included from arch/s390/mm/init.c:25: In file included from include/linux/memblock.h:13: In file included from arch/s390/include/asm/dma.h:5: In file included from include/linux/io.h:14: In file included from arch/s390/include/asm/io.h:93: include/asm-generic/io.h:585:33: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] 585 | __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] 595 | __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] 605 | __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] 693 | 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] 701 | 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] 709 | 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] 718 | 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] 727 | 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] 736 | writesl(PCI_IOBASE + addr, buffer, count); | ~~~~~~~~~~ ^ In file included from arch/s390/mm/init.c:42: In file included from arch/s390/include/asm/tlb.h:39: >> include/asm-generic/tlb.h:327:6: warning: no previous prototype for function '__tlb_remove_swap_entries' [-Wmissing-prototypes] 327 | bool __tlb_remove_swap_entries(struct mmu_gather *tlb, | ^ include/asm-generic/tlb.h:327:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 327 | bool __tlb_remove_swap_entries(struct mmu_gather *tlb, | ^ | static 14 warnings generated. -- In file included from arch/s390/mm/pgtable.c:11: In file included from include/linux/mm.h:2234: include/linux/vmstat.h:514:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion] 514 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_" | ~~~~~~~~~~~ ^ ~~~ In file included from arch/s390/mm/pgtable.c:22: In file included from arch/s390/include/asm/tlb.h:39: >> include/asm-generic/tlb.h:327:6: warning: no previous prototype for function '__tlb_remove_swap_entries' [-Wmissing-prototypes] 327 | bool __tlb_remove_swap_entries(struct mmu_gather *tlb, | ^ include/asm-generic/tlb.h:327:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 327 | bool __tlb_remove_swap_entries(struct mmu_gather *tlb, | ^ | static 2 warnings generated. -- In file included from mm/memory.c:44: In file included from include/linux/mm.h:2234: include/linux/vmstat.h:514:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion] 514 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_" | ~~~~~~~~~~~ ^ ~~~ In file included from mm/memory.c:45: include/linux/mm_inline.h:47:41: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion] 47 | __mod_lruvec_state(lruvec, NR_LRU_BASE + lru, nr_pages); | ~~~~~~~~~~~ ^ ~~~ include/linux/mm_inline.h:49:22: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum lru_list') [-Wenum-enum-conversion] 49 | NR_ZONE_LRU_BASE + lru, nr_pages); | ~~~~~~~~~~~~~~~~ ^ ~~~ In file included from mm/memory.c:84: In file included from arch/s390/include/asm/io.h:93: include/asm-generic/io.h:548:31: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] 548 | 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] 561 | val = __le16_to_cpu((__le16 __force)__raw_readw(PCI_IOBASE + addr)); | ~~~~~~~~~~ ^ include/uapi/linux/byteorder/big_endian.h:37:59: note: expanded from macro '__le16_to_cpu' 37 | #define __le16_to_cpu(x) __swab16((__force __u16)(__le16)(x)) | ^ include/uapi/linux/swab.h:102:54: note: expanded from macro '__swab16' 102 | #define __swab16(x) (__u16)__builtin_bswap16((__u16)(x)) | ^ In file included from mm/memory.c:84: In file included from arch/s390/include/asm/io.h:93: include/asm-generic/io.h:574:61: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] 574 | val = __le32_to_cpu((__le32 __force)__raw_readl(PCI_IOBASE + addr)); | ~~~~~~~~~~ ^ include/uapi/linux/byteorder/big_endian.h:35:59: note: expanded from macro '__le32_to_cpu' 35 | #define __le32_to_cpu(x) __swab32((__force __u32)(__le32)(x)) | ^ include/uapi/linux/swab.h:115:54: note: expanded from macro '__swab32' 115 | #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) | ^ In file included from mm/memory.c:84: In file included from arch/s390/include/asm/io.h:93: include/asm-generic/io.h:585:33: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] 585 | __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] 595 | __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] 605 | __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] 693 | 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] 701 | 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] 709 | 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] 718 | 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] 727 | 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] 736 | writesl(PCI_IOBASE + addr, buffer, count); | ~~~~~~~~~~ ^ In file included from mm/memory.c:88: In file included from arch/s390/include/asm/tlb.h:39: >> include/asm-generic/tlb.h:327:6: warning: no previous prototype for function '__tlb_remove_swap_entries' [-Wmissing-prototypes] 327 | bool __tlb_remove_swap_entries(struct mmu_gather *tlb, | ^ include/asm-generic/tlb.h:327:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 327 | bool __tlb_remove_swap_entries(struct mmu_gather *tlb, | ^ | static 16 warnings generated. -- In file included from mm/mmap.c:14: In file included from include/linux/backing-dev.h:15: In file included from include/linux/device.h:32: In file included from include/linux/device/driver.h:21: In file included from include/linux/module.h:19: In file included from include/linux/elf.h:6: In file included from arch/s390/include/asm/elf.h:181: In file included from arch/s390/include/asm/mmu_context.h:11: In file included from arch/s390/include/asm/pgalloc.h:18: In file included from include/linux/mm.h:2234: include/linux/vmstat.h:514:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion] 514 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_" | ~~~~~~~~~~~ ^ ~~~ In file included from mm/mmap.c:16: include/linux/mm_inline.h:47:41: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion] 47 | __mod_lruvec_state(lruvec, NR_LRU_BASE + lru, nr_pages); | ~~~~~~~~~~~ ^ ~~~ include/linux/mm_inline.h:49:22: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum lru_list') [-Wenum-enum-conversion] 49 | NR_ZONE_LRU_BASE + lru, nr_pages); | ~~~~~~~~~~~~~~~~ ^ ~~~ In file included from mm/mmap.c:53: In file included from arch/s390/include/asm/tlb.h:39: >> include/asm-generic/tlb.h:327:6: warning: no previous prototype for function '__tlb_remove_swap_entries' [-Wmissing-prototypes] 327 | bool __tlb_remove_swap_entries(struct mmu_gather *tlb, | ^ include/asm-generic/tlb.h:327:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 327 | bool __tlb_remove_swap_entries(struct mmu_gather *tlb, | ^ | static 4 warnings generated. -- In file included from mm/mremap.c:11: In file included from include/linux/mm.h:2234: include/linux/vmstat.h:514:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion] 514 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_" | ~~~~~~~~~~~ ^ ~~~ In file included from mm/mremap.c:12: include/linux/mm_inline.h:47:41: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion] 47 | __mod_lruvec_state(lruvec, NR_LRU_BASE + lru, nr_pages); | ~~~~~~~~~~~ ^ ~~~ include/linux/mm_inline.h:49:22: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum lru_list') [-Wenum-enum-conversion] 49 | NR_ZONE_LRU_BASE + lru, nr_pages); | ~~~~~~~~~~~~~~~~ ^ ~~~ In file included from mm/mremap.c:30: In file included from arch/s390/include/asm/tlb.h:39: >> include/asm-generic/tlb.h:327:6: warning: no previous prototype for function '__tlb_remove_swap_entries' [-Wmissing-prototypes] 327 | bool __tlb_remove_swap_entries(struct mmu_gather *tlb, | ^ include/asm-generic/tlb.h:327:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 327 | bool __tlb_remove_swap_entries(struct mmu_gather *tlb, | ^ | static mm/mremap.c:228:20: warning: unused function 'arch_supports_page_table_move' [-Wunused-function] 228 | static inline bool arch_supports_page_table_move(void) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mm/mremap.c:227:39: note: expanded from macro 'arch_supports_page_table_move' 227 | #define arch_supports_page_table_move arch_supports_page_table_move | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 warnings generated. -- In file included from kernel/sched/core.c:10: In file included from include/linux/highmem.h:10: In file included from include/linux/mm.h:2234: include/linux/vmstat.h:514:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion] 514 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_" | ~~~~~~~~~~~ ^ ~~~ In file included from kernel/sched/core.c:34: In file included from include/linux/sched/isolation.h:7: In file included from include/linux/tick.h:8: In file included from include/linux/clockchips.h:14: In file included from include/linux/clocksource.h:22: In file included from arch/s390/include/asm/io.h:93: include/asm-generic/io.h:548:31: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] 548 | 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] 561 | val = __le16_to_cpu((__le16 __force)__raw_readw(PCI_IOBASE + addr)); | ~~~~~~~~~~ ^ include/uapi/linux/byteorder/big_endian.h:37:59: note: expanded from macro '__le16_to_cpu' 37 | #define __le16_to_cpu(x) __swab16((__force __u16)(__le16)(x)) | ^ include/uapi/linux/swab.h:102:54: note: expanded from macro '__swab16' 102 | #define __swab16(x) (__u16)__builtin_bswap16((__u16)(x)) | ^ In file included from kernel/sched/core.c:34: In file included from include/linux/sched/isolation.h:7: In file included from include/linux/tick.h:8: In file included from include/linux/clockchips.h:14: In file included from include/linux/clocksource.h:22: In file included from arch/s390/include/asm/io.h:93: include/asm-generic/io.h:574:61: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] 574 | val = __le32_to_cpu((__le32 __force)__raw_readl(PCI_IOBASE + addr)); | ~~~~~~~~~~ ^ include/uapi/linux/byteorder/big_endian.h:35:59: note: expanded from macro '__le32_to_cpu' 35 | #define __le32_to_cpu(x) __swab32((__force __u32)(__le32)(x)) | ^ include/uapi/linux/swab.h:115:54: note: expanded from macro '__swab32' 115 | #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) | ^ In file included from kernel/sched/core.c:34: In file included from include/linux/sched/isolation.h:7: In file included from include/linux/tick.h:8: In file included from include/linux/clockchips.h:14: In file included from include/linux/clocksource.h:22: In file included from arch/s390/include/asm/io.h:93: include/asm-generic/io.h:585:33: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] 585 | __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] 595 | __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] 605 | __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] 693 | 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] 701 | 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] 709 | 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] 718 | 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] 727 | 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] 736 | writesl(PCI_IOBASE + addr, buffer, count); | ~~~~~~~~~~ ^ In file included from kernel/sched/core.c:80: In file included from arch/s390/include/asm/tlb.h:39: >> include/asm-generic/tlb.h:327:6: warning: no previous prototype for function '__tlb_remove_swap_entries' [-Wmissing-prototypes] 327 | bool __tlb_remove_swap_entries(struct mmu_gather *tlb, | ^ include/asm-generic/tlb.h:327:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 327 | bool __tlb_remove_swap_entries(struct mmu_gather *tlb, | ^ | static kernel/sched/core.c:6330:20: warning: unused function 'sched_core_cpu_deactivate' [-Wunused-function] 6330 | static inline void sched_core_cpu_deactivate(unsigned int cpu) {} | ^~~~~~~~~~~~~~~~~~~~~~~~~ 15 warnings generated. .. -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki