Received: by 2002:a05:7412:798b:b0:fc:a2b0:25d7 with SMTP id fb11csp750054rdb; Thu, 22 Feb 2024 20:30:38 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUS8NFvmFe0RRatojRWiyKMzIjkTp4p+z9Ad65A13o8IqRGWtRq0tc/1TzLEf0J/lPhm82ela0s4+EwXXR36mbwzRIcGkRsliA0XtzU3A== X-Google-Smtp-Source: AGHT+IGaPm3cIxzuAf09WSQF4wpGN+LOb77IbLy0Y7OPsuKauECK4d4u3YA8e+B8FPr294WdsJwD X-Received: by 2002:a05:6a20:d487:b0:1a0:a43b:cbd8 with SMTP id im7-20020a056a20d48700b001a0a43bcbd8mr1146251pzb.59.1708662638756; Thu, 22 Feb 2024 20:30:38 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708662638; cv=pass; d=google.com; s=arc-20160816; b=auCRyuTHn4RjJbV7SqB1ZPiluVjN3mN1a939UdeiYdJGrpN7LsAILUxk9qss6mzW30 /dO6MgkXVurhtawGtPVuLu+AZtqqGgfJIVNuY5i2YQv0sSAz+ruIl9ukG6C/9Tmyt0BQ bqKvEUyAOaYJ7cXfiNp49gYi15aYAMzaMblmlz+3A4VIm12bFots5ZNWTD0lukfI091s Lb5ta5GCsgWzWAw87NitH1h6MPZSOh5pSg+buNXGo4XT9LIP++DANX+/ZXYlM+zP5ww5 QrFDthWcfdtamYYdizYQqIiY2x+hlq8ev4pzSIxJDJzqetfv2SCJ1HnOfp/Cn5Tf0+Iu mfhQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:date:message-id:from:subject :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=jw/yGdh0j8MTfWqqKMPZofBzUlg8NkVK+iayJmNzjXQ=; fh=WBAJS4cVdcONpFWdtj5yqEcGB9gZEKM6YhxaUX4zFWk=; b=UCQ4AAQI1tJfDRQ0Z1A3og5+oI7c6BbL3N/8rbhdflBmMYr26GF308LdUbAdCtb3Uv bje5stu0ydaVLAABjiSqY91Ed9CV5LwMU3PQrtDaagn6/Qq7lCTQCWSZeroog6F5F1Y4 njMN3PFH0ycvEyGbxPm62ZCPqvshUJe2HAbPXPNe01/F6XZEM+JOYtQKUaXuZ/aBwPus wlbvl1TFQ1YMy7Hjhi9Muwe7DDOKXSQCBQGbnTq8/lfEanZ3iKF/R7KFZD9eiD3XqoP2 XFxZNAViB4oxZ5toQmq18I/Rm+FUYKPWtXonCHjyWVHRMMS24GVkZZElBFCqQgmbQAjP jCVA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="ewJTjM/7"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-77758-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-77758-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id d8-20020a170902cec800b001db33a40688si12008516plg.33.2024.02.22.20.30.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Feb 2024 20:30:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-77758-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="ewJTjM/7"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-77758-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-77758-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 5697328762C for ; Fri, 23 Feb 2024 04:30:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9489A11199; Fri, 23 Feb 2024 04:30:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="ewJTjM/7" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BB751749C for ; Fri, 23 Feb 2024 04:30:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708662630; cv=none; b=ZMVJUDOdOI13hCDyquFQXEYbRy2adxJPrdsb7lXFW+wfBEUEekFrk2aRT0si3hCSJlugepU/48XfE3h5gR6MZM3l2VivBkDTJTzK6+vLktOdFacu9ALM591WzPuzdM91dYUmDcYZ/wVeoVfSSJLUawN/zyapr40GXnGPANOv/aA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708662630; c=relaxed/simple; bh=Eb7VOpynyOUtYxl0w26H7zwiUMIQBQ7D7ZB2sf9JGR4=; h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; b=n0qUQpIGieqFsVLKmsusj9FpsTL5DBVxsSPJEIstW3WIg6TaEG0wWXYLLxrwylf+yoeyoMUq9SLGSAs1cbk2oGdHNOgwRK5R0vKmh7BQUals5Evxi/n1Lv/P+R0B7E/huQIgUVMcCrzR4piB2/b/lZ0EZAlHfh1DrG3QZB5nS3c= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=ewJTjM/7; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id 36CFFC433F1; Fri, 23 Feb 2024 04:30:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708662630; bh=Eb7VOpynyOUtYxl0w26H7zwiUMIQBQ7D7ZB2sf9JGR4=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=ewJTjM/7nLnnlaslG69/7L7vZlI5tHummIXJNWiRYXx3fSwerbPk7pY1NDysCjkC9 3fwWiYyI/juvvJPf2Gkll9cyZJuIfr5+vynmJqsVsx39N7E/3ckWjouT5GB5RF3jPp /wZIOXB1xAykhWrAWEHhkDHbtMhxrPhxdyhGP/dZjifq6TsTXLvtBj6bsZ/dzF//9X 2WBPLx08O4LHeS5UgsmNrhCjxmbVnb5ut+P5Jv1tSaPB9DwnrUQJ41wgMvV+k15F5d EuAeV4psRqO7Qtrmob67XYFtKJoLVqdkXmpYbH0Gk/mkuELS+5qNlJFigj81Bw24Ox 5cMzuNtWYrFIw== Received: from aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (Postfix) with ESMTP id 1BFF5D990CD; Fri, 23 Feb 2024 04:30:30 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH -fixes] riscv: Fix build error if !CONFIG_ARCH_ENABLE_HUGEPAGE_MIGRATION From: patchwork-bot+linux-riscv@kernel.org Message-Id: <170866263011.22939.3026249859816795239.git-patchwork-notify@kernel.org> Date: Fri, 23 Feb 2024 04:30:30 +0000 References: <20240211083640.756583-1-alexghiti@rivosinc.com> In-Reply-To: <20240211083640.756583-1-alexghiti@rivosinc.com> To: Alexandre Ghiti Cc: linux-riscv@lists.infradead.org, paul.walmsley@sifive.com, palmer@dabbelt.com, aou@eecs.berkeley.edu, linux-kernel@vger.kernel.org, lkp@intel.com Hello: This patch was applied to riscv/linux.git (fixes) by Palmer Dabbelt : On Sun, 11 Feb 2024 09:36:40 +0100 you wrote: > The new riscv specific arch_hugetlb_migration_supported() must be > guarded with a #ifdef CONFIG_ARCH_ENABLE_HUGEPAGE_MIGRATION to avoid > the following build error: > > In file included from include/linux/hugetlb.h:851, > from kernel/fork.c:52: > >> arch/riscv/include/asm/hugetlb.h:15:42: error: static declaration of 'arch_hugetlb_migration_supported' follows non-static declaration > 15 | #define arch_hugetlb_migration_supported arch_hugetlb_migration_supported > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > include/linux/hugetlb.h:916:20: note: in expansion of macro 'arch_hugetlb_migration_supported' > 916 | static inline bool arch_hugetlb_migration_supported(struct hstate *h) > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > arch/riscv/include/asm/hugetlb.h:14:6: note: previous declaration of 'arch_hugetlb_migration_supported' with type 'bool(struct hstate *)' {aka '_Bool(struct hstate *)'} > 14 | bool arch_hugetlb_migration_supported(struct hstate *h); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > [...] Here is the summary with links: - [-fixes] riscv: Fix build error if !CONFIG_ARCH_ENABLE_HUGEPAGE_MIGRATION https://git.kernel.org/riscv/c/fc325b1a915f You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html