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=-20.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,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED 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 B80CAC47084 for ; Tue, 25 May 2021 15:01:06 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 9069661413 for ; Tue, 25 May 2021 15:01:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234202AbhEYPCd (ORCPT ); Tue, 25 May 2021 11:02:33 -0400 Received: from Galois.linutronix.de ([193.142.43.55]:48802 "EHLO galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231182AbhEYPCX (ORCPT ); Tue, 25 May 2021 11:02:23 -0400 Date: Tue, 25 May 2021 15:00:51 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1621954852; 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=RS4XeeCJDuFxFV0LqWLRFzAnG8tvvnHNmjCgAeBU3wU=; b=Uf9sjyYWsI9jwCxPoFrGId4KBjeXI/ShbU7yCQCLlh8nvdmW9AgfW/0k/f2aAWTL6k6TKJ Gf997F1zz02G66wHN2OzVT8yZNf1s695R7vC6DxxZXlg/zwAhG/BAc0ci4/InaZr4bjr9f 8FjuvUXDeoONXnaW8g4ppBaPKRl/1+c7hI0lwszMj2ukvYT8UTE/UMWR0V85iIu92WM51m X6FibNeM9fmBCeSeLcPZh5ktdh6jm6JAY4v1/Hp3hpU1E/q6Rh07bBZPXlNtWmjOsV2ojj qLjhuJPqmNi0xzwzL9sxZga8FyyLRH2y/eTg3gyGrqL/ZPBDRhqXZrxg+otd4w== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1621954852; 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=RS4XeeCJDuFxFV0LqWLRFzAnG8tvvnHNmjCgAeBU3wU=; b=Kna7FELxuv3sJpnaScwPXtZ7KmB38K9vZMkDG5v8f2YoS9HSvg5f/AB+k1Rtm4t0YcTdNX BOT2+0RI/YFJ+WAw== From: "tip-bot2 for Brian Gerst" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: x86/entry] x86/uml/syscalls: Remove array index from syscall initializers Cc: Brian Gerst , Thomas Gleixner , Masahiro Yamada , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20210524181707.132844-2-brgerst@gmail.com> References: <20210524181707.132844-2-brgerst@gmail.com> MIME-Version: 1.0 Message-ID: <162195485173.29796.5553283004529180620.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: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following commit has been merged into the x86/entry branch of tip: Commit-ID: d48ca5b98fa5d21444e04bb17373d339200b679a Gitweb: https://git.kernel.org/tip/d48ca5b98fa5d21444e04bb17373d339200b679a Author: Brian Gerst AuthorDate: Mon, 24 May 2021 14:17:05 -04:00 Committer: Thomas Gleixner CommitterDate: Tue, 25 May 2021 16:59:23 +02:00 x86/uml/syscalls: Remove array index from syscall initializers The recent syscall table generator rework removed the index from the initializers for native x86 syscall tables, but missed the UML syscall tables. Fixes: 44fe4895f47c ("Stop filling syscall arrays with *_sys_ni_syscall") Signed-off-by: Brian Gerst Signed-off-by: Thomas Gleixner Reviewed-by: Masahiro Yamada Link: https://lore.kernel.org/r/20210524181707.132844-2-brgerst@gmail.com --- arch/x86/um/sys_call_table_32.c | 2 +- arch/x86/um/sys_call_table_64.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/um/sys_call_table_32.c b/arch/x86/um/sys_call_table_32.c index f832310..0575dec 100644 --- a/arch/x86/um/sys_call_table_32.c +++ b/arch/x86/um/sys_call_table_32.c @@ -31,7 +31,7 @@ #include #undef __SYSCALL -#define __SYSCALL(nr, sym) [ nr ] = sym, +#define __SYSCALL(nr, sym) sym, extern asmlinkage long sys_ni_syscall(unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long); diff --git a/arch/x86/um/sys_call_table_64.c b/arch/x86/um/sys_call_table_64.c index 5ed665d..95725b5 100644 --- a/arch/x86/um/sys_call_table_64.c +++ b/arch/x86/um/sys_call_table_64.c @@ -39,7 +39,7 @@ #include #undef __SYSCALL -#define __SYSCALL(nr, sym) [ nr ] = sym, +#define __SYSCALL(nr, sym) sym, extern asmlinkage long sys_ni_syscall(unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long);