Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp626391pxb; Mon, 16 Aug 2021 13:24:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy6neutjEUrzRY2iE/SiQ2YOTXc+K7f5zEE4qJ5opXASx8APOmweWXhee+FV+n/TceMutt5 X-Received: by 2002:a17:906:318f:: with SMTP id 15mr283343ejy.206.1629145494940; Mon, 16 Aug 2021 13:24:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629145494; cv=none; d=google.com; s=arc-20160816; b=d6qY+S3SwGESO6YPg/g5q6Bk1q2QOhsnV0DGBeSToE+FJrwe+nTm1zY8LwRV7A8T9x KMiddPUhizytTlOxF7ISunLgM8Eb/G8PdVscXxI+wpQpJIVS68Kg9z4csjKxuHzhqHg8 qs8IejEhCckxUSBA2943rqWnI0gIidUxQUAs08VgolvRNgqeo/it6I3qKqncelGjeTbm dwa3MC8KaTqc8dc5i4CDp0sa9uCoAQEprzVN8uPMsuTs8km8TVJMZvit1oQziF+j3BxA Is+fBS1jjBbIzUUIEbp7KEsX2Kkdm7faMB/odJ0cpnKXBBZgWKVyoVxM0i4+QexWSIh8 N59A== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=QfpsL79zK63c39978IvuXla6NyzAjmLIGdvAtd7qJg0=; b=o6DpUWJePTGLf56jbjxi1IIUe6Yr4IUEWPow6As0o5tPMLgFEDXPrJib4hEVWaXjY6 Rs1oodMCRpNvojXKiKTHhhzmTCZtcNRtFsfmiqBxyxjGCnKVHcwGZwIlXCmm/ggPBnBA f53fjfnc1d8qQ6FYDnu7JWvo1CjoTjwzQ1/BcyfvTuiBICzxaPY+Sl/8QFIcOU/xam4q UuYyLXHtPzuq4P7YpHNdEXIPEOLKhLZ+zxhFCghjH6/fREuZGScjNTTCNStHtwO+ob1C 39ucnRCWVf/B4yiDq/r+OH2B5aqDCk88wwh8cQMsuMVlV+ltT7dzMuRlLGmRrO8dSZJt mVjA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=YvNzK5lm; 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 j6si272480ejy.19.2021.08.16.13.24.31; Mon, 16 Aug 2021 13:24:54 -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=@kernel.org header.s=k20201202 header.b=YvNzK5lm; 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 S231694AbhHPUVy (ORCPT + 99 others); Mon, 16 Aug 2021 16:21:54 -0400 Received: from mail.kernel.org ([198.145.29.99]:53802 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231203AbhHPUVx (ORCPT ); Mon, 16 Aug 2021 16:21:53 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 3938960F22; Mon, 16 Aug 2021 20:21:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1629145281; bh=ozav1COS+cnUYWjDVK9ITXmp/DIBcRtnXWwWHkf2Vyc=; h=From:To:Cc:Subject:Date:From; b=YvNzK5lmSESL+nuHXNiyL3EQSiME2AcEhkOpC8Dr406Tk+eL2ciRv7bJ3JL0w8Z2/ TcVZwUjcr9iKP4nlsBVrtHOeFOdD2VqZVzs26/32S/KAmpfQN1iZVSfCAqvCzatXc0 G/qNDTgLjV8yFKlYNe7lcWdnQY3wbufOMBT36T/Rg67B9pALEvNvIqMR1mlbGBYIV4 8mVbxEC8eMadD5PQEUl3ewg2bKzl+mZ0ky1krSrsd+qLaqdLaPzmgsnu2b8u7WKNIn CtXz4swad1BXCcpW/EW9bgJ3K4536l4xncEB1t7d37O4wOEkeLRqrMBSzShP27a41M CXQAHbpvLOS3Q== From: Nathan Chancellor To: Masahiro Yamada , Nick Desaulniers Cc: linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, clang-built-linux@googlegroups.com, Nathan Chancellor Subject: [PATCH 1/3] kbuild: Remove -Wno-format-invalid-specifier from clang block Date: Mon, 16 Aug 2021 13:20:54 -0700 Message-Id: <20210816202056.4586-1-nathan@kernel.org> X-Mailer: git-send-email 2.33.0.rc2 MIME-Version: 1.0 X-Patchwork-Bot: notify Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Turning on -Wformat does not reveal any instances of this warning across several different builds so remove this line to keep the number of disabled warnings as slim as possible. This has been disabled since commit 61163efae020 ("kbuild: LLVMLinux: Add Kbuild support for building kernel with Clang"), which does not explain exactly why it was turned off but since it was so long ago in terms of both the kernel and LLVM so it is possible that some bug got fixed along the way. Signed-off-by: Nathan Chancellor --- Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/Makefile b/Makefile index 891866af0787..3900f5824721 100644 --- a/Makefile +++ b/Makefile @@ -777,7 +777,6 @@ KBUILD_CFLAGS += $(stackp-flags-y) ifdef CONFIG_CC_IS_CLANG KBUILD_CPPFLAGS += -Qunused-arguments -KBUILD_CFLAGS += -Wno-format-invalid-specifier KBUILD_CFLAGS += -Wno-gnu # CLANG uses a _MergedGlobals as optimization, but this breaks modpost, as the # source of a reference will be _MergedGlobals and not on of the whitelisted names. base-commit: f12b034afeb3a977bbb1c6584dedc0f3dc666f14 -- 2.33.0.rc2