Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3644682pxj; Mon, 24 May 2021 11:19:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxwBX97Rn99eCDHtbPC7tlESyvzmWKB1+BeLvGFsa5M1ITS4UZY1JvGaECTr42pe1vBUslC X-Received: by 2002:a05:6402:270c:: with SMTP id y12mr22615861edd.249.1621880389402; Mon, 24 May 2021 11:19:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621880389; cv=none; d=google.com; s=arc-20160816; b=Q5yi4gJYeOVsHoXytayAEtISXicc76C8xZPDEoeph0vofhMvmEPhw7qhjMp2OdmxNi sUL3CynQj/AGVN+siMIlJASgAQQKgrgROPZA+QR0FB3IXzSP5yXYhCKII9HXqtkiAmyK sMq+n/WSbZrNztqHwsLp0n+WQixCaRWM1CV3XS9dY2/qejmPsC0NmxUswsiA4fU6rnVm LEkm9H3cz2pIVFwzXZZf8E+V8+R26qkKYd1qlKfEZfqi0A3WTlpBIS2KuE0vYcuUSj8U JE1WE/xsiirMfEFnRclK+HE/1AUxZ/xfiwWeYTnUX5PpYk4vsgfuTHsrfgwsqtVsnuS4 D+ag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=3gVDiJ/2KYFrVnMq6tzMdKvmt/STTtDT9yS9CSt4Dho=; b=QjWdGsx6CAX0l2VbGlaiDhu+PSiMSk1J59blYcp0KpSJYZB96OB03TGl9gXs4deRRZ WN8tYvhWl1X81VZ/GGO8L4oD2G0FM+Xevr4S3iPqqIedUq/dIZU6WuQBJO29cxSN3jlt WWU+FC/Z0ykUu/xEf97GpjL+ocZuE+XG9JObbpvDzzFk4iF3Iokel4/YFR8KP6JZ5As2 GSGdW4crZdMaLSrCiQnsRALt9A4ROk/JDPnhwdZwt3C3ULtNPT4dQxE5gKgO+41YPG7m HHLmHQFpTyunrpU/DYPoZkrg4sWuAjXbJhngkgz/Rl9Shf1z0NUfGWze4xMkuS2BdvYL WrdQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=W4H9AFg5; 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=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b5si8384745eju.507.2021.05.24.11.19.24; Mon, 24 May 2021 11:19:49 -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=@gmail.com header.s=20161025 header.b=W4H9AFg5; 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=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233792AbhEXSS5 (ORCPT + 99 others); Mon, 24 May 2021 14:18:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56236 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233775AbhEXSSy (ORCPT ); Mon, 24 May 2021 14:18:54 -0400 Received: from mail-il1-x131.google.com (mail-il1-x131.google.com [IPv6:2607:f8b0:4864:20::131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 88F0CC06138A for ; Mon, 24 May 2021 11:17:24 -0700 (PDT) Received: by mail-il1-x131.google.com with SMTP id o9so25786992ilh.6 for ; Mon, 24 May 2021 11:17:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=3gVDiJ/2KYFrVnMq6tzMdKvmt/STTtDT9yS9CSt4Dho=; b=W4H9AFg5djmSz9ZTVdShBCgT0YHhSwdedvDb4TZr7fjwTz2gbTv7PZQvmlgPz1uXdi 1tafiwO/ntENHx5t/d6hKAEcGHhXJ5M1tbQUWfegSJpXPtNU11hnsulZ+25lBwD7wp2u we0TJ5JaHT1fDI0eYfp8xUqI6krHz1arOCUTy5WuNzPshTG24KRJdt0SddVjqg7f0sYu lXB5QBGub8ecdU0tS+y3fHjK8XMQeyCm4MI7la8KjeLCMY9IWJ9ju69vD43QCMlsPJ8g XQ5WNQcx3CPjUXi4UdfHbG1lFo0TBKxsaSPY9tH2SBdHWr14l8SQFEcGfE2ZUi6fpfFb aitg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=3gVDiJ/2KYFrVnMq6tzMdKvmt/STTtDT9yS9CSt4Dho=; b=UV83HaXV8DeWRwp24zxUgQSy4pJyQ/vod259xAO/UjhFtojssgJssZsKQLsD6PwBkY uMzTWU2HVRUIv+vwfyTBXHKKZhsCZX7CIOsoPoTMZsq7CGGo6thNAIu9wet5DgH/6UWk af7hldFkRJhaRo+/AncghOfU6asFLR91wmsWo7u4iTx41kj2OKcKXnBDncAAPnZ4KFxQ JDm3Pc2UOkf3zXnEc35TXl0xEjXfT9W8EsbuSBRX891scpu1ynlPeRRvS7+svadelM43 7SK2yl8vEipPkNLoItoc7j5WjfOqIlN/xkq7sjQAYhQ6tegcsgUTZc8DQUgsN6NRwk+q V87w== X-Gm-Message-State: AOAM5314Zie2rM5O3WXbienrMMRVH2CoenaHv9vVRjkGeHxFjoA/blY6 aiHmcVR/oh5OLhWFPwAeXbAI1qb/WA== X-Received: by 2002:a92:c884:: with SMTP id w4mr19528686ilo.117.1621880243815; Mon, 24 May 2021 11:17:23 -0700 (PDT) Received: from citadel.. (174-084-153-250.res.spectrum.com. [174.84.153.250]) by smtp.gmail.com with ESMTPSA id p5sm11863673ilg.33.2021.05.24.11.17.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 May 2021 11:17:23 -0700 (PDT) From: Brian Gerst To: linux-kernel@vger.kernel.org, x86@kernel.org Cc: Andy Lutomirski , Borislav Petkov , Thomas Gleixner , Peter Zijlstra , Masahiro Yamada , Brian Gerst Subject: [PATCH 2/3] x86/syscalls: Remove -Wno-override-init for syscall tables Date: Mon, 24 May 2021 14:17:06 -0400 Message-Id: <20210524181707.132844-3-brgerst@gmail.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210524181707.132844-1-brgerst@gmail.com> References: <20210524181707.132844-1-brgerst@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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