From patchwork Tue Jan 3 17:02:05 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: tip-bot2 for Thomas Gleixner X-Patchwork-Id: 38556 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp4724873wrt; Tue, 3 Jan 2023 09:09:24 -0800 (PST) X-Google-Smtp-Source: AMrXdXsSVHmJtbSfgd5U7HTPdGy6+wpscjt1mDgPPayK8ihxUXzDPGqPIUVcvEkemDGC9qUG+NUp X-Received: by 2002:a17:907:7da1:b0:7c1:31c:e884 with SMTP id oz33-20020a1709077da100b007c1031ce884mr52403124ejc.17.1672765763900; Tue, 03 Jan 2023 09:09:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672765763; cv=none; d=google.com; s=arc-20160816; b=iskBLiHvt6WwANCxDqGbAYcWfXdUmK/DM2p7qzM7qD8M9nXySRfgxiatKX2fMYltwB cKYZyaFU/FCKcFOxA/rZ2xyazewvph9aNJnivO3fypnyUTHd9iO9R6Qmh5TrZRiMWc8L nuTBvN3To4yMiNSTlMOYP5mIfmqXSWrSlGJ6FlZ2YNz1lSrSKMNfCvr8PedAsfkFnZ5q jU6DymMdcxbAZAGrKxZdK32z8YqI7y8TNaw7Mf8bOCL1xwxQiW8u0v6t11vovI6dqi/D Fft5ASnp/IjTGTlcHIY87PmnvO651nUhGIqlFEsZfpC2VUBbf8HRC4rYvQF6FNgFALPU MUZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:robot-unsubscribe :robot-id:message-id:mime-version:references:in-reply-to:cc:subject :to:reply-to:sender:from:dkim-signature:dkim-signature:date; bh=NbNZL1/2Oiy5t6PrYaYGRIsq5R0jMZs5rC//ELbFRzM=; b=ypvPpjf6LnEFm2K+xaYu0d9/7pR74hShK6lI3xMq+r5yJhHL/wNkSYLswye7hdPz23 +iR8zb/5HSrfc+WtYW6mmOM+DR/7P/DD8ZSPWjkKUYo8MEmqBajgaF61wG5PW7FQQ7ME ZNnARfRhOZjW1tyyzQi0rZ3H5pf3lPMhDxm/bgJ6nkJSCyW7ydjPiF+mPiE0zVlg9n8o JpddH+l8qXFSZLZbv1CPcL87X8S0deWgx5lArtWJYHdAQP4ovtkJ97CTuldw7AmiGHUr AGMNcDOg9HivZSj1t2KWTrZu8g97TiR1LYDn4oSbU31Zc78g7HH8Wz0Wqk9GddhHL+Dc +3Bg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=TNYIJvGp; dkim=neutral (no key) header.i=@linutronix.de header.b=1t6X4m25; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id sc36-20020a1709078a2400b0077f3a9c58e2si28612791ejc.6.2023.01.03.09.08.59; Tue, 03 Jan 2023 09:09:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=TNYIJvGp; dkim=neutral (no key) header.i=@linutronix.de header.b=1t6X4m25; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238562AbjACRGx (ORCPT + 99 others); Tue, 3 Jan 2023 12:06:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46684 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238458AbjACRG0 (ORCPT ); Tue, 3 Jan 2023 12:06:26 -0500 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 81ED113D27; Tue, 3 Jan 2023 09:02:29 -0800 (PST) Date: Tue, 03 Jan 2023 17:02:05 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1672765325; 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=NbNZL1/2Oiy5t6PrYaYGRIsq5R0jMZs5rC//ELbFRzM=; b=TNYIJvGpuQwWmnzUvVYVnhSEdmUuw/SyTdiFvQwEMEp1uCD3i/2+aXvvGSEqANqTgw7DxW +53YKF8x94VexfUCcI8pThiwZwK6VqsuSP/JIkVlTWZW6nls9iI7F3vIe3qnVoeoc4xoMV pcnqvhv8kdKrMLwvz3rwJwDEIt6inLEZyg4np02ZISmqWD8101cfONdMyf5GiuMljWm9b9 +tWml/ti89GvGFrFz3WtkKHmIIGAyYl3gCJ2c6yoc6D+9f0bPZi1lyTXbt00CozrBTriRb vwHsKIYLeZ0FmujN7EJzSqwHB8BKblFMVRehghJxUqZ9rQyTCEW0HbtXs1375w== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1672765325; 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=NbNZL1/2Oiy5t6PrYaYGRIsq5R0jMZs5rC//ELbFRzM=; b=1t6X4m25ig6UDQKuPKFIvKKEolexytJu2Y8OUkC5URrfHJjcs67mQp/Z6j3aVXxH0Rwj9T lZ7NsdP78axbSfBQ== 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: <167276532531.4906.13323918838111480270.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1754002072467437101?= X-GMAIL-MSGID: =?utf-8?q?1754022033392208938?= The following commit has been merged into the x86/asm branch of tip: Commit-ID: f843bfeee3d95782677569856ea7f33b87bfd3d0 Gitweb: https://git.kernel.org/tip/f843bfeee3d95782677569856ea7f33b87bfd3d0 Author: Anuradha Weeraman AuthorDate: Tue, 03 Jan 2023 17:17:24 +05:30 Committer: Ingo Molnar CommitterDate: Tue, 03 Jan 2023 17:56:08 +01:00 x86/lib: Fix compiler and kernel-doc warnings Fix the following W=1 warnings: arch/x86/lib/cmdline.c: - Include to fix missing-prototypes warnings. - Update comment for __cmdline_find_option_bool to fix a kernel-doc warning. 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 static inline int myisspace(u8 c) { return c <= ' '; /* Close enough approximation */ } -/** +/* * 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)