[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 28/30] x86/xen: Use kstrtobool() instead of strtobool()
- To: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>, Juergen Gross <jgross@xxxxxxxx>, Thomas Gleixner <tglx@xxxxxxxxxxxxx>, Ingo Molnar <mingo@xxxxxxxxxx>, Borislav Petkov <bp@xxxxxxxxx>, Dave Hansen <dave.hansen@xxxxxxxxxxxxxxx>, x86@xxxxxxxxxx, "H. Peter Anvin" <hpa@xxxxxxxxx>
- From: Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx>
- Date: Tue, 1 Nov 2022 19:11:41 -0400
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=VkIbyvWwmbnj/B3DsoogfaBnMNzGAXR5v/0NjEM6KvQ=; b=eQhoHuBfjWZ2rOIr4nd/H0U5j/E5RxkMbxfWt43n15WZewocZ3vJ+z371PN4b3nNGyHQdtMjp5ELagcg4AxQTeW+ydPNrGfP0/KusYhMXjPw1CinYwEF7mijWS3D6Fwd3WQ/SgbKI8NKGlH9mOvsEitk3JrQrCHZ3yUQ4FLQl0bJHrtSHD0OloQMYNSM7wFvwK3yLGrbtLnYebxYboLiDS54xWrmxsHEWshfr4H0fTfN0M+RvXllBUvC5WqSfX7byqBMbvC1RgXc3nCqIuGdyjuuTzA3USRpb8h6SB2m/i6/h7kcyc52U8++SMqI0+Sn8QLl3CnFziqQBNCX/oInjg==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=noYuJCqM2JfTZry7RbyNXUg8vOSp4Df+h5iQ548iJB/kJ4ElJ8TqFtvDGrPCbds6qwQS+xfu3/Wwxc1n8XpDEEeoxz4lsf5VYlXNmwokTA2ZiPZ1YSyk8XZ5YX/bGb5rG+BTKsOsimUlTbOZiZrKfuszRIUGSAlZB5EeU4rbZVa+5xw92KpL4Er4doIj27almxAt7ZBlpTMNIS9byYkg2fyT5GuZfCIicHlNJqoTR5FtaUgv3cgzCFJoCxPbSLbGitWQII7dUm2L3hJwGCsTJqTaCim80zYT+rks3eAN1KL8kX6aJTyAdpOPU4mHaoK3v7o/PeJ2nuHs/MJsqLdd0A==
- Cc: linux-kernel@xxxxxxxxxxxxxxx, kernel-janitors@xxxxxxxxxxxxxxx, xen-devel@xxxxxxxxxxxxxxxxxxxx
- Delivery-date: Tue, 01 Nov 2022 23:12:36 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On 11/1/22 5:14 PM, Christophe JAILLET wrote:
strtobool() is the same as kstrtobool().
However, the latter is more used within the kernel.
In order to remove strtobool() and slightly simplify kstrtox.h, switch to
the other function name.
While at it, include the corresponding header file (<linux/kstrtox.h>)
Signed-off-by: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>
---
This patch is part of a serie that axes all usages of strtobool().
Each patch can be applied independently from the other ones.
The last patch of the serie removes the definition of strtobool().
You may not be in copy of the cover letter. So, if needed, it is available
at [1].
[1]:
https://lore.kernel.org/all/cover.1667336095.git.christophe.jaillet@xxxxxxxxxx/
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx>
|