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 C2AE3C61DA4 for ; Thu, 9 Mar 2023 14:09:48 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 20DAA280002; Thu, 9 Mar 2023 09:09:48 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 1BE4B280001; Thu, 9 Mar 2023 09:09:48 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 05F81280002; Thu, 9 Mar 2023 09:09:48 -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 E5513280001 for ; Thu, 9 Mar 2023 09:09:47 -0500 (EST) Received: from smtpin04.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay09.hostedemail.com (Postfix) with ESMTP id B7F33810A1 for ; Thu, 9 Mar 2023 14:09:47 +0000 (UTC) X-FDA: 80549543214.04.0CC4146 Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by imf17.hostedemail.com (Postfix) with ESMTP id 7754D4000F for ; Thu, 9 Mar 2023 14:09:43 +0000 (UTC) Authentication-Results: imf17.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=LcVlnl9N; dmarc=pass (policy=none) header.from=intel.com; spf=pass (imf17.hostedemail.com: domain of lkp@intel.com designates 192.55.52.93 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=1678370984; 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=prrut35b+Pv40yLbEhnZLbPjtSHYgrVFWEoqrBl/vvk=; b=yQzT8tTk97Z3LrXNFWsL2NjTp1wOn+CsJC+pVWtdDZQtJGa58Ynko2Rdcjh9WUUuL5PwvX tiE0oZNyK4OmM/CHv+zdS3hCssndrbW3VA7x9Qm7TyLyEPrdOyVD2MSGXrzY51EO0eDPD+ gIV/UBGkO7nitrnjz0xYzS7dhBNgicw= ARC-Authentication-Results: i=1; imf17.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=LcVlnl9N; dmarc=pass (policy=none) header.from=intel.com; spf=pass (imf17.hostedemail.com: domain of lkp@intel.com designates 192.55.52.93 as permitted sender) smtp.mailfrom=lkp@intel.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1678370984; a=rsa-sha256; cv=none; b=r3o27HahusaSN4JCfk9pUhH73Bbu+vW0l+b0E8EnNaA0C4n5fict6W3mBLc1ca9RbFNpgS Ck08driCzGrdSJ2caFhpGaFnrrCWVbWufAQPLmrxRnLj1adKYZSPCUcEQ3qBAKQvyt2TR5 gNtmXvESIqVA3/8jymzIVqKgaxXslbk= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1678370983; x=1709906983; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=u+pykYZUZpxPsPS/hM6Y6qEtHxrOdKaAHiaV1vJ64uA=; b=LcVlnl9NA4aJgz+t1+AnzokG7fOfoH7j+J3nGgDBxIBd2B+ZfmOm3jvq 3uVRs5B0Vk25d3LIMbKXJaw+t4y+YvG+/BwmojA02e331nODc0jAZCOn7 Yscj+K9/fERvmL/DF/AI+iU51Kr7c8+F/02qhgLJgtEc/LQYreEBshkAA a4idkMdu4KgHoHgQHla3bY/KexwohDwsR5x72dyZFh0krMV4sQV6Xb7mh GmfXTp58MAmKTNDNGC/q5PQ3VTlhUF9MsRujWNaV3bi1F7q4F3LzkxQRl AVAGP5uHBTjMmJwXMywjXR0/6NctEq6EULZ98LCjm9ehJkeVaUmOVAm7Y w==; X-IronPort-AV: E=McAfee;i="6500,9779,10643"; a="333922484" X-IronPort-AV: E=Sophos;i="5.98,246,1673942400"; d="scan'208";a="333922484" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Mar 2023 06:09:29 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10643"; a="820614347" X-IronPort-AV: E=Sophos;i="5.98,246,1673942400"; d="scan'208";a="820614347" Received: from lkp-server01.sh.intel.com (HELO b613635ddfff) ([10.239.97.150]) by fmsmga001.fm.intel.com with ESMTP; 09 Mar 2023 06:09:26 -0800 Received: from kbuild by b613635ddfff with local (Exim 4.96) (envelope-from ) id 1paGxR-0002zs-2y; Thu, 09 Mar 2023 14:09:25 +0000 Date: Thu, 9 Mar 2023 22:08:27 +0800 From: kernel test robot To: Nhat Pham , akpm@linux-foundation.org Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, hannes@cmpxchg.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, bfoster@redhat.com, willy@infradead.org, arnd@arndb.de, linux-api@vger.kernel.org, kernel-team@meta.com Subject: Re: [PATCH v11 2/3] cachestat: implement cachestat syscall Message-ID: <202303092105.82x0kEIp-lkp@intel.com> References: <20230308032748.609510-3-nphamcs@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230308032748.609510-3-nphamcs@gmail.com> X-Rspam-User: X-Rspamd-Server: rspam02 X-Rspamd-Queue-Id: 7754D4000F X-Stat-Signature: c6wqx1pud1e36z4o8jg11hnx8igwrt78 X-HE-Tag: 1678370983-277128 X-HE-Meta: U2FsdGVkX1+5LpHrbJ2QAbhXOzTlZ7KsgTTjWDdSDrwtuqDL8+99TZSCpfinoLnb2mcejsXvHQSIQJi1Lb0tIngOv8j9Qw14QndRcVW/chaCCCajum2BUtzXoklrZG8O6hwfPCfT/PHweQZHFVx13umkwaUJfcjNuEmc5NjhoTASq54Iv/hGfnQ0Jn5MidZcYWp+faC8zDHxnD3NOu6bU29EqrrBnM3eLlDx6nIpMJgbp1xBH01SOfMolmaAatc5zqOK0uWQSefVxIXEzk3frUU8Ta8O3NqZ/gq8WDEFp4hXWVFl5t+O03s5TdbAYiNAnkJAIbANTS9SFfxTnFgG/ugpS8ELyfQkWbA8X9qLUFzr3xHLJ58mA4I5Vr76i+iAqtzYWVf7Cu65kRz+lNk076pC/5BdjOE3Y5YNBMXfWSdtj4fG73uX8Vc/eYi5kRpm5/dtFu4nDUkC7opWZXW8sH+qubYtV4YbVywiL4Jm1DDhq9udyfMWNdK7Xdovl4qNId0SOCLtpCmM580k9Ebas6Xd6sBaOBAOGm1oDtvRcDNAtj4IpmAsMKfDkwwpVCKhZtzOLsAxQhX841xrt/6fagqnIy+Po2LvGDgHlptaFfro4Iik+Gp1FBGoim1jwaCnRw6RUeXNW9UWDpGv+K8pEvpXa5nIC/DMN6O28dlFHZGRjNmqc1yoIK0Aops7xQ2b+uUtccSGoObZSbcNI1oiCC7q5fz0/zNcTdLu0X/luhoAkCQm2OcLsuulK3k862dWd2RaVJsCNZ75R6L5GaeTFjZP1fwpBJIzKBNhgtZtBvlA17FKh87T/RkyQjsAswV9M3ZCOkzQ+m3iE6gc3i3RhOUvDIqwI8akVwPhxks4P+eieQ7CShNnJMbkSAXnKqhA5Az6rd8speuEGtHSC5Fqu+5NC0hBJgglUCP2iosUYRsZoZevimYNM8r98upeF8bs0Bf6rEGMf5+nUrAXSv5 EMdDxAWc 4YckSCZNBFoqFOPKpnhQYcm1RSDK6IuQG94zDr9HO9JFVV03WVlO4bnQh7ji6pGYZMgMu446vzYBq4LfvQCWIdJiSXvHRXN4WnFvGHNqp/XsXjs1jv6BDA3B+a+15j3sghReDqjARsRYf2nUXFi8yYF7/6rBM5HgfKyIWvovUuEBCP7DKq+7OfzhswaO4DVEYcL0mRoKGYjaDupMk62qkJpmDSKQfYslEkCle9t3Wnz7H7d+KpL4+Wal2eaxDNdUOPaCfU9XHDPzaE1Lr8IrkIfYh3PgvlQXOzcUSq3xpgFTNEuWNMde9S1dKOz3IOjqQ/Mt6HXJvwukmObyqSqBvkyj+xOlS2qIoIXPNS1xYtdBC3QoNX1hefinuNCNhFvVvBbdmya/2wdVYSPsBT+2jusLFWQ== 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: Hi Nhat, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on 1440f576022887004f719883acb094e7e0dd4944] url: https://github.com/intel-lab-lkp/linux/commits/Nhat-Pham/workingset-refactor-LRU-refault-to-expose-refault-recency-check/20230308-112932 base: 1440f576022887004f719883acb094e7e0dd4944 patch link: https://lore.kernel.org/r/20230308032748.609510-3-nphamcs%40gmail.com patch subject: [PATCH v11 2/3] cachestat: implement cachestat syscall config: hexagon-randconfig-r041-20230308 (https://download.01.org/0day-ci/archive/20230309/202303092105.82x0kEIp-lkp@intel.com/config) compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project 67409911353323ca5edf2049ef0df54132fa1ca7) 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 # https://github.com/intel-lab-lkp/linux/commit/ca34a4daf11f6fbb9731205af7acd06fe620e447 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Nhat-Pham/workingset-refactor-LRU-refault-to-expose-refault-recency-check/20230308-112932 git checkout ca34a4daf11f6fbb9731205af7acd06fe620e447 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=hexagon olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=hexagon prepare If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot | Link: https://lore.kernel.org/oe-kbuild-all/202303092105.82x0kEIp-lkp@intel.com/ All warnings (new ones prefixed by >>): In file included from arch/hexagon/kernel/asm-offsets.c:12: >> include/linux/compat.h:821:31: warning: declaration of 'struct cachestat' will not be visible outside of this function [-Wvisibility] compat_arg_u64(off), struct cachestat __user *cstat, ^ In file included from arch/hexagon/kernel/asm-offsets.c:15: In file included from include/linux/interrupt.h:11: In file included from include/linux/hardirq.h:11: In file included from ./arch/hexagon/include/generated/asm/hardirq.h:1: 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:13: In file included from arch/hexagon/include/asm/io.h:334: include/asm-generic/io.h:547: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:560: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 arch/hexagon/kernel/asm-offsets.c:15: In file included from include/linux/interrupt.h:11: In file included from include/linux/hardirq.h:11: In file included from ./arch/hexagon/include/generated/asm/hardirq.h:1: 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:13: In file included from arch/hexagon/include/asm/io.h:334: include/asm-generic/io.h:573: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 arch/hexagon/kernel/asm-offsets.c:15: In file included from include/linux/interrupt.h:11: In file included from include/linux/hardirq.h:11: In file included from ./arch/hexagon/include/generated/asm/hardirq.h:1: 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:13: In file included from arch/hexagon/include/asm/io.h:334: include/asm-generic/io.h:584: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:594: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:604: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); ~~~~~~~~~~ ^ 7 warnings generated. -- In file included from mm/filemap.c:20: In file included from include/linux/kernel_stat.h:9: In file included from include/linux/interrupt.h:11: In file included from include/linux/hardirq.h:11: In file included from ./arch/hexagon/include/generated/asm/hardirq.h:1: 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:13: In file included from arch/hexagon/include/asm/io.h:334: include/asm-generic/io.h:547: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:560: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 mm/filemap.c:20: In file included from include/linux/kernel_stat.h:9: In file included from include/linux/interrupt.h:11: In file included from include/linux/hardirq.h:11: In file included from ./arch/hexagon/include/generated/asm/hardirq.h:1: 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:13: In file included from arch/hexagon/include/asm/io.h:334: include/asm-generic/io.h:573: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 mm/filemap.c:20: In file included from include/linux/kernel_stat.h:9: In file included from include/linux/interrupt.h:11: In file included from include/linux/hardirq.h:11: In file included from ./arch/hexagon/include/generated/asm/hardirq.h:1: 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:13: In file included from arch/hexagon/include/asm/io.h:334: include/asm-generic/io.h:584: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:594: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:604: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); ~~~~~~~~~~ ^ >> mm/filemap.c:4034:6: warning: no previous prototype for function 'ksys_cachestat' [-Wmissing-prototypes] long ksys_cachestat(unsigned int fd, size_t len, loff_t off, ^ mm/filemap.c:4034:1: note: declare 'static' if the function is not intended to be used outside of this translation unit long ksys_cachestat(unsigned int fd, size_t len, loff_t off, ^ static 7 warnings generated. -- In file included from security/keys/gc.c:11: In file included from security/keys/internal.h:19: >> include/linux/compat.h:821:31: warning: declaration of 'struct cachestat' will not be visible outside of this function [-Wvisibility] compat_arg_u64(off), struct cachestat __user *cstat, ^ 1 warning generated. -- In file included from security/keys/key.c:16: In file included from include/linux/ima.h:13: In file included from include/linux/kexec.h:19: In file included from arch/hexagon/include/asm/io.h:334: include/asm-generic/io.h:547: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:560: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 security/keys/key.c:16: In file included from include/linux/ima.h:13: In file included from include/linux/kexec.h:19: In file included from arch/hexagon/include/asm/io.h:334: include/asm-generic/io.h:573: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 security/keys/key.c:16: In file included from include/linux/ima.h:13: In file included from include/linux/kexec.h:19: In file included from arch/hexagon/include/asm/io.h:334: include/asm-generic/io.h:584: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:594: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:604: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); ~~~~~~~~~~ ^ In file included from security/keys/key.c:18: In file included from security/keys/internal.h:19: >> include/linux/compat.h:821:31: warning: declaration of 'struct cachestat' will not be visible outside of this function [-Wvisibility] compat_arg_u64(off), struct cachestat __user *cstat, ^ 7 warnings generated. -- In file included from arch/hexagon/kernel/asm-offsets.c:12: >> include/linux/compat.h:821:31: warning: declaration of 'struct cachestat' will not be visible outside of this function [-Wvisibility] compat_arg_u64(off), struct cachestat __user *cstat, ^ In file included from arch/hexagon/kernel/asm-offsets.c:15: In file included from include/linux/interrupt.h:11: In file included from include/linux/hardirq.h:11: In file included from ./arch/hexagon/include/generated/asm/hardirq.h:1: 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:13: In file included from arch/hexagon/include/asm/io.h:334: include/asm-generic/io.h:547: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:560: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 arch/hexagon/kernel/asm-offsets.c:15: In file included from include/linux/interrupt.h:11: In file included from include/linux/hardirq.h:11: In file included from ./arch/hexagon/include/generated/asm/hardirq.h:1: 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:13: In file included from arch/hexagon/include/asm/io.h:334: include/asm-generic/io.h:573: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 arch/hexagon/kernel/asm-offsets.c:15: In file included from include/linux/interrupt.h:11: In file included from include/linux/hardirq.h:11: In file included from ./arch/hexagon/include/generated/asm/hardirq.h:1: 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:13: In file included from arch/hexagon/include/asm/io.h:334: include/asm-generic/io.h:584: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:594: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:604: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); ~~~~~~~~~~ ^ 7 warnings generated. :1517:2: warning: syscall clone3 not implemented [-W#warnings] #warning syscall clone3 not implemented ^ 1 warning generated. vim +821 include/linux/compat.h 809 810 /* net/socket.c */ 811 asmlinkage long compat_sys_recvfrom(int fd, void __user *buf, compat_size_t len, 812 unsigned flags, struct sockaddr __user *addr, 813 int __user *addrlen); 814 asmlinkage long compat_sys_sendmsg(int fd, struct compat_msghdr __user *msg, 815 unsigned flags); 816 asmlinkage long compat_sys_recvmsg(int fd, struct compat_msghdr __user *msg, 817 unsigned int flags); 818 819 /* mm/filemap.c */ 820 asmlinkage long compat_sys_cachestat(unsigned int fd, size_t len, > 821 compat_arg_u64(off), struct cachestat __user *cstat, 822 unsigned int flags); 823 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests