From patchwork Mon Aug 14 07:08:37 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?SsO8cmdlbiBHcm/Dnw==?= X-Patchwork-Id: 9898181 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id BD0216038C for ; Mon, 14 Aug 2017 07:11:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B038D26E1A for ; Mon, 14 Aug 2017 07:11:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A50AE27F85; Mon, 14 Aug 2017 07:11:06 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 40D4526E4A for ; Mon, 14 Aug 2017 07:11:06 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dh9Us-0003p4-Q6; Mon, 14 Aug 2017 07:09:10 +0000 Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dh9Us-0003mw-1N for xen-devel@lists.xenproject.org; Mon, 14 Aug 2017 07:09:10 +0000 Received: from [85.158.139.211] by server-5.bemta-5.messagelabs.com id 09/E0-02177-59C41995; Mon, 14 Aug 2017 07:09:09 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrOLMWRWlGSWpSXmKPExsVyuP0Ov+4Un4m RBpdXaVl83zKZyYHR4/CHKywBjFGsmXlJ+RUJrBktL0UKLrJXtMxsZG9gnMbWxcjJISFgJPF2 4j+mLkYuDiGBhYwSEx/NZQdJsAmoSmy4fooVxBYRUJK4t2oyE4jNLFAocbK7DywuLBAsMXXzf UYQmwWofs65PmYQm1fAVOLS+VfMEAvkJToOTGYBsTlB4vuWgtlCAiYSfVu7WCYwci9gZFjFqF GcWlSWWqRraKaXVJSZnlGSm5iZo2toYKqXm1pcnJiempOYVKyXnJ+7iRHoXQYg2ME49X3cIUZ JDiYlUd4En95IIb6k/JTKjMTijPii0pzU4kOMMhwcShK8Ut4TI4UEi1LTUyvSMnOAYQaTluDg URLhzQNJ8xYXJOYWZ6ZDpE4xGnM0fdjyhYnj1YT/35iEWPLy81KlxHljQEoFQEozSvPgBsHC/ xKjrJQwLyPQaUI8BalFuZklqPKvGMU5GJWEeWtApvBk5pXA7XsFdAoT0Cl9IF/wFpckIqSkgD GlfGJy9ucNWosWbrRwmluzJX0H97M1aWtfJAVcPb3lnfYyfQbOK0+ipn76s37W/zhmFQaVufK LLlfaLjrRuWijZ3vw1s1VrS8ZtdPMTJd9qmPNYZ1x6cb1iWXM00WebTiwNOLCrGd1ob9mi17b c2T3zg9LkpOvPXKebWh3jGUx016PaJuzK+z4lViKMxINtZiLihMBrXo0z3oCAAA= X-Env-Sender: jgross@suse.com X-Msg-Ref: server-3.tower-206.messagelabs.com!1502694548!103534588!1 X-Originating-IP: [195.135.220.15] X-SpamReason: No, hits=0.0 required=7.0 tests= X-StarScan-Received: X-StarScan-Version: 9.4.45; banners=-,-,- X-VirusChecked: Checked Received: (qmail 37457 invoked from network); 14 Aug 2017 07:09:08 -0000 Received: from mx2.suse.de (HELO mx1.suse.de) (195.135.220.15) by server-3.tower-206.messagelabs.com with DHE-RSA-CAMELLIA256-SHA encrypted SMTP; 14 Aug 2017 07:09:08 -0000 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 55BBDABB1; Mon, 14 Aug 2017 07:09:08 +0000 (UTC) From: Juergen Gross To: xen-devel@lists.xenproject.org Date: Mon, 14 Aug 2017 09:08:37 +0200 Message-Id: <20170814070849.20986-41-jgross@suse.com> X-Mailer: git-send-email 2.12.3 In-Reply-To: <20170814070849.20986-1-jgross@suse.com> References: <20170814070849.20986-1-jgross@suse.com> Cc: Juergen Gross , Andrew Cooper , Jan Beulich Subject: [Xen-devel] [PATCH v2 40/52] xen/arch/x86/apic.c: remove custom_param() error messages X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" X-Virus-Scanned: ClamAV using ClamSMTP With _cmdline_parse() now issuing error messages in case of illegal parameters signalled by parsing functions specified in custom_param() the message issued by apic_set_verbosity() can be removed. Cc: Jan Beulich Cc: Andrew Cooper Signed-off-by: Juergen Gross Acked-by: Jan Beulich --- xen/arch/x86/apic.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/xen/arch/x86/apic.c b/xen/arch/x86/apic.c index fdb0a99927..5ffbd8f54f 100644 --- a/xen/arch/x86/apic.c +++ b/xen/arch/x86/apic.c @@ -800,11 +800,8 @@ static int __init apic_set_verbosity(char *str) apic_verbosity = APIC_DEBUG; else if (strcmp("verbose", str) == 0) apic_verbosity = APIC_VERBOSE; - else { - printk(KERN_WARNING "APIC Verbosity level %s not recognised" - " use apic_verbosity=verbose or apic_verbosity=debug", str); + else return -EINVAL; - } return 0; }