Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4667710pxj; Tue, 25 May 2021 13:26:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyO/M7IJz8DF1oZdawQotA/4T4KcXuEf9RWMO1vbu4c2R+ZkKISDk8wXqTjGoA1EAyg2/+C X-Received: by 2002:aa7:dc4a:: with SMTP id g10mr34102127edu.316.1621974382683; Tue, 25 May 2021 13:26:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621974382; cv=none; d=google.com; s=arc-20160816; b=nSmYNDXYEyJMuGn2Z5bJLVhWkxVHp6g+03Kk3GJ3AnZXDqE8xdDJ3pLksPWdeEAYrM 800q4Ny1zDmBSZuUmXCjga0ek0Do7RybdOzhIPSwuvCH+nf76JakfUGJqih3JPFc4Nuf Fe1Qwh0SdblbBmoXRXvX+cQH8BAnLKh6ItfaqMY8XI8+gJeUvTdBSvWuI3JDgA9KnA5u mTR/CdYMvCUy0uD/XLezx6mgkC1qO9psMjXmLI773JAMv1gYxeTyYPQu4zu/PBNCVjH1 Qwm5JrgoWwRfOJE9jHGmO9zgMmRxK+IG8pHGRAzJci3qYHVpBMFaimJTTsba5gGqPwDX gxCA== 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=RS4XeeCJDuFxFV0LqWLRFzAnG8tvvnHNmjCgAeBU3wU=; b=isTZpF4MvDKXNgofyIXNmbxAyK+mjjFarz76y29S/v8cV5ydQfCYYIVilHON0XWHTV ALw6YPNJqzOl2iut0EmXIzHd5NaXZD/dJ7nNMm3dMPRUVV1ozpqLG2xZEnK6W+N1lOWQ JlU5ubKL22l58tU21PN3m5RbjVpjx6r5tYtjQU3gKq7xau2eBnMO0gij7ZMUAJp82F5D cb23lvQ5GoQECh+P9uu7Zsae48fFFzdsDzZKB4V+blQhfUmrrsoUuOSPTjAOBMY7Fmyi /rR4+A0YSCj1vf32PnTV4H4aGtGbBS34ZJs7KG0GD07tfH5rjoWx637/BKGz0hdd21f8 rhjg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=Uf9sjyYW; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w7si15903690edc.254.2021.05.25.13.25.58; Tue, 25 May 2021 13:26:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=Uf9sjyYW; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S231877AbhEYPCc (ORCPT + 99 others); Tue, 25 May 2021 11:02:32 -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);