From nobody Tue Sep 16 12:15:00 2025 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C57EEC3DA7D for ; Tue, 3 Jan 2023 17:53:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238180AbjACRxg (ORCPT ); Tue, 3 Jan 2023 12:53:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48366 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233708AbjACRxa (ORCPT ); Tue, 3 Jan 2023 12:53:30 -0500 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 76FCFD2F8; Tue, 3 Jan 2023 09:53:29 -0800 (PST) Date: Tue, 03 Jan 2023 17:53:27 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1672768408; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=beUhn54vQ9yAxhGskxJoE0cbMUZA4bJ7XIpbzZYty0Y=; b=y+VTmE99cueCiL1I78JE3ewvTzfCxvKdKfcyxdyHG3LpzZTOZzi7EaDimbIvJw0vGzOjQI K4JPqxJAA6rFXfaSy4mKsJiRh9NbQFoTjMzaBZ68C+bDgSEmCdOo/JAP7zXNcx8HVjblEt fNO5luCHsYZIiSOCxaTDOg3Zb9HeerzYXXPUJfFIOl/WdVwANyrW5yYA9QKi4kfx6s3BpC ypn+EgnFG8iWoP67aw511Euc6sgA25WIuzMlaP3T5uWJGzActnst9hl2kR/sO6Ir4T01j8 97kqGhA1Xbzx6TAgtSIk58v2sxCNUfnJ44/nuNpHkiDb+qJmfEeKhkZ8gWYVnA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1672768408; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=beUhn54vQ9yAxhGskxJoE0cbMUZA4bJ7XIpbzZYty0Y=; b=Y1CL4aI9BlTZ+NG807+10MdMOPM2UFpj98KSw67Ebu+sXDnzX/aE2HN7bK3iWBBfc45e90 vGg+1VQl7hHbZsDA== From: "tip-bot2 for Anuradha Weeraman" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: x86/asm] x86/lib: Fix compiler and kernel-doc warnings Cc: Anuradha Weeraman , Ingo Molnar , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20230103114725.108431-1-anuradha@debian.org> References: <20230103114725.108431-1-anuradha@debian.org> MIME-Version: 1.0 Message-ID: <167276840783.4906.14619707136056889151.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following commit has been merged into the x86/asm branch of tip: Commit-ID: 65c24d7b0f9142c6acc9bd6dabeba22767077681 Gitweb: https://git.kernel.org/tip/65c24d7b0f9142c6acc9bd6dabeba2276= 7077681 Author: Anuradha Weeraman AuthorDate: Tue, 03 Jan 2023 17:17:24 +05:30 Committer: Ingo Molnar CommitterDate: Tue, 03 Jan 2023 18:46:21 +01:00 x86/lib: Fix compiler and kernel-doc warnings Fix the following W=3D1 warnings: arch/x86/lib/cmdline.c: - Include to fix missing-prototypes warnings. - Update comment for __cmdline_find_option_bool to fix a kernel-doc warni= ng. Signed-off-by: Anuradha Weeraman Signed-off-by: Ingo Molnar Link: https://lore.kernel.org/r/20230103114725.108431-1-anuradha@debian.org --- arch/x86/lib/cmdline.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/x86/lib/cmdline.c b/arch/x86/lib/cmdline.c index b6da093..80570eb 100644 --- a/arch/x86/lib/cmdline.c +++ b/arch/x86/lib/cmdline.c @@ -7,16 +7,18 @@ #include #include #include +#include =20 static inline int myisspace(u8 c) { return c <=3D ' '; /* Close enough approximation */ } =20 -/** +/* * Find a boolean option (like quiet,noapic,nosmp....) * * @cmdline: the cmdline string + * @max_cmdline_size: the maximum size of cmdline * @option: option string to look for * * Returns the position of that @option (starts counting with 1)