Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp2071484lqz; Tue, 2 Apr 2024 06:36:47 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXCV3dF1u+0BZ1YS0pRfoqxDbOM+FZAvv3eZlJkJ/Np85OHBjU1dwF+f44aBTiM5QnTDSzVG6rqw98twSqZRMIHEAzVjyBIVtnJhL1Uhw== X-Google-Smtp-Source: AGHT+IExuaLElYEo2a7YAg+da/f6zD3EZ+uiRiBGFLq8v/Eq5hXlWxjDGgEEkhpnLQhnrVymOXmi X-Received: by 2002:a17:902:e5c1:b0:1e0:c37d:cfcb with SMTP id u1-20020a170902e5c100b001e0c37dcfcbmr16737650plf.49.1712065007450; Tue, 02 Apr 2024 06:36:47 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712065007; cv=pass; d=google.com; s=arc-20160816; b=i7MlVOu8mwnGVdWkN/ZSkuDYgYucWHido37PvaCZ/LKufLbezJLe90rTujziv/Wa8e ZAz1cJgZuf209uXuwSkw5FJJQXghLjcupVBesSd3vHcDhGPMvfPPDcoKI6hhF0JhUHJi NbWDv5vJoL8NAn0QaDYGLyzlZZMeMHqw+ZuH7bGzo3jip2LJSWKfypbaaDhKJXTN7Rmv FW6XO6NWMxjSPtlHkOuL1k2ehtSuI4btB+G/JGnaNSmixUmnY1LRBwrZFl3MymVuBp3G QVrpM2x33CYnOJlq44aRzlEi3qaIL9uxf0yA+miSTTaqVwIM2f5UCM3swgnnKtp5d1AS 14Yw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-id:precedence:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature; bh=B6ALcUhn3bkfonAFTQyhGpgkfckA9UhL/OB/3gO2UMI=; fh=AXeClxtvb0NbOmP/pirCj4V3vm+BtKje6h+YR3tRaKQ=; b=EYMVwVFfvBqvlS0BUuJ1P+35fJ5v+bBM1gXYLgkbMNUTpFvucJf9xhNBzeQEttUT05 T5IomwosDuFIKJjTPb3qkprLYx8+B2N4XltpbOx7L9vJb2I9FL+Sz3Mh1Vp5sQ+H4i3l 8KdrDwevP41d0ylO7iYj//LFZNdDm/FqZJVJV/0QxUFf4TFuIr6siiVESgtuQvViMmCA 7pMtUxMQs5p7i7FHgxT16cgkJKmy1LKr6LyF8ymj4vJeAJVFmciRWidlD2qRK8mH7Zho K2ijer9ePnq96n0EWxUgK90CO5wAT1+Ob7IHV4JQD8R6e+2iJ+BSYbMFyVJbKNPmziP4 sVjA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=C2u4KHOe; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-128047-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-128047-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id c11-20020a170903234b00b001e2623d9c0csi1894176plh.423.2024.04.02.06.36.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Apr 2024 06:36:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-128047-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=C2u4KHOe; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-128047-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-128047-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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 40A2628F3D4 for ; Tue, 2 Apr 2024 13:28:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C85CE86ACC; Tue, 2 Apr 2024 13:27:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="C2u4KHOe" Received: from mail-ej1-f48.google.com (mail-ej1-f48.google.com [209.85.218.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 43A5583CDF for ; Tue, 2 Apr 2024 13:27:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.48 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712064444; cv=none; b=jJDojviGcpp4D8NpAkUItGgo3jmkAhd8TBUvwgAztcuA8fz8eyGwHRqIAfaDyvNIYxd4fYJoISAztF8Dg/c+5zOoWrFUkzFBspx2vFfvERFC0LzsMkz/a8prClAulhKBepHmyui6bjT48CGt5f8g/58WMKlx0qOmhsbehM3/VSI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712064444; c=relaxed/simple; bh=Gpl6+RFGBVOtKmVuE3aToXQdg4cMocS4faBp8f2P3lE=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References; b=q6RE5QuSEvUI8bsF2s3YoC3CGCuHv4S14NCSe7ogXPA8D+FI2R/nFM3HyhweHjP/36tG4LXFuPwf3KKpKQNpQ4ANFNd0HKwqeywTCtUFHqkNDcEBtet3epac6MTWXCrSVp0/mgG30zWGdPH3iX5vRXDpqmhQlzOljSNQUtd4y9A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=C2u4KHOe; arc=none smtp.client-ip=209.85.218.48 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ej1-f48.google.com with SMTP id a640c23a62f3a-a46ea03c2a5so939079966b.1 for ; Tue, 02 Apr 2024 06:27:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1712064442; x=1712669242; darn=vger.kernel.org; h=references:in-reply-to:message-id:date:subject:cc:to:from:from:to :cc:subject:date:message-id:reply-to; bh=B6ALcUhn3bkfonAFTQyhGpgkfckA9UhL/OB/3gO2UMI=; b=C2u4KHOew0lGMerx6DCG4RZVdXYleYjz6F7Ayspa7IH1oRhx4ht3DCB1Pha0xARfR5 21Ao3mbo04NXOWQ8l6TV+AI5Oc5JFPotkFQmihMnoIWV/0htaWOCIx4PRe5N+3banCDQ zqiBf6BKoencmdAXD2g+mF1KB/xgbhwP8eNA2GDcaAqnmPAR2D3DtDMbEaANNvAS+9HC vibph959qf4MK1U8Uw52/7XEEelIefWXftoflwZ+/KExWH21yUK/nuEi5RSLpLhpDLzV IXl1vrU57JJglxypjcjTdJHZJU1v90aO83k5jh28py+GgSrs96TDoqFwrq01MeE7CU61 htpA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712064442; x=1712669242; h=references:in-reply-to:message-id:date:subject:cc:to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=B6ALcUhn3bkfonAFTQyhGpgkfckA9UhL/OB/3gO2UMI=; b=fxPqF7YfT1l68sH1jRXOyewxn/6hBwf3AD94QMS7mVqQDw5rpAaT2cQdNSqrCzPEgB BECl4WZvwCi1Sq+IBX7EbyJ7Bjd5Ab4RPRr+2TQ7/CCMO7Qzg0/37yLaDIwEDVRjuHWT lajqQODozuuPXIvAB/1zWRD+4RZmM6TXEzsGA46qjRmm61tKVFcVv9woVdsCAEph6lE1 HPFndz9S92eCI7DE/TvRM0byOrw3inra7/vN6hyXCT1Rs5vOOoIXJ6Igz5qBYL5UO11a RiN7m1BFmUVcol06JPifWcW/yXVjA3RYQ7Y8Sbez9NWAm61Pth88RvWrqMCzT2xYA0ON RFkw== X-Gm-Message-State: AOJu0Yy6yby6aoLqrMfA/h5W+QWWsBl4gfyK4xVaS/PGn3gVCAbupm90 o4H/67FbJCY3U5myVy0EGqxjJOKq8aXoBWG2b1pWm2TsBnAiRkxc X-Received: by 2002:a17:906:2892:b0:a4e:7d0e:f62d with SMTP id o18-20020a170906289200b00a4e7d0ef62dmr3372904ejd.13.1712064441572; Tue, 02 Apr 2024 06:27:21 -0700 (PDT) Received: from localhost ([185.92.221.13]) by smtp.gmail.com with ESMTPSA id lw7-20020a170906bcc700b00a4df01f4232sm6534084ejb.189.2024.04.02.06.27.20 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 02 Apr 2024 06:27:21 -0700 (PDT) From: Wei Yang To: akpm@linux-foundation.org, rppt@kernel.org, rongtao@cestc.cn Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, Wei Yang , Suren Baghdasaryan , Michal Hocko Subject: [PATCH 3/3] memblock tests: fix undefined reference to `BIT' Date: Tue, 2 Apr 2024 13:27:01 +0000 Message-Id: <20240402132701.29744-4-richard.weiyang@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20240402132701.29744-1-richard.weiyang@gmail.com> References: <20240402132701.29744-1-richard.weiyang@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: 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 --- 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 868c8fb1bbc1..13becafe41df 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.34.1