From patchwork Mon Jul 29 01:47:24 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wei Yang X-Patchwork-Id: 13744141 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 61F8DC3DA70 for ; Mon, 29 Jul 2024 01:48:07 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id E09646B008C; Sun, 28 Jul 2024 21:48:04 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id D91B56B0092; Sun, 28 Jul 2024 21:48:04 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id C5A4E6B0093; Sun, 28 Jul 2024 21:48:04 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0015.hostedemail.com [216.40.44.15]) by kanga.kvack.org (Postfix) with ESMTP id 9785B6B008C for ; Sun, 28 Jul 2024 21:48:04 -0400 (EDT) Received: from smtpin11.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay09.hostedemail.com (Postfix) with ESMTP id 221368018B for ; Mon, 29 Jul 2024 01:48:04 +0000 (UTC) X-FDA: 82391104488.11.6357E8C Received: from mail-ed1-f48.google.com (mail-ed1-f48.google.com [209.85.208.48]) by imf05.hostedemail.com (Postfix) with ESMTP id 6C0DF100010 for ; Mon, 29 Jul 2024 01:48:02 +0000 (UTC) Authentication-Results: imf05.hostedemail.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=TbQZZ1dW; spf=pass (imf05.hostedemail.com: domain of richard.weiyang@gmail.com designates 209.85.208.48 as permitted sender) smtp.mailfrom=richard.weiyang@gmail.com; dmarc=pass (policy=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1722217656; 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=CpgebY8Z1HRyJ44c4tIAmx1DzA0f/H5u7Pa3OF/WxPc/jqpsybK5iyuaP6YC0O2FbHliUu Hdfxo7yLD2Swkb78cgmGk21OENxjgHZ4aponmU2+bchi/sb4PnrHKxToYl/knuVpYHCD9p xsXl1U11OAJzRs08BrEkp8aOjH5t+Ik= ARC-Authentication-Results: i=1; imf05.hostedemail.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=TbQZZ1dW; spf=pass (imf05.hostedemail.com: domain of richard.weiyang@gmail.com designates 209.85.208.48 as permitted sender) smtp.mailfrom=richard.weiyang@gmail.com; dmarc=pass (policy=none) header.from=gmail.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1722217656; a=rsa-sha256; cv=none; b=u5K2ncjtUtHHeNdprLNwr4nXZ1b6BlVZd3B1g3FOIYkpVqtpUG888I2yr3SZDLAwgB8ezv fFn2Klk3qocMETTwehdI6cJaiKDy9e3aQVKPfh+Ixm3n33xdMfM4Myoz5sMKtJCCnSHyda 18BHlHZsiSK3W8miNeVtW0Hm6P9Dzes= Received: by mail-ed1-f48.google.com with SMTP id 4fb4d7f45d1cf-5a10835487fso4849084a12.1 for ; Sun, 28 Jul 2024 18:48:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1722217681; x=1722822481; 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=TbQZZ1dWbs8sKZeW+Hevf4i7aHAVhRDa/TugO4Td94cMIDeHFLNVrCWzKTVj1fefZS XFTbe8BzYcSOA9Hg8FgUCxBGmHvD+cyTzXjPpoEGGAmwrulziTZVMLKFwnjlevXMVKPl 0bmH0AwK5EgHFf5Uvkae/JTLTw0X9V12iJE/sd1h+KGCliyjGU3HnGiXxUVytUa3/L+g cjnipeZThTedIinSL0kc4SgFdi5zreZu2JmkHEviA1msQbQIukJ3pLTtYtDxND9j/3c8 UhaxxeG+Yrwnaw9Nckulg7FShFqaMKyBku2tZzEtAoiVZbixDQcHA5jCYre4CEBThwC5 Vrjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722217681; x=1722822481; 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=e2fOntsqtb0hHeE0V1YD60QQubZTwjel5MXEBDu95uRMYWcyLqS2XWwmUlFPjQTOJ3 TJ9TUmSwW4s0jylHaztMVOq2CiKHttT0glaHvB8ymOAw9KxwwVRUCRfaxWXPn7JoRFmf XySXRAVYZEFqMekb9n2asBI91dEthaOHDYa1RsLwp+Rw7vyw4AclBJr+EcT0/gSHfCHt QQVT+Sqhj5I/Jw6Nf9IZxWdgZyEiSlRKqRChdSGoo/78oRNtG3Q5SOkfZniDhzHfoWWT nrdLgK4mSwfrXW8IHTyVbA784oltikZRdM/U8MVl88LP8EvQI8wAjcCNHnoewt1niGD2 JccA== X-Forwarded-Encrypted: i=1; AJvYcCXXrKYkoRMyBHlgZKjJYJ3HA1A5vpLXqgJAZjVP68Mhrl6701RGoXOZNQRgtHh+FCwTKHKSDX/Ig1h0rMFHnWcV4uw= X-Gm-Message-State: AOJu0YzK+U3+i2OtbTnXbDKG3mR6RPeBT+ztYSoHtFBtqD4y2+inMNPx /UrK1z+S//Am8BHM7ztmqjB7jRgs+xWvzi7iBe/JLbkWxIWIqMRO X-Google-Smtp-Source: AGHT+IEFJ6tmkCvSL23OSnviSOViPBwZPbf4kVXdAQwudZZrtBsj2eqZoqbLQEvM6RBTWkHdxZvgUw== X-Received: by 2002:a17:907:1c19:b0:a7a:a5ae:11bd with SMTP id a640c23a62f3a-a7d4019b3e7mr468705966b.67.1722217680572; Sun, 28 Jul 2024 18:48:00 -0700 (PDT) Received: from localhost ([185.92.221.13]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a7acac615c0sm444792066b.97.2024.07.28.18.47.59 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sun, 28 Jul 2024 18:48:00 -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 v2 4/5] memblock test: fix implicit declaration of function 'isspace' Date: Mon, 29 Jul 2024 01:47:24 +0000 Message-Id: <20240729014725.29839-4-richard.weiyang@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20240729014725.29839-1-richard.weiyang@gmail.com> References: <20240729014725.29839-1-richard.weiyang@gmail.com> X-Rspamd-Server: rspam03 X-Rspam-User: X-Rspamd-Queue-Id: 6C0DF100010 X-Stat-Signature: aw7c8doqx8knyriaixd1zatjgi3dbyu3 X-HE-Tag: 1722217682-14756 X-HE-Meta: U2FsdGVkX1+d0eT/dqgVtMQTSYqQLSSHT7+oIZmmMYxH7t8PxMeNVX7ekbMrlxcDF03eWqx0AledUw7SjbRVayypEolWUwDH9A4T38s1vqXgejBjVAyll9dUuiGe7ALkXJsZ4UwPSqzrziPENzGRGzfSeM0Ugf63PDRx5cdtINSWtOtaj/I58m2Xqn1Aex+qDSCZ0i+Jqw3KzzQfgxyGyHSuC/rC+n30cBihFAJzbOQO+W1uo3fIKabwXS1tDlolwMQez0IknZlFMfI43c+mJx32Jeqo3aAjXKW8ZTL9xGjXBxQbxCAcHiquYxNmenkzfEZtHRNkfIzoUXB+nR80MoRPEAAfgaQh3xS2UZmq9Vuj+UA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vjavWO6+8siMG4lfHw= X-Bogosity: Ham, tests=bogofilter, 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