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 DFA45C32771 for ; Wed, 21 Sep 2022 04:31:05 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id D72946B0072; Wed, 21 Sep 2022 00:31:04 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id D22FB940008; Wed, 21 Sep 2022 00:31:04 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id BEA2D940007; Wed, 21 Sep 2022 00:31:04 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0010.hostedemail.com [216.40.44.10]) by kanga.kvack.org (Postfix) with ESMTP id B09246B0072 for ; Wed, 21 Sep 2022 00:31:04 -0400 (EDT) Received: from smtpin20.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay06.hostedemail.com (Postfix) with ESMTP id 7E1E4AAD35 for ; Wed, 21 Sep 2022 04:31:04 +0000 (UTC) X-FDA: 79934817648.20.10E1486 Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by imf13.hostedemail.com (Postfix) with ESMTP id 6FB972001E for ; Wed, 21 Sep 2022 04:31:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1663734662; x=1695270662; h=date:from:to:cc:subject:message-id:mime-version; bh=850qvCnTn1QoywvxumjAB1dTtcQRaNH+2FY7GmUspp8=; b=nMcGWwHOtFMSVXdysY2n/CtvjUN73jNGkjamEBC6SNNIsi/zVAy+H3vs wlwKImcnHqxJrqFpkIZaf7Y3dntGbFAyDXlAOWPtaECr2PiWfLUTQfIK5 V2qTwai0Az72Aqx/GCe3X5o2cqIUVenFajLH80vZuLtqnPMtLw44HH3bT Ea70/dlGCVHrromij3Ge0jtOhnqOU/KN0x6kjCnMbn+Hj91L69fLaYOvi mYfww2roAO9HeNZtrosG6W/gAcN+hmtDtmeJ/TK9aKJj6NYLWIJluo73e 32o5y/Dc03zvR2FoK+lISc83a4xnD2YhimnWaTnhPLWrgqY5O0LVvp7Vm Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10476"; a="326207565" X-IronPort-AV: E=Sophos;i="5.93,332,1654585200"; d="scan'208";a="326207565" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Sep 2022 21:31:00 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,332,1654585200"; d="scan'208";a="652375679" Received: from lkp-server01.sh.intel.com (HELO c0a60f19fe7e) ([10.239.97.150]) by orsmga001.jf.intel.com with ESMTP; 20 Sep 2022 21:30:58 -0700 Received: from kbuild by c0a60f19fe7e with local (Exim 4.96) (envelope-from ) id 1oarNx-0003ED-2r; Wed, 21 Sep 2022 04:30:57 +0000 Date: Wed, 21 Sep 2022 12:30:17 +0800 From: kernel test robot To: Sidhartha Kumar Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, Greg Kroah-Hartman , Shuah Khan , Andrew Morton , Linux Memory Management List , Sasha Levin Subject: [linux-stable-rc:linux-5.15.y 5881/9999] mremap_test.c:126:13: error: redefinition of 'is_remap_region_valid' Message-ID: <202209211205.av57IQNU-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1663734663; a=rsa-sha256; cv=none; b=VOagdkb1qkYM1kuOi1lw+lSXLUsTK83xxcNoiIOZP16cWXWSuDSbq74JqqRwD6YbtJWMd1 XKGpQzIoBFsoeVVcOvJ+iuAcONYaQuXz5vGicMMXjMf+DYPw8gKprmGOM83LAwp9XkcK3Z TIzcKP5rylHV9hAzglqsbgq/Aeyu56c= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1663734663; 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=CGcwB0EI3Jbfhh8jNse1u5IDK1FMU9H2C6iwK42aXEs=; b=sud+Ru8h961dSck5ck30paG8CcxxVvR8h6Rsq20vJbOeMlnVqpgyetuhvoHfjjWW5e5FHd gFIpjbeACwGEPbHF4ss6/gYzs83DKEGsoYVNpq2HPyQu3LRl88V+IKroCyCDKzA2i5xsgE ocvgMagaXecVFegBm/DmCBMUhO2hakE= ARC-Authentication-Results: i=1; imf13.hostedemail.com; dkim=none ("invalid DKIM record") header.d=intel.com header.s=Intel header.b=nMcGWwHO; dmarc=pass (policy=none) header.from=intel.com; spf=pass (imf13.hostedemail.com: domain of lkp@intel.com designates 192.55.52.88 as permitted sender) smtp.mailfrom=lkp@intel.com X-Stat-Signature: e7r1aba99sfg69jeryxsaffkekuhpgt1 X-Rspamd-Server: rspam02 X-Rspamd-Queue-Id: 6FB972001E Authentication-Results: imf13.hostedemail.com; dkim=none ("invalid DKIM record") header.d=intel.com header.s=Intel header.b=nMcGWwHO; dmarc=pass (policy=none) header.from=intel.com; spf=pass (imf13.hostedemail.com: domain of lkp@intel.com designates 192.55.52.88 as permitted sender) smtp.mailfrom=lkp@intel.com X-Rspam-User: X-HE-Tag: 1663734662-575710 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: tree: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.15.y head: 820b689b4a7a6ca1b4fdabf26a17196a2e379a97 commit: 0b4e16093e081a3ab08b0d6cedf79b249f41b248 [5881/9999] selftest/vm: verify remap destination address in mremap_test compiler: gcc-11 (Debian 11.3.0-5) 11.3.0 reproduce: # https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git/commit/?id=0b4e16093e081a3ab08b0d6cedf79b249f41b248 git remote add linux-stable-rc https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git git fetch --no-tags linux-stable-rc linux-5.15.y git checkout 0b4e16093e081a3ab08b0d6cedf79b249f41b248 make O=/tmp/kselftest headers make O=/tmp/kselftest -C tools/testing/selftests If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot Note: the linux-stable-rc/linux-5.15.y HEAD 820b689b4a7a6ca1b4fdabf26a17196a2e379a97 builds fine. It only hurts bisectability. All errors (new ones prefixed by >>): >> mremap_test.c:126:13: error: redefinition of 'is_remap_region_valid' 126 | static bool is_remap_region_valid(void *addr, unsigned long long size) | ^~~~~~~~~~~~~~~~~~~~~ mremap_test.c:73:13: note: previous definition of 'is_remap_region_valid' with type '_Bool(void *, long long unsigned int)' 73 | static bool is_remap_region_valid(void *addr, unsigned long long size) | ^~~~~~~~~~~~~~~~~~~~~ mremap_test.c:147:27: error: redefinition of 'get_mmap_min_addr' 147 | static unsigned long long get_mmap_min_addr(void) | ^~~~~~~~~~~~~~~~~ mremap_test.c:94:27: note: previous definition of 'get_mmap_min_addr' with type 'long long unsigned int(void)' 94 | static unsigned long long get_mmap_min_addr(void) | ^~~~~~~~~~~~~~~~~ mremap_test.c:94:27: warning: 'get_mmap_min_addr' defined but not used [-Wunused-function] mremap_test.c:73:13: warning: 'is_remap_region_valid' defined but not used [-Wunused-function] 73 | static bool is_remap_region_valid(void *addr, unsigned long long size) | ^~~~~~~~~~~~~~~~~~~~~ -- 0-DAY CI Kernel Test Service https://01.org/lkp