Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp2628551lqt; Mon, 22 Apr 2024 17:22:31 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUnoyjA5GXi/gpjDxJBcdy6FrySh56rF44ywu0MTsr65TMIKcwMfFalA3BU3Xn70YMg0DwnMIVwuC9SMX0g1gHke4wWL5WSYzazoc5NJQ== X-Google-Smtp-Source: AGHT+IEha184Ox9yYcG0Xwx/Yw2a5KbnvkLbWAT052YJEObzMmRgNjC/e/8hU0PGXW4f4qjHkg0W X-Received: by 2002:a05:6a20:ce47:b0:1ac:8824:156b with SMTP id id7-20020a056a20ce4700b001ac8824156bmr10905284pzb.39.1713831751009; Mon, 22 Apr 2024 17:22:31 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713831750; cv=pass; d=google.com; s=arc-20160816; b=oCfnqD+muieAEyFycP7BF8DODaeYGrhZRpDMbTFufeC//m1c6GZ6u+lApisnQ8YW9I AUNTvMg7g4PWwDz2MS2USdoLate/aUJuGGWp5Z/W/7+uf36y6UdhYooRUZDefZxJKcOv WPxFE1pi5X4AhlBZm3q7a/nG3jJHpSK7efBjNk1kOfxUQazKnLCsiUi/6NTgn05t5oFy AOjpGgLXwZDUJSwHhljB/PN8enbNoPnKZEWMrcoecioEhGd5wZgHToN+sejqB0KxFamL 7AaOHmWlBqdtiC8XEwwMKH/bPlQihY2OmaNfFnSa1q/Yqg5U6MkGBi01dEY6T0XT4BKz aEwg== 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=173roPWl7qDsQh8/+7eLEMe8+gviUsk4ljw5WsOUqSc=; fh=X4XA/eXuPXIjavqhv0tSgPcDheJAfJyK52skIBG+pFA=; b=uibHIWs3m9sT3g2uDnXjPv0yACcl6MJRuX1g+XRH2myAVDggEYZVha+k+wWMurXCek RLcF4IBnaQCs1r7rOf6IJB9WCI8mIz/R7JM9OErEgd4ZP9WmBMosEmgFRdi9t3xxOuUM dy3TyeNny+NmDJq2Bb0Rk50KZbek07Ef7nXb/pZiQfHCexI8rtFBn7Ys4GAEqjF5ssfL v0DWq82SZNOQ986Au2tjqEPqgcVMTkomreqLyyF0nooYMJ471jxyKhohLfTPHXh2cDWR XB5wH/j03S90lIWeqAnz1JyLf7o8rxWIb2W+aqKgQGT3+67Frc62lZmN0AiIPLfpQK9P UWzw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=hzf2AMGH; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-154271-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-154271-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id b12-20020a056a000a8c00b006ed0596a70csi8899686pfl.381.2024.04.22.17.22.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Apr 2024 17:22:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-154271-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=hzf2AMGH; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-154271-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-154271-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 00C0BB27BA4 for ; Tue, 23 Apr 2024 00:06:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A88D3161B43; Mon, 22 Apr 2024 23:56:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="hzf2AMGH" 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 CDC391635A3; Mon, 22 Apr 2024 23:56:28 +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=1713830188; cv=none; b=NwsZWDnB04SRKBAXXQ6EUk3QxRo/xfrKLPZsRAlXC4XP2LrDjafMFadJ96sZp3hBM66pffEN22jSfsaVTbxjxmzm/sGCg7lTl9l9HOXSN7kEvq+6UE27C+24RhebzAmrfq5fl8TZttRz35poRDFT2cEZ3ajPYZ51W2FMQ45lvHQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713830188; c=relaxed/simple; bh=+JpMFQTdPsaUyqPBbx8fx1lOmW3fraQVX3DN1OV7NrU=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=nBZD4vwcCHFCLt025OMJCnT+tovWzcEg+JIUosfJTHZEWWfpwKzJ+N3XzYozp1neRP3ErXpR44rumq2cUctDDnbuC3f+uEnCTRAJHelyIuDyjw8/CIbmqwfzS+cdw8CiNDgOBQLUJjxrTw1+ghTD/KGEgMTEfIVgyhOuaanoPIY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=hzf2AMGH; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7A5E5C2BD11; Mon, 22 Apr 2024 23:56:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1713830188; bh=+JpMFQTdPsaUyqPBbx8fx1lOmW3fraQVX3DN1OV7NrU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=hzf2AMGHT0EDXkNDNl1+UFTSlqQoVFTFuJJrrfkoI44hqj9OaMJynkszfoxVcpogs VQzENu2PN3KIczPi6RU0FNc2hNfO41y2rESOwhM46XF4nf3cACk9afPiIQFaaCA8bj Cgg44IP484XTt5v1st1tH2H36gQKmR8g+6R262GfQJef3gslXKMjT5dtm4o7BdWnR4 XL0jXppUE99BPuOSyHOALAmmcUxZ+daZywbni4K6Jl25INTbcOBN2ZOz5cin0FsKEV pHt/pW8COKzAZvINwhJ35CDxZ88dbUgJ7dtwksAUg99xYkgRmkJ82QsE+kO9Kqh7Ld kVpJuU/KmMT/w== 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.6 10/29] memblock tests: fix undefined reference to `BIT' Date: Mon, 22 Apr 2024 19:16:51 -0400 Message-ID: <20240422231730.1601976-10-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240422231730.1601976-1-sashal@kernel.org> References: <20240422231730.1601976-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.6.28 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 6583a58670c57..dfde1e1e321c3 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