Message ID | 167276840783.4906.14619707136056889151.tip-bot2@tip-bot2 |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp4745275wrt; Tue, 3 Jan 2023 09:59:31 -0800 (PST) X-Google-Smtp-Source: AMrXdXuqreJsSF3fSkbYOHk82uZpn0EN5RZofRz2iqb5tfd0ipR0Fs/CnyPkOS9FICzCugG8oiR3 X-Received: by 2002:a17:907:c202:b0:7ad:b14f:dea4 with SMTP id ti2-20020a170907c20200b007adb14fdea4mr38665349ejc.14.1672768771526; Tue, 03 Jan 2023 09:59:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672768771; cv=none; d=google.com; s=arc-20160816; b=X2x4zGd8W1ipQIPsI6keSf4i1Z+itS/vyFn7D43GSlBIH4dVbW2vgg7darjZnaJyZY 6IEzWP506GxMekO+PZh9Bs74D/1cnsAMmRVx3NlwGc0ZYToKviHTHxc8jsbBrh2Bu78e qO0qYoTP0KJyG6Iz9tJ0OPIWtFCdbKkXneWW3m61T65E9SKdVmioCTUGCQejIUwgnOYI 93nVQM2eZjmJLqk3eU/NgAiQNMGVQmYY8III+hv7zKCFGO4eBGRi3U/XFDxcFhZKWD/S FE6G9hLR91/dpnGeZ8HWZ56UGB6U9lioQ+TSaFvwTS3CDXU9qnxDmo/fAriKxR0OXfgg kt/A== 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=beUhn54vQ9yAxhGskxJoE0cbMUZA4bJ7XIpbzZYty0Y=; b=C3pOAXGMak1QekdCZnurhHKv8WiOa+bkEOTNinjZtzMjbZjQ+DpHQj7opKcc2WTDbZ onyhVGkIh+PiI51P0dWNCfZQ1aGMtyafp289yxz1/tC3+J3UYqe8TM02eSM5yy1kE6am gq51zjmH6FuPkOokdZYKivdSRSk3DKnGf8pfTOZA8LGmU/KzXn30KWpQ+vDgXH3xxc9q zjHqeDVZga7KrWWcyzkiBluKHabQ2M6fISChZueNmmsXVshTm4ekEzD+Uk8Olnu7qbkz yJ1cJ+mXUOWNcSo99TkVMZDK85z4VpeEQPpzRQQTmOF8mjII0bAYm+8+NyjnmLwARO4F lmbw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=y+VTmE99; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=Y1CL4aI9; 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 hr21-20020a1709073f9500b0078dcd448f97si27236743ejc.801.2023.01.03.09.59.08; Tue, 03 Jan 2023 09:59:31 -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=y+VTmE99; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=Y1CL4aI9; 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 S238114AbjACRxg (ORCPT <rfc822;tmhikaru@gmail.com> + 99 others); 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 <rfc822;linux-kernel@vger.kernel.org>); 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" <tip-bot2@linutronix.de> 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 <anuradha@debian.org>, Ingo Molnar <mingo@kernel.org>, 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: <tip-bot2@linutronix.de> Robot-Unsubscribe: Contact <mailto:tglx@linutronix.de> to get blacklisted from these emails Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit 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: <linux-kernel.vger.kernel.org> 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?1754025187153326714?= |
Series |
[tip:,x86/asm] x86/lib: Fix compiler and kernel-doc warnings
|
|
Commit Message
tip-bot2 for Thomas Gleixner
Jan. 3, 2023, 5:53 p.m. UTC
The following commit has been merged into the x86/asm branch of tip: Commit-ID: 65c24d7b0f9142c6acc9bd6dabeba22767077681 Gitweb: https://git.kernel.org/tip/65c24d7b0f9142c6acc9bd6dabeba22767077681 Author: Anuradha Weeraman <anuradha@debian.org> AuthorDate: Tue, 03 Jan 2023 17:17:24 +05:30 Committer: Ingo Molnar <mingo@kernel.org> CommitterDate: Tue, 03 Jan 2023 18:46:21 +01:00 x86/lib: Fix compiler and kernel-doc warnings Fix the following W=1 warnings: arch/x86/lib/cmdline.c: - Include <asm/cmdline.h> to fix missing-prototypes warnings. - Update comment for __cmdline_find_option_bool to fix a kernel-doc warning. Signed-off-by: Anuradha Weeraman <anuradha@debian.org> Signed-off-by: Ingo Molnar <mingo@kernel.org> 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 <linux/string.h> #include <linux/ctype.h> #include <asm/setup.h> +#include <asm/cmdline.h> 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)