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 5DB82C3ABC0 for ; Wed, 7 May 2025 09:30:00 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 00EF16B0083; Wed, 7 May 2025 05:29:58 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id F01456B0088; Wed, 7 May 2025 05:29:57 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id DA0B46B008C; Wed, 7 May 2025 05:29:57 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0011.hostedemail.com [216.40.44.11]) by kanga.kvack.org (Postfix) with ESMTP id BABEE6B0083 for ; Wed, 7 May 2025 05:29:57 -0400 (EDT) Received: from smtpin09.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay04.hostedemail.com (Postfix) with ESMTP id 2E0F71A180D for ; Wed, 7 May 2025 09:29:59 +0000 (UTC) X-FDA: 83415590118.09.41E9C4A Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.9]) by imf29.hostedemail.com (Postfix) with ESMTP id 0C13B12000A for ; Wed, 7 May 2025 09:29:56 +0000 (UTC) Authentication-Results: imf29.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=JFfAs8Fs; dmarc=pass (policy=none) header.from=intel.com; spf=pass (imf29.hostedemail.com: domain of lkp@intel.com designates 198.175.65.9 as permitted sender) smtp.mailfrom=lkp@intel.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1746610197; a=rsa-sha256; cv=none; b=nBLm3Nzg4nMkHBXJeJO7nFAUglxLa+P2IVKewCGtbHScBW6ya7Ny8xdIZFA2AYyYJIFVna jixQpd7sUedJv8h0HTzAeyti/uaP5aUy0goZHQnOToa5RmMOmHxxCTeCe3eMaA9jTysJJ+ LDLXE/aNlMrwkBok1DGYmzP2um/BVYk= ARC-Authentication-Results: i=1; imf29.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=JFfAs8Fs; dmarc=pass (policy=none) header.from=intel.com; spf=pass (imf29.hostedemail.com: domain of lkp@intel.com designates 198.175.65.9 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=1746610197; 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=XktOhku+95EnWYEJGQhW/Dj2i4xAJqVF0RHlZByIWg0=; b=5+i7zKnjin6VJBLGddUBvXgmj69WBadpnIcKtSr21YuvfJsYSHsPMKky0W8Cfxa78YIobS jm1nVhLrjggy+TZX7WZNakCjn7SSBHQ69T7X/+UW3hpczzKqAEer13MKHhoPqX+jSZ3rhW ZEMXM1/mCG+ms7pOUlshN8b/uSOsehk= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1746610197; x=1778146197; h=date:from:to:cc:subject:message-id:mime-version; bh=b33G875FvM8x22v+VzHY4R4AWqI3MfRJq3p5qEeaHDI=; b=JFfAs8FsMvc89oS60M/kbrsJNi48hzN8wXcT0VlrX2SB8113vN2WDqEY O8qv7I7fu8K239KFZ3w1uuUE5VJpMLAGRusQtkSSfnD9gr5Rtdo47uSr+ dA3EmpY2BhPq5MK8iRn5e4OMnYtYX2B3jZCxdtbNYyrO4PZygbXvSdWkf VNsa61NgM92CbTzP/CF6hPoSXz/18Hqe92Jqttd4GvnxRwkfydubYgFG4 bx7Q0h2dKRfSkCUMIdtLBFhv5DfAo32IkuSyxhGivjJYTNeiJb6Ppv6/W ar4ubLucH9sCyVh1OHcXuh0ujxJwOoNRLHldJBg6X4fqOlP60gP6Z2d+E g==; X-CSE-ConnectionGUID: quQwDEKNTgamrmiGRTM9bw== X-CSE-MsgGUID: mH+dFG9ATD+olZ/jfzaUEA== X-IronPort-AV: E=McAfee;i="6700,10204,11425"; a="70834525" X-IronPort-AV: E=Sophos;i="6.15,268,1739865600"; d="scan'208";a="70834525" Received: from orviesa003.jf.intel.com ([10.64.159.143]) by orvoesa101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 May 2025 02:29:55 -0700 X-CSE-ConnectionGUID: DP5oqnVyR6mPSy7WJci+hg== X-CSE-MsgGUID: SKknMysmS/CDYdQDeBH0pw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.15,268,1739865600"; d="scan'208";a="140640299" Received: from lkp-server01.sh.intel.com (HELO 1992f890471c) ([10.239.97.150]) by orviesa003.jf.intel.com with ESMTP; 07 May 2025 02:29:53 -0700 Received: from kbuild by 1992f890471c with local (Exim 4.96) (envelope-from ) id 1uCb67-0007VT-07; Wed, 07 May 2025 09:29:51 +0000 Date: Wed, 7 May 2025 17:29:19 +0800 From: kernel test robot To: Alice Ryhl Cc: oe-kbuild-all@lists.linux.dev, Andrew Morton , Linux Memory Management List , Andreas Hindborg , Gary Guo Subject: [linux-next:master 4752/5832] error[E0433]: failed to resolve: could not find `mm` in the crate root Message-ID: <202505071753.kldNHYVQ-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Rspamd-Queue-Id: 0C13B12000A X-Stat-Signature: hiz9guarfzdmi34yirz8nau5kc1waphc X-Rspam-User: X-Rspamd-Server: rspam08 X-HE-Tag: 1746610196-783464 X-HE-Meta: U2FsdGVkX1+JkJHBYG4rENmMHreIrwqAZ/DV6vMnuN23aKAUFvG4RZjCtDiARiKieigdKjRwIOgYi1dgyS15Pj5Afc8Myye15CrK1GAXxisPaP08MJXdGLdcV4gvhVYjeqD4pfMd8aMIr9Uaaahl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5WR0aeS3XQ1sfuiujmZFNHuAGSBwXR6hSaCf5hvVdJp4Mf9790KTyqFOrQUxTwi2JAYLNYNVokGgk++WdnUqMoRQMrNjSZ 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: tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 0a00723f4c2d0b273edd0737f236f103164a08eb commit: 64f43d565d3869b4fcba438ef3ed6cfb7ed8fee7 [4752/5832] rust: miscdevice: add mmap support config: riscv-randconfig-r071-20250427 (https://download.01.org/0day-ci/archive/20250507/202505071753.kldNHYVQ-lkp@intel.com/config) compiler: clang version 21.0.0git (https://github.com/llvm/llvm-project f819f46284f2a79790038e1f6649172789734ae8) rustc: rustc 1.78.0 (9b00956e5 2024-04-29) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250507/202505071753.kldNHYVQ-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/202505071753.kldNHYVQ-lkp@intel.com/ All errors (new ones prefixed by >>): 820 | insl(addr, buffer, count); | ^~~~~~~~~~~~~~~~~~~~~~~~~ arch/riscv/include/asm/io.h:106:53: note: expanded from macro 'insl' 106 | #define insl(addr, buffer, count) __insl(PCI_IOBASE + (addr), buffer, count) | ~~~~~~~~~~ ^ In file included from rust/helpers/helpers.c:10: In file included from rust/helpers/blk.c:3: In file included from include/linux/blk-mq.h:5: In file included from include/linux/blkdev.h:9: In file included from include/linux/blk_types.h:10: In file included from include/linux/bvec.h:10: In file included from include/linux/highmem.h:12: In file included from include/linux/hardirq.h:11: In file included from ./arch/riscv/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:12: In file included from arch/riscv/include/asm/io.h:136: include/asm-generic/io.h:829:2: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] 829 | outsb(addr, buffer, count); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ arch/riscv/include/asm/io.h:118:55: note: expanded from macro 'outsb' 118 | #define outsb(addr, buffer, count) __outsb(PCI_IOBASE + (addr), buffer, count) | ~~~~~~~~~~ ^ In file included from rust/helpers/helpers.c:10: In file included from rust/helpers/blk.c:3: In file included from include/linux/blk-mq.h:5: In file included from include/linux/blkdev.h:9: In file included from include/linux/blk_types.h:10: In file included from include/linux/bvec.h:10: In file included from include/linux/highmem.h:12: In file included from include/linux/hardirq.h:11: In file included from ./arch/riscv/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:12: In file included from arch/riscv/include/asm/io.h:136: include/asm-generic/io.h:838:2: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] 838 | outsw(addr, buffer, count); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ arch/riscv/include/asm/io.h:119:55: note: expanded from macro 'outsw' 119 | #define outsw(addr, buffer, count) __outsw(PCI_IOBASE + (addr), buffer, count) | ~~~~~~~~~~ ^ In file included from rust/helpers/helpers.c:10: In file included from rust/helpers/blk.c:3: In file included from include/linux/blk-mq.h:5: In file included from include/linux/blkdev.h:9: In file included from include/linux/blk_types.h:10: In file included from include/linux/bvec.h:10: In file included from include/linux/highmem.h:12: In file included from include/linux/hardirq.h:11: In file included from ./arch/riscv/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:12: In file included from arch/riscv/include/asm/io.h:136: include/asm-generic/io.h:847:2: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] 847 | outsl(addr, buffer, count); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ arch/riscv/include/asm/io.h:120:55: note: expanded from macro 'outsl' 120 | #define outsl(addr, buffer, count) __outsl(PCI_IOBASE + (addr), buffer, count) | ~~~~~~~~~~ ^ In file included from rust/helpers/helpers.c:10: In file included from rust/helpers/blk.c:3: In file included from include/linux/blk-mq.h:5: In file included from include/linux/blkdev.h:9: In file included from include/linux/blk_types.h:10: In file included from include/linux/bvec.h:10: In file included from include/linux/highmem.h:12: In file included from include/linux/hardirq.h:11: In file included from ./arch/riscv/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:12: In file included from arch/riscv/include/asm/io.h:136: include/asm-generic/io.h:1175:55: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] 1175 | return (port > MMIO_UPPER_LIMIT) ? NULL : PCI_IOBASE + port; | ~~~~~~~~~~ ^ clang diag: arch/riscv/include/asm/io.h:104:53: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] clang diag: arch/riscv/include/asm/io.h:105:53: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] clang diag: arch/riscv/include/asm/io.h:106:53: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] clang diag: arch/riscv/include/asm/io.h:118:55: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] clang diag: arch/riscv/include/asm/io.h:119:55: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] clang diag: arch/riscv/include/asm/io.h:120:55: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] clang diag: include/asm-generic/io.h:1175:55: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] clang diag: arch/riscv/include/asm/io.h:104:53: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] clang diag: arch/riscv/include/asm/io.h:105:53: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] clang diag: arch/riscv/include/asm/io.h:106:53: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] clang diag: arch/riscv/include/asm/io.h:118:55: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] clang diag: arch/riscv/include/asm/io.h:119:55: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] clang diag: arch/riscv/include/asm/io.h:120:55: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] clang diag: include/asm-generic/io.h:1175:55: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] 7 warnings generated. clang diag: arch/riscv/include/asm/io.h:104:53: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] clang diag: arch/riscv/include/asm/io.h:105:53: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] clang diag: arch/riscv/include/asm/io.h:106:53: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] clang diag: arch/riscv/include/asm/io.h:118:55: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] clang diag: arch/riscv/include/asm/io.h:119:55: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] clang diag: arch/riscv/include/asm/io.h:120:55: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] clang diag: include/asm-generic/io.h:1175:55: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] >> error[E0433]: failed to resolve: could not find `mm` in the crate root --> rust/kernel/miscdevice.rs:17:5 | 17 | mm::virt::VmaNew, | ^^ could not find `mm` in the crate root | note: found an item that was configured out --> rust/kernel/lib.rs:64:9 | 64 | pub mod mm; | ^^ -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki