From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 46174C433FE for ; Wed, 8 Sep 2021 13:29:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 332826120F for ; Wed, 8 Sep 2021 13:29:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1351703AbhIHNbD (ORCPT ); Wed, 8 Sep 2021 09:31:03 -0400 Received: from Galois.linutronix.de ([193.142.43.55]:51038 "EHLO galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1349441AbhIHNaZ (ORCPT ); Wed, 8 Sep 2021 09:30:25 -0400 Message-ID: <20210908132525.154428878@linutronix.de> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1631107757; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: references:references; bh=Hh4i3aUe/x3yNILYS1K+Ms5S7OwNVMUJgDTF4ysAfds=; b=ep/xvumdnIVETKqlbalxhkBFG8TKzlg9ySQyJgBlAUuaiJRlZ+TBnLle+RXvbfb3wOetvQ 3DyogM2gr6u488LZ79Q99LpHmPkkY7ExBJjCu8/sLgs3cvO2h1cAGUouVRqvHSpI6UWXFw JIjWlb8wauxOQFNS9bvgp7cdtbc56x1eo0B0dwVQoi7oCCURCD3NWCOKJwV/QI5bT5O6Km PaaLpGNnBlja3/mYiAJ1nA/2hC6H/Ds7g/weBrVFERpEIVix1WniNZeSXJ2pJY7lGCOxeb Rk+33V7JLc6p2o101AbUorDzieB5nYZERsx5y+g01NZ9ssEje42V2WepFdponw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1631107757; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: references:references; bh=Hh4i3aUe/x3yNILYS1K+Ms5S7OwNVMUJgDTF4ysAfds=; b=JJVeGU910YJrRY+VUSEw2Ffr2oQVgZzlc3VOBdIW0po3rE06QxJx1BkBy/el86B7zdbfpi QZmwVROCmFHM2MBw== From: Thomas Gleixner To: LKML Cc: x86@kernel.org, Al Viro , Linus Torvalds , Tony Luck , Alexei Starovoitov , Peter Ziljstra , Song Liu , Daniel Borkmann Subject: [patch V3 04/20] x86/mce: Get rid of stray semicolons References: <20210908130922.118265849@linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Date: Wed, 8 Sep 2021 15:29:16 +0200 (CEST) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org and the random number of tabs. Signed-off-by: Thomas Gleixner --- V2: New patch --- arch/x86/kernel/cpu/mce/internal.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/arch/x86/kernel/cpu/mce/internal.h +++ b/arch/x86/kernel/cpu/mce/internal.h @@ -61,7 +61,7 @@ static inline void cmci_disable_bank(int static inline void intel_init_cmci(void) { } static inline void intel_init_lmce(void) { } static inline void intel_clear_lmce(void) { } -static inline bool intel_filter_mce(struct mce *m) { return false; }; +static inline bool intel_filter_mce(struct mce *m) { return false; } #endif void mce_timer_kick(unsigned long interval); @@ -183,7 +183,7 @@ extern bool filter_mce(struct mce *m); #ifdef CONFIG_X86_MCE_AMD extern bool amd_filter_mce(struct mce *m); #else -static inline bool amd_filter_mce(struct mce *m) { return false; }; +static inline bool amd_filter_mce(struct mce *m) { return false; } #endif __visible bool ex_handler_rdmsr_fault(const struct exception_table_entry *fixup,