Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4453058pxj; Tue, 25 May 2021 08:19:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwuVRQ9HZ9PqOnjEWUqMwege9h718kDwXT3WqiHEd3ebNTq1QnZ+B/9OOt5EYEOkFcPKzdH X-Received: by 2002:a17:906:640c:: with SMTP id d12mr28498696ejm.70.1621955973046; Tue, 25 May 2021 08:19:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621955973; cv=none; d=google.com; s=arc-20160816; b=ZYjgRYMUeIh8IO1QaJH0/y2d7i6az9boybXisnR1FIyzxzMeb9K56fsbfdvy4BZ8Bs 5yOz0oHa7dz18C5nXz1kOo9clO0m2bMUHR2Tj/M8iHPxRuR9kdgPiVOOp7sceM9hyFCl n7/92h9vVso7N3vUQZscZhzXZAUuJcvC/fabhlVZUU9hmeQe71zqHvgwIjRu9gMhsmmA ADSGlrbJICGgM7Yc6KyGQLXS5SqYQSYyU+crScAf8vaL+xFoeiYEF7VD9zoNGEClDemF Yrn4+zIvwx1Ut8q7V5J4Vrf59ovELkxbvxKuDn4vjxxfc8y/5Fc0/JAmMI/fGljXFcPX PA1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature:dkim-filter; bh=e7A10QJ9hFFFi81B003RUSBE28HBLOTm/XCpb/4t66s=; b=Lw0rHhuzit73Wruq7dcZB1pmH6O53IHhjd50AL3iJnGdnLkDUO4XQ+R88UoYnzkP7Y LYQl3eK4TvMEiy90MQPSUYd0RHXBDVu5wDec0ewl6dRZbkpkla6ItKjTB7byOYKLZ5ua CzVe8tNvrzVp86RQOyGl1E66xPPJmanvcKVIkbyeFbUkArxZp0Z2ZhpBA09FwliuqbGl ezzK/La+i9YxRTZ2gTs61Krb0iWWoipbSJ3DEPjtQVEobALRFOkP1TySjxivUpnmSLBQ IRUU05PSRBmQwCPO7Ss5WCh0+HNJvIO8+oQ+thNjnYGzfP1y6VhuFV0pwJv6l3o4nbWq h9fw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=xTNVvcUc; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i26si16171695ejy.283.2021.05.25.08.19.09; Tue, 25 May 2021 08:19:33 -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=@nifty.com header.s=dec2015msa header.b=xTNVvcUc; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232117AbhEYMEG (ORCPT + 99 others); Tue, 25 May 2021 08:04:06 -0400 Received: from conssluserg-05.nifty.com ([210.131.2.90]:46305 "EHLO conssluserg-05.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231712AbhEYMEC (ORCPT ); Tue, 25 May 2021 08:04:02 -0400 Received: from mail-pf1-f177.google.com (mail-pf1-f177.google.com [209.85.210.177]) (authenticated) by conssluserg-05.nifty.com with ESMTP id 14PC2AjM007640 for ; Tue, 25 May 2021 21:02:12 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-05.nifty.com 14PC2AjM007640 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1621944133; bh=e7A10QJ9hFFFi81B003RUSBE28HBLOTm/XCpb/4t66s=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=xTNVvcUcEqsBbV0oYwav4t+k1rYeqq2UL+kIGLTLZHj3zwA0ZxY7peyiwnXQqvRIw iAuHKYJOtmupCRBgV+PH+V46WFgh5Mr37OLmJV7N+RvkuWImfnLjf0041TxRZDKPdR hrDxbs5A6/MmS5/tJ5qxH+aO2QuzFdY9N3qjJH4lsDTg2HhMV3pEnJdBnuSKPdveAK e4RVcC1e74XkAHXKpen5Nh95zP2akVkPneN0/tf3+hOvw3botuY+Bs7UPX6g6pJjDr Cm8c/7/sSmDWV+GHX8Q2ISWgljiauN/qYOSrEMT8oYchCRnDgtfs5ShCaaFc8qS2By qMSSdr0ecSINw== X-Nifty-SrcIP: [209.85.210.177] Received: by mail-pf1-f177.google.com with SMTP id f22so15060776pfn.0 for ; Tue, 25 May 2021 05:02:12 -0700 (PDT) X-Gm-Message-State: AOAM531Oywi+6NNmA/M1Ms5/5bR7LPVea4P7GrStdGjS0g2JOtgtSWKG S+wvP2YMEZ+R2IZQY41NIytlow5H2F1ZucBJEGk= X-Received: by 2002:a05:6a00:2394:b029:2e0:a27:ba26 with SMTP id f20-20020a056a002394b02902e00a27ba26mr29802834pfc.63.1621944128843; Tue, 25 May 2021 05:02:08 -0700 (PDT) MIME-Version: 1.0 References: <20210524181707.132844-1-brgerst@gmail.com> <20210524181707.132844-3-brgerst@gmail.com> In-Reply-To: <20210524181707.132844-3-brgerst@gmail.com> From: Masahiro Yamada Date: Tue, 25 May 2021 21:01:31 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 2/3] x86/syscalls: Remove -Wno-override-init for syscall tables To: Brian Gerst Cc: Linux Kernel Mailing List , X86 ML , Andy Lutomirski , Borislav Petkov , Thomas Gleixner , Peter Zijlstra Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 25, 2021 at 3:17 AM Brian Gerst wrote: > > Commit 44fe4895f47c ("Stop filling syscall arrays with *_sys_ni_syscall") > removes the need for -Wno-override-init, since the table is now filled > sequentially instead of overriding a default value. > > Signed-off-by: Brian Gerst > --- Reviewed-by: Masahiro Yamada > arch/x86/entry/Makefile | 4 ---- > 1 file changed, 4 deletions(-) > > diff --git a/arch/x86/entry/Makefile b/arch/x86/entry/Makefile > index 08bf95dbc911..94d2843ce80c 100644 > --- a/arch/x86/entry/Makefile > +++ b/arch/x86/entry/Makefile > @@ -17,10 +17,6 @@ CFLAGS_syscall_64.o += -fno-stack-protector > CFLAGS_syscall_32.o += -fno-stack-protector > CFLAGS_syscall_x32.o += -fno-stack-protector > > -CFLAGS_syscall_64.o += $(call cc-option,-Wno-override-init,) > -CFLAGS_syscall_32.o += $(call cc-option,-Wno-override-init,) > -CFLAGS_syscall_x32.o += $(call cc-option,-Wno-override-init,) > - > obj-y := entry_$(BITS).o thunk_$(BITS).o syscall_$(BITS).o > obj-y += common.o > > -- > 2.31.1 > -- Best Regards Masahiro Yamada