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 AFA28CDB483 for ; Tue, 17 Oct 2023 09:05:55 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 4E57F8D0007; Tue, 17 Oct 2023 05:05:55 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 495AB80035; Tue, 17 Oct 2023 05:05:55 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 3110F8D0102; Tue, 17 Oct 2023 05:05:55 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0013.hostedemail.com [216.40.44.13]) by kanga.kvack.org (Postfix) with ESMTP id 2048E8D0007 for ; Tue, 17 Oct 2023 05:05:55 -0400 (EDT) Received: from smtpin24.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay07.hostedemail.com (Postfix) with ESMTP id DFC00160F87 for ; Tue, 17 Oct 2023 09:05:54 +0000 (UTC) X-FDA: 81354371028.24.E432746 Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.126]) by imf15.hostedemail.com (Postfix) with ESMTP id CAEE9A0020 for ; Tue, 17 Oct 2023 09:05:52 +0000 (UTC) Authentication-Results: imf15.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b="QBKNZQf/"; dmarc=pass (policy=none) header.from=intel.com; spf=pass (imf15.hostedemail.com: domain of lkp@intel.com designates 134.134.136.126 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=1697533553; 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: references:dkim-signature; bh=/AVdBR5N1pi6vYa3VyoQbUJYHdM77LGXqGFUpPprvaE=; b=lDERT/XEb/MecWQWizWkLgzki4ckMULfkINElp1G9b+9Fa/riNBnYmuMb0vElFFvQt4d6x E42VEkJ2fBtNyipHGjQ+YuOJLt/Gg68xKseLZoY967v80M58O1l0p8bin25kuwLtS8UtTd 5RqI3ciTx61aX/lfz77l+8S0RyaiBeY= ARC-Authentication-Results: i=1; imf15.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b="QBKNZQf/"; dmarc=pass (policy=none) header.from=intel.com; spf=pass (imf15.hostedemail.com: domain of lkp@intel.com designates 134.134.136.126 as permitted sender) smtp.mailfrom=lkp@intel.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1697533553; a=rsa-sha256; cv=none; b=g35Tjwg4B03DM1rE0THq73gZTq0zUC3rpM2xmk8aTSA+GaH+u4VIXkGldOxnFfR40vGVth NR7+HNnHdL/XqYikxZtBcIWOQYesSicJWeWK+HhCG7OmmNSe0bsir6Od4/gfwLCtU1qAFW w1S9ePNwf6BHGIJ1P9BKTa5U+Y6jC4A= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1697533552; x=1729069552; h=date:from:to:cc:subject:message-id:mime-version; bh=452qn26qIg++kDc9+o5iVjKdIN5ZR9oFy25uoF7nnqw=; b=QBKNZQf/BavEpJFgTXk1M237tzPGtp1VEqD8SxedbUQ0XBhAPx9ocGkr R7zIurjAb9TzzqgOmOrLV0FpKrjwgpfgw9uT6rifmA4z7oe3GwtMYKqnl K11GOYKwDOkXAe70I5+yYYrWb9Up1HrOwusv1t74O2nlQGj1zJxurWbjN HscIZo89S+Afxr8pyzYsh7cHLhWIS1Rku2uvvhtRMu3ftGYkCnwWVzAyj nFdc7VzW/txJTwD2j6oesxAww6LOwxBT8ukR2NB7RgnB4qJGIZQFORuWV auQ17u5zZ3Hpb7kQ2zsoZyhrBGjY/m1m/Omqs7F/xeVZoZ5oT2XMHTH62 Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10865"; a="370806838" X-IronPort-AV: E=Sophos;i="6.03,231,1694761200"; d="scan'208";a="370806838" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Oct 2023 02:05:48 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10865"; a="821898276" X-IronPort-AV: E=Sophos;i="6.03,231,1694761200"; d="scan'208";a="821898276" Received: from lkp-server02.sh.intel.com (HELO f64821696465) ([10.239.97.151]) by fmsmga008.fm.intel.com with ESMTP; 17 Oct 2023 02:05:47 -0700 Received: from kbuild by f64821696465 with local (Exim 4.96) (envelope-from ) id 1qsg1I-0009Nr-1N; Tue, 17 Oct 2023 09:05:44 +0000 Date: Tue, 17 Oct 2023 17:05:07 +0800 From: kernel test robot To: Konstantin Meskhidze Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, Linux Memory Management List , =?iso-8859-1?Q?Micka=EBl_Sala=FCn?= Subject: [linux-next:master 12600/13086] security/landlock/net.h:28:1: error: expected identifier or '(' Message-ID: <202310171612.nWyFirmz-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Rspamd-Queue-Id: CAEE9A0020 X-Rspam-User: X-Rspamd-Server: rspam05 X-Stat-Signature: scxa8u8f51spsen1au7nf4dmjoh78icu X-HE-Tag: 1697533552-374915 X-HE-Meta: U2FsdGVkX19p419BvDzJp0QteX5YeF9Jlz53B9go/lsiTgiD9Kx74z704gQmlX4Jyq/sce9GO1+S5DV3rcUz/RAPFp5nHomFj2l4J7ND4ifNni0TS7t1Ky9E3EfbpIzjMESTgRNiaR6xsX1yG63ivrU0XFsB+JGpAPt2ya/Ebva6iZGOCy2yNkOkvVWAmz+3n+WkV8y6R9Go1mzoYTJMy9LDjn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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: tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 4d5ab2376ec576af173e5eac3887ed0b51bd8566 commit: 614d46b333ab905ca99acf076e4abdc84afd3da7 [12600/13086] landlock: Add network rules and TCP hooks support config: hexagon-buildonly-randconfig-r005-20211202 (https://download.01.org/0day-ci/archive/20231017/202310171612.nWyFirmz-lkp@intel.com/config) compiler: clang version 16.0.4 (https://github.com/llvm/llvm-project.git ae42196bc493ffe877a7e3dff8be32035dea4d07) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231017/202310171612.nWyFirmz-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/202310171612.nWyFirmz-lkp@intel.com/ All errors (new ones prefixed by >>): In file included from security/landlock/setup.c:17: >> security/landlock/net.h:28:1: error: expected identifier or '(' { ^ 1 error generated. -- In file included from security/landlock/syscalls.c:24: In file included from include/linux/syscalls.h:90: In file included from include/trace/syscall.h:7: In file included from include/linux/trace_events.h:9: 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:337: 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/landlock/syscalls.c:24: In file included from include/linux/syscalls.h:90: In file included from include/trace/syscall.h:7: In file included from include/linux/trace_events.h:9: 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:337: 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/landlock/syscalls.c:24: In file included from include/linux/syscalls.h:90: In file included from include/trace/syscall.h:7: In file included from include/linux/trace_events.h:9: 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:337: 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/landlock/syscalls.c:32: >> security/landlock/net.h:28:1: error: expected identifier or '(' { ^ 6 warnings and 1 error generated. vim +28 security/landlock/net.h 24 25 static inline int 26 landlock_append_net_rule(struct landlock_ruleset *const ruleset, const u16 port, 27 access_mask_t access_rights); > 28 { 29 return -EAFNOSUPPORT; 30 } 31 #endif /* IS_ENABLED(CONFIG_INET) */ 32 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki