Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp2617200lqt; Mon, 22 Apr 2024 16:56:42 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXHrPRQhary6yIYzVlWJ4rch5VPP8RG8Cju9vqnnNFzi5M0wA93UWlkY7dkYP6S2OA9pPBWjCt/kaCwZ/CQiyupMBPaPsZzOgcRI1F9yQ== X-Google-Smtp-Source: AGHT+IGOvl6C56gIUrSxprJaPIyS0asQYSsKGzr6JHpnTqFTF/XaYEpwGv6Rq9IbAJy3q+GLZ43z X-Received: by 2002:a05:620a:b19:b0:78e:e7dc:fd3b with SMTP id t25-20020a05620a0b1900b0078ee7dcfd3bmr13586881qkg.73.1713830201865; Mon, 22 Apr 2024 16:56:41 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713830201; cv=pass; d=google.com; s=arc-20160816; b=c9D7h4UcASeRpQHBKc/EBmplQkSCRXks40draxNC0pkZEKW8pwF4FzvcvBdKMluy3v 75Tj0xOGDdYqSX0lPo3d7t49hFr2eKFllB5roJwnVOkSBP4fYzV1H5pryGmn03sZNZke MMrvP7XVEBG0lHrRHajbgdxN/k+LnmZIDZI5i6jfW1ImA/J8q5zhX0/UeTHEcMHPhafu EpEbvpJm2mB56cSsy3IewZ11oMcc2DG52j9UoiW01PSwR/BVXGO1e1SbPdPzWili4d/x V2Yu3vOjSSrMobk28wpIeNaUNhGES4GoeWTWsrxBQNS5L5dTjnR0qJBMINv5T3fKjelf qhzA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=y1sYk2sK0091Gv3qemGaIEQaqPvpyVrj1vowY9Y+0AU=; fh=X4XA/eXuPXIjavqhv0tSgPcDheJAfJyK52skIBG+pFA=; b=u4FYJJuS34ZmjQ8dFIIuUvtr+fVbSKZFV/HtnXAQDFomoaoji8oB1aM5sRqKDGttiU N4xiHDo/GcrClHb/bngCEbXTcy1rBe2q8FCtzHFpxyyQBMF0zxbfi3f1fXB+3Mi0SQyA lW/yzfReQPCpfXIQOtgk8f9pfTQGhCN90sRVsooMipHatqvIcrVJZLcOTpcsWweIrlSg 24XzbK92XMmyWPDEhIfymwKniFgCh+EL5PPzDOMXl+wgR4bDQXihTzaP55DqZuGLhEq+ SPfFMDF11A9e2Mv7OPrfis6irsFYkGnwNMBR1bkF6s7z1gnympfud1KYoj+8GI15LDl8 ApZg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="DXj/XJOU"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-154229-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-154229-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id h8-20020a05620a400800b0078bcf5fbcd0si13279718qko.16.2024.04.22.16.56.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Apr 2024 16:56:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-154229-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="DXj/XJOU"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-154229-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-154229-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 93BA01C2121E for ; Mon, 22 Apr 2024 23:56:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BBEF4156F44; Mon, 22 Apr 2024 23:54:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="DXj/XJOU" 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 E6783156F2D; Mon, 22 Apr 2024 23:54:21 +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=1713830062; cv=none; b=RIrQO+5S0RElEPUrj7IITGa/jq1AgX81PVAupZzEyxXIzg42//EOr7PiZcD+QeSAO1q2Y7b/1vC0bmQC07+VY+xFO5TfXLTADTEVnzvOYspJf34Xs+3RyzXpxm7sftenu5A0V/TKsipIfAdtucjXrffvnElH53yTthbyeWsBhBk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713830062; c=relaxed/simple; bh=rDhbJlcmtvAFacVyrapM9OsIC1FdTdDVBdD5fY5OliQ=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=HozMqZHaOg68OKoup2fy7a2qDxuvf2ERLjvaF1uWLDaJYPVk2L066nGcvoRiexl4cIFW8O236AXOxE4/JHI3HdDps+k6uOSTu0zLTC1BFcTRuqZQEAAT6LqBuK3V7dUlRoUboJTaYXnuoQkV0B++iY8YRWL2kpE43UPI2CJsxbA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=DXj/XJOU; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id DF582C113CC; Mon, 22 Apr 2024 23:54:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1713830061; bh=rDhbJlcmtvAFacVyrapM9OsIC1FdTdDVBdD5fY5OliQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=DXj/XJOU4eOXUPlTmoWtWRTaIQRyCKPTGCvvYs51mkqktTT0YU4WpxoG2q1LY+Dzm DVoG1NIIlTu2eeVKzYoKwSCX5aI7sZxwxbfWYtL4ldAk46ajWIPJ3D0exWsel0WxJH ziyc3/oPiRSbrMYD/S47DD+yQDI5fwC3QH2IeTAK7fdgRRewhuX+kcXyydpX6v9abF fKcxz61xLDT/tFC1p+Bv+iUlfkVoLwT+16oVNrNgsd5L56nfO5tLW3PstTZwGvGIhG MqAtYHZzUcubRywIpEAnH+sQ1kQisNIE5YksitocwMhsfsiZqYvkSQfi6PyQep9+Q1 2j5KP9syvx57g== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Wei Yang , Suren Baghdasaryan , Michal Hocko , Mike Rapoport , Sasha Levin , linux-mm@kvack.org Subject: [PATCH AUTOSEL 6.8 12/43] memblock tests: fix undefined reference to `BIT' Date: Mon, 22 Apr 2024 19:13:58 -0400 Message-ID: <20240422231521.1592991-12-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240422231521.1592991-1-sashal@kernel.org> References: <20240422231521.1592991-1-sashal@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore X-stable-base: Linux 6.8.7 Content-Transfer-Encoding: 8bit From: Wei Yang [ Upstream commit 592447f6cb3c20d606d6c5d8e6af68e99707b786 ] commit 772dd0342727 ("mm: enumerate all gfp flags") define gfp flags with the help of BIT, while gfp_types.h doesn't include header file for the definition. This through an error on building memblock tests. Let's include linux/bits.h to fix it. Signed-off-by: Wei Yang CC: Suren Baghdasaryan CC: Michal Hocko Link: https://lore.kernel.org/r/20240402132701.29744-4-richard.weiyang@gmail.com Signed-off-by: Mike Rapoport (IBM) Signed-off-by: Sasha Levin --- include/linux/gfp_types.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/gfp_types.h b/include/linux/gfp_types.h index 1b6053da8754e..495ebf5f2cb6d 100644 --- a/include/linux/gfp_types.h +++ b/include/linux/gfp_types.h @@ -2,6 +2,8 @@ #ifndef __LINUX_GFP_TYPES_H #define __LINUX_GFP_TYPES_H +#include + /* The typedef is in types.h but we want the documentation here */ #if 0 /** -- 2.43.0