Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp3008191lqz; Wed, 3 Apr 2024 15:30:33 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXH0ooFCzIqdQwfvMsrzKFkgGku/dOIUOrj6GuGZyFyZg11SEl+3tvRqGAMLGk2BKXJviV6j05AAnii4CUta5srZdbjyaiXozUuaE8DzA== X-Google-Smtp-Source: AGHT+IFcrwo40hLk/gnIAslLAE4QL5kRxd5FBCB8TExmU6FF1msC0pzymRj7d7c/bgc/rAeuUo1H X-Received: by 2002:a17:902:f547:b0:1dd:c7fc:2b16 with SMTP id h7-20020a170902f54700b001ddc7fc2b16mr605131plf.68.1712183433523; Wed, 03 Apr 2024 15:30:33 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712183433; cv=pass; d=google.com; s=arc-20160816; b=KTfoOaFAFAlfNnrVrrhCosyv6DsERP/LcVpy+rq9AL/qTfc17wFYft02yJaz4seRMA 0XFY5a04HcdnoGo6C7IaVfxCKOIJCCr/EosPyfvauaZQCsxnnWvIjfuGioRXXgskkJCE wP0uqkVw7/mA5QZ0RLL/fsQ96qpKq0QRhPVM+ZSiKWlA4JA/GvtnO/Fp7Yys7V1ONKeT AjaHmnD3QGQLgajuxz9pG8rLOnlRl0dBOgspEe92yx0XKcdiY5pII8PrRmSui1AEOHYx o7BSmXmDgbEToTAkR5tJ+L9ZXWFIC9lY2Ar6sRhi0KeSAmTUu4AGifybWY/8tWW3PioU RB0Q== 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 :subject:cc:to:from:date:dkim-signature; bh=445p9JdK78uADLOpVw6sBwely2+2me4/EzPLhj+k0po=; fh=D4ijFNnrUFRmEWriJwLcmh03+7HFiUryKAqJjHXExg4=; b=aCOGDDeqEn/d+8BxmtFPML+JBTXeWAdK4pNcI3W1vGYHJeCO6/rfgbh5EKaOjMGUYv yRESmvVLMooBgOxXjE7EI2eFPAHPyWTG2cUW8fU1qaOgnE3GkJ3jdARZSuZ3jYoqdMIY +bbLBqYSs5S/6DaLs2YQ6zZ3X6Yhg167vMblb3ly4JQvBb5pv8UMMzeqykAmeoDGavNj 8MAEcRhZoTxgidoEBryx2cpll8abe5dZNulzIwmedAmlBpJyzuUlREn6PdVOpj97k7YQ q+WXjhLIRnOSJvqtkKoB402xT17MIQHjoTlRqJUPqHFIHSxLoFFIJuhr++IwU64Y6xvY z/mA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=korg header.b=m5etxihm; arc=pass (i=1 dkim=pass dkdomain=linux-foundation.org); spf=pass (google.com: domain of linux-kernel+bounces-130687-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-130687-linux.lists.archive=gmail.com@vger.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 e6-20020a17090301c600b001dcd4f9fd0dsi3287680plh.455.2024.04.03.15.30.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Apr 2024 15:30:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-130687-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=@linux-foundation.org header.s=korg header.b=m5etxihm; arc=pass (i=1 dkim=pass dkdomain=linux-foundation.org); spf=pass (google.com: domain of linux-kernel+bounces-130687-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-130687-linux.lists.archive=gmail.com@vger.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 311B62857E5 for ; Wed, 3 Apr 2024 22:30:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0F91A42A80; Wed, 3 Apr 2024 22:30:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b="m5etxihm" 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 E642C79CE for ; Wed, 3 Apr 2024 22:30:27 +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=1712183428; cv=none; b=sI6ziel/NJ8kbIxzqOpuiQwC/JEbryzjmlpn7cwWbUSuuoSoP1vwr4BDFKvd8eTUck2UJaYCRgwYsWSolzW90zMaH8TXEeRWMspOiT1MDyFFie+12RN1WeJTwByzWtkJIjpx2zO3/oozbxJ1P7OTpTJC6eTwOhNb7LVj+k/PsP0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712183428; c=relaxed/simple; bh=NmvgbW7Sm0mAm8nmqZZnMBpYjtRAf35SBOpTAb2DvFM=; h=Date:From:To:Cc:Subject:Message-Id:In-Reply-To:References: Mime-Version:Content-Type; b=b0xVR8QqkILSqMi/B+HpO0EZGFgp3TLu6Bir9Wzpb5ujPXxofdddE4oneRg7cBB6KKEaT9UCtVnsfUuAK3thvvymeZUdNDRTFAA+NGjJmAPvQ4pOvjDKOjuIWjPV8LpghIfnCVDwgVocJttukcvEUZcANLcIAlEf2N+W3ojIM7I= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b=m5etxihm; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4EF32C433C7; Wed, 3 Apr 2024 22:30:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1712183427; bh=NmvgbW7Sm0mAm8nmqZZnMBpYjtRAf35SBOpTAb2DvFM=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=m5etxihmQOvcb9UVNcbjrO63Ix2qyAx5+BU0CantyCTeW3nfSbLLG9Vj3cevAZS81 wIanup+4rk097w4C+d6SPb8CTo22pZeCYp5WwpfcCzsLxC9OutEUhMEaAj+9yZiRlX xkmYZ3B2eVuVOI6g5xfSJxNASGIS7ACSJDItWemQ= Date: Wed, 3 Apr 2024 15:30:26 -0700 From: Andrew Morton To: Mike Rapoport Cc: Wei Yang , rongtao@cestc.cn, linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: Re: [PATCH 0/3] memblock tests: fix build error Message-Id: <20240403153026.67f05e557304c97078a3e13d@linux-foundation.org> In-Reply-To: References: <20240402132701.29744-1-richard.weiyang@gmail.com> X-Mailer: Sylpheed 3.8.0beta1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) 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=US-ASCII Content-Transfer-Encoding: 7bit On Tue, 2 Apr 2024 22:09:47 +0300 Mike Rapoport wrote: > On Tue, Apr 02, 2024 at 01:26:58PM +0000, Wei Yang wrote: > > Some kernel change break the test build, just fix it. > > > > Wei Yang (3): > > memblock tests: fix undefined reference to `early_pfn_to_nid' > > memblock tests: fix undefined reference to `panic' > > memblock tests: fix undefined reference to `BIT' > > > > include/linux/gfp_types.h | 2 ++ > > tools/include/linux/kernel.h | 1 + > > tools/include/linux/mm.h | 5 +++++ > > tools/include/linux/panic.h | 19 +++++++++++++++++++ > > 4 files changed, 27 insertions(+) > > create mode 100644 tools/include/linux/panic.h > > Andrew, > > I can take these via memblock tree, what is your preference? I'm seeing no conflicts at this time, so go for it.