From mboxrd@z Thu Jan 1 00:00:00 1970 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 24CE23C063F for ; Mon, 4 May 2026 12:31:09 +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=1777897870; cv=none; b=KeKiSVyryoV46BdRjBVnk4G3ks4K5wa7XUwhB9PIO+aBpu+FOv8H1gPFdYhsEpTSmtMxx7fSh7qIZhLSN9TuM0uVU5lCVHRarlRcEX0O+G4jl+WBV+T1zXEAGK9IXU9NHUmZe4T/FW7Vn/oZMkdyZ+3smKBC3Kt5vkEvfaMI2Nc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777897870; c=relaxed/simple; bh=NPNbC063QOfWG5TCrFhK1JH71yuTWi/FepePvYALnQY=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=eUTLF0eRGPYLEE0BnUEOy63fxxdXbCIy3Q2V7d9Jih4eoBv2Gd2oBLSBa+yy5oheRAW29+0SFyROJEc8EmebDgpFLyGBxM8tMosjIpihYZsbdeKTqfOAXdlw9l0Yd8cZpFy59K1kxKufd16dJ+mDvMpT2mVDzDp6Dse8kuGl678= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=KNNU7bwp; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="KNNU7bwp" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 51516C2BCB8; Mon, 4 May 2026 12:31:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1777897869; bh=NPNbC063QOfWG5TCrFhK1JH71yuTWi/FepePvYALnQY=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=KNNU7bwpyY9vGuO2B5LRRiwBmdQM48/MI7eTNCBHqV7ntd1c5gB87cTdUbAtRMhXy zTnSZhjE7VW33WT1TXwl6QP69riPJ5I5YIQToisIlhbrS6ZL5zWYT5CchS0QTEpOZm dmQsbbPa5lnvLMYrbH5Vt/gVThqBdZGxdbYygzsF+LD/A5ExZl5AvW2uGcQs6RKgv2 9WamxQKCwoHPrN/gnTh3HZeXZ/RdnYWSDTRryzrJVLdyfk6IZFpxo1RUiV9lxlk5bA kDmZW7om+r1aAMMZZtLgXdsSEJpFAeRIkPRBFF0C6G1k6k2V+rX6naG+bqlWbWs4Zx +drSNMW/parbg== From: Pratyush Yadav To: Pasha Tatashin Cc: Pratyush Yadav , Mike Rapoport , Michal Clapinski , kexec@lists.infradead.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] memblock tests: define MIGRATE_CMA In-Reply-To: (Pasha Tatashin's message of "Mon, 4 May 2026 06:32:11 -0400") References: <20260504102742.3833159-1-pratyush@kernel.org> Date: Mon, 04 May 2026 14:31:06 +0200 Message-ID: <2vxz8q9z2w6t.fsf@kernel.org> User-Agent: Gnus/5.13 (Gnus v5.13) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Mon, May 04 2026, Pasha Tatashin wrote: > On Mon, May 4, 2026 at 6:27=E2=80=AFAM Pratyush Yadav wrote: >> >> From: "Pratyush Yadav (Google)" >> >> kho_scratch_migratetype(), defined in include/linux/memblock.h uses enum >> migratetype. This breaks build for memblock tests with: >> >> ./linux/memblock.h:634:73: error: parameter 2 (=E2=80=98mt=E2=80=99) has= incomplete type >> 634 | enum migr= atetype mt) >> >> Fix it by defining enum migratetype and MIGRATE_CMA. As is the case with >> the other headers in tools/testing/memblock, do not bring in the whole >> thing, only what is needed. >> >> Reported-by: Mike Rapoport >> Closes: https://lore.kernel.org/linux-mm/afcdDm4aAJvNaQqH@kernel.org/ > > Link does not open for me. Dunno why. Works fine for me... Maybe some temporary issue with lore? [...] --=20 Regards, Pratyush Yadav