From patchwork Fri Aug 2 01:09:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wei Yang X-Patchwork-Id: 13750997 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id EBC14C52D54 for ; Fri, 2 Aug 2024 01:09:44 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 5E5536B0089; Thu, 1 Aug 2024 21:09:41 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 5959A6B008C; Thu, 1 Aug 2024 21:09:41 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 40DD46B008A; Thu, 1 Aug 2024 21:09:41 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0011.hostedemail.com [216.40.44.11]) by kanga.kvack.org (Postfix) with ESMTP id 288D16B0088 for ; Thu, 1 Aug 2024 21:09:41 -0400 (EDT) Received: from smtpin05.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay01.hostedemail.com (Postfix) with ESMTP id B7B2D1C2165 for ; Fri, 2 Aug 2024 01:09:40 +0000 (UTC) X-FDA: 82405522920.05.E48F8A9 Received: from mail-ed1-f49.google.com (mail-ed1-f49.google.com [209.85.208.49]) by imf12.hostedemail.com (Postfix) with ESMTP id EEF494000A for ; Fri, 2 Aug 2024 01:09:38 +0000 (UTC) Authentication-Results: imf12.hostedemail.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=MJZ25faq; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (imf12.hostedemail.com: domain of richard.weiyang@gmail.com designates 209.85.208.49 as permitted sender) smtp.mailfrom=richard.weiyang@gmail.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1722560932; a=rsa-sha256; cv=none; b=buyw2MkXHrCU5//Nv3CX/yWuXYddmQ/dnI2+lPMZCkPUZwHn3fdQCwpvpbIFtDm/UaZtWz nM6TuLE5BJP+ZcRTzTRBODJpIvzckOoJczRldiiFwKhxmp/xQu7//fvXMsr7s1KvsZna+4 IqtdKU6Np3ketPI3pQlZlpbKsbwviJ4= ARC-Authentication-Results: i=1; imf12.hostedemail.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=MJZ25faq; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (imf12.hostedemail.com: domain of richard.weiyang@gmail.com designates 209.85.208.49 as permitted sender) smtp.mailfrom=richard.weiyang@gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1722560932; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:in-reply-to: references:references:dkim-signature; bh=3+JPYPQt1yTaGk3WXPjbRRDMHWDKLDoRYgnwrc901qQ=; b=eijy/gSw96Dz/HvQZcyi0kohyhl+C1uImbXh3+VHrGSUOqjPKbIOpxRbiC6xrxlKyKi9/8 VjF0AjxoPjy6L/C5b4AkAjx5WwkfUcodaWyiIWpJHKnb2hrphH4x1l3shB88mSHsRPqa1o edbY7EeBLMpYuxJHRB+0mqrW82KBxBw= Received: by mail-ed1-f49.google.com with SMTP id 4fb4d7f45d1cf-5a10835480bso10900038a12.2 for ; Thu, 01 Aug 2024 18:09:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1722560977; x=1723165777; darn=kvack.org; h=references:in-reply-to:message-id:date:subject:cc:to:from:from:to :cc:subject:date:message-id:reply-to; bh=3+JPYPQt1yTaGk3WXPjbRRDMHWDKLDoRYgnwrc901qQ=; b=MJZ25faqJJj08XvlvUhVIzLdrJzaCNx3iNy/HuxJxaBb3RgJPs0V5/o1ljViIcgQsR UJfrlovsBtPRQs4AIe3TFOXmpNVFS4nCzhlThvbEtcSUsUmOjwK80DxYBgesWpV38Wtj q4ejqkWmOwPhhbb/3g3M4SNnbkHvy9dJaBNMsDphEG1xV0+SnOvl0oFG+SnjTszCz82a TfHw5qwf3/3rNypZeoLbopITJGTotyP3dLJTz3Ds4sk6fpDHTy775CThGUu347vTds/K fntZfertvmWNzJel4vNXNt0JQZAS71NcS2qPAjeXEGOCG87C7iuluEz8BE9gjFRlKJ1u LFLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722560977; x=1723165777; 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=3+JPYPQt1yTaGk3WXPjbRRDMHWDKLDoRYgnwrc901qQ=; b=V0F1luI1bumOW9JBJG+ARmkDaYUMs27FakufUqpGuz5sNw6lV3hQP9Vnzn4OGSWtn5 OF47uTbNYGnw4zBczBEg4l05OMppbmkeuh5CzrUX7iZ3iAhb8mzInkiBqm0LW6FnC/Vr P+3LDM2Def4iFuu3TKxlYnQpPtgRKp8q+/reyKaRNIHq/03Bodfs6Isf4f2IZ5h/13ew pxsiUkoZa6HfnA4gV/2HIDhG1O87yEpwGhDYNNa4kF4ufk0LeHdqk+QVkmG8qyPl9orN kX5A46XFz+YckK42QwbnMaF7uz7fBn5C3hbbfq+9go3QXe5Xq4poLrBSEsAn3lmKsrBU 3BwQ== X-Forwarded-Encrypted: i=1; AJvYcCUxXrkBHbWIrkPg1cyf9OG2nLXWpLL6TNVCf0eyIJjQCfwWhAZlTBYJtbxBN9+cZ5CmK4BJDCM5/UiEOAsmXcMB8yk= X-Gm-Message-State: AOJu0YzItO+f45tuXTev+j3aibQpHqSbySBEyRkUwv6keue9j9akgBoC 3caj3Lg5G2AOvdPN+9Uc8mnFfksphV3bmlbH0rtK6WZ68dJYnOsh X-Google-Smtp-Source: AGHT+IHH9gnl3KVlZJuaWCLeBUtTiHBLMppMhdSgZyiqE3c4pDFS+dgOTRi8caOWBu6UptY9DHlNxQ== X-Received: by 2002:aa7:d604:0:b0:5a3:76e3:1dc with SMTP id 4fb4d7f45d1cf-5b7f39e043bmr1346910a12.10.1722560977346; Thu, 01 Aug 2024 18:09:37 -0700 (PDT) Received: from localhost ([185.92.221.13]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5b839c2a61csm406639a12.36.2024.08.01.18.09.36 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 01 Aug 2024 18:09:36 -0700 (PDT) From: Wei Yang To: rppt@kernel.org, richard.weiyang@gmail.com Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: [PATCH v3 4/5] memblock test: fix implicit declaration of function 'isspace' Date: Fri, 2 Aug 2024 01:09:22 +0000 Message-Id: <20240802010923.15577-4-richard.weiyang@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20240802010923.15577-1-richard.weiyang@gmail.com> References: <20240802010923.15577-1-richard.weiyang@gmail.com> X-Rspamd-Server: rspam12 X-Rspamd-Queue-Id: EEF494000A X-Stat-Signature: aifq8458bm8hxesj7yyd1ryhi4osdgjj X-Rspam-User: X-HE-Tag: 1722560978-626336 X-HE-Meta: U2FsdGVkX18SoiwZ8DipXRDJLrjZxPDdnaMn/ievY377606oL3JX4jB6rDpixpekwZ0w30KC7+JcJdJtxXjmOIruvZFlyk40jZigu2uzHl+E7YPMt8aC+M3c/j4Khgf0MWsdZJ3eRBDeLxu8nPpn1agUTk3SYz80GlpSA0yx63MmQG0j09hmf98fY9llRcuBrbu6ZUVlFUbanjE4WlRfN3l67G3mQ6MZPeh8rdNOhOLLltdE8AsodZhljWSMnfTp8FgiNeRicseJ/+5Me0mOAe0nYTP2TXwDY9BxGY5CPtAMs69EKybPwLGAeN6leZlP9ioE/5djMxGW0IaeeAgnTM7iGwP3C30Dr7ZKU3hAND1DSRYVz30Vt27zAooAv2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ter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: Commit 1e4c64b71c9b ("mm/memblock: Add "reserve_mem" to reserved named memory at boot up") introduce usage of isspace(). Let's include in kernel.h to fix this. Signed-off-by: Wei Yang --- v2: include ctype.h in kernel.h --- tools/testing/memblock/linux/kernel.h | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/testing/memblock/linux/kernel.h b/tools/testing/memblock/linux/kernel.h index c16d9cd2d1ae..4d1012d5be6e 100644 --- a/tools/testing/memblock/linux/kernel.h +++ b/tools/testing/memblock/linux/kernel.h @@ -9,5 +9,6 @@ #include #include #include +#include #endif