Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp711664pxp; Wed, 9 Mar 2022 11:03:28 -0800 (PST) X-Google-Smtp-Source: ABdhPJyhhzphyDRz2BZ41SBwOSa4y/8tTCxzj+0PvXrHfYGnp6beZqLE24klBW4Qwn7fid1MicBf X-Received: by 2002:a17:907:2d28:b0:6db:2bb4:a8f1 with SMTP id gs40-20020a1709072d2800b006db2bb4a8f1mr1108158ejc.663.1646852608069; Wed, 09 Mar 2022 11:03:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646852608; cv=none; d=google.com; s=arc-20160816; b=H4yqpMae3jWEqK8rb7MtFCAZKV01uNr1MLu8jJ9szU2biCmpU0Jkv6PaPju4cgg6/K IiyCXC3YtoJLBxN2nfhpgptNd0dnbbuhX+M2eauaWdbHQtST3LVoQ8tVhSh1FlLIqwKB lg+9LKc39v/3yp6f5LPxksxFquVGrvkyf8Jl4mW4qQ0N/P8LhbUih9Ghrx+NISmJW3C7 FjTK21YL6x+h5VrOPO35H1M4LO7jqaX2IjO/PKIQCkVYG0k93hc0dH1uI0Cxr+FTr7B4 B0eAeEEVAXs2tGaFjsBbO3AIY//SsonjxU9g8x6airPihl4NRWcs+q5b6J1g3KDZaXIx rwpw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:mail-followup-to:reply-to:message-id :subject:cc:to:from:date:dkim-signature:dkim-signature; bh=+ydrdKSlhrPNxyTjqpwFz/lVnyTdgAwQsHL5yVVlnOA=; b=ddE3hpjhR53NbtI5Fzr56Vlmjf953mqaboKWdSNOwIZgGr2zXyUqu8LDp0QSWCY8OX c2WsPUOx0ccq4z4s4TDHchHZaO2kax9rQAoHv8e4fQ5i5WqKEo0qGSiH7BOFrZlwqXG6 M4LIs630UUOyC5AUxHJQkLdMHHExh5xLz8z6gVxHTtXc0p0zWudd9hQlUekD8rZJHTSy p9XtywKcGxHgx8Jq6ERVRxOjsAvO3a1j2RmnblyS7vcrfYrGk65kjWVnhh+DWT3SozKZ UHoF79jjqwxpQ0xSPcUa3001rLJqmxODHsI6IossVK/Gj1cl3h6deKMs7o113Z27Z9qY dtNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b="eT82rI/Q"; dkim=neutral (no key) header.i=@suse.cz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f12-20020a05640214cc00b004161ee47fc6si2057049edx.377.2022.03.09.11.03.00; Wed, 09 Mar 2022 11:03:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b="eT82rI/Q"; dkim=neutral (no key) header.i=@suse.cz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237372AbiCIRFV (ORCPT + 99 others); Wed, 9 Mar 2022 12:05:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41114 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237519AbiCIRDC (ORCPT ); Wed, 9 Mar 2022 12:03:02 -0500 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8B4601B2ACD; Wed, 9 Mar 2022 08:51:11 -0800 (PST) Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out2.suse.de (Postfix) with ESMTP id 580A91F382; Wed, 9 Mar 2022 16:51:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1646844669; h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to: cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=+ydrdKSlhrPNxyTjqpwFz/lVnyTdgAwQsHL5yVVlnOA=; b=eT82rI/QkvGXelJqBnDXZ6DSfPbxpE/9kD06Wm421Hm28d/zpE1K/K13KnElJN5d398JeQ RonRRpZIKvqzB9DndgVzGEF+km1Drf8ASsp0Z5z3QYRgp3nDF+PHkgDWoDZ0xSUG1Sq9fd +hLU73pHUPEXalYPJ3MNoU06ZwyMbSE= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1646844669; h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to: cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=+ydrdKSlhrPNxyTjqpwFz/lVnyTdgAwQsHL5yVVlnOA=; b=yLp5xgKJZ2+1DXVn2EKVVMwLVmSTPLl60bWHoe7jQGGzYDxZ+kesslNxqqwqygWh/uLI0o f+LcpnR/hjl7ZWCQ== Received: from ds.suse.cz (ds.suse.cz [10.100.12.205]) by relay2.suse.de (Postfix) with ESMTP id 342BAA3BCC; Wed, 9 Mar 2022 16:51:09 +0000 (UTC) Received: by ds.suse.cz (Postfix, from userid 10065) id 9C727DA7DE; Wed, 9 Mar 2022 17:47:13 +0100 (CET) Date: Wed, 9 Mar 2022 17:47:13 +0100 From: David Sterba To: Arnd Bergmann Cc: Masahiro Yamada , alexs@kernel.org, arnd@arndb.de, dsterba@suse.com, elver@google.com, jani.nikula@intel.com, linux-doc@vger.kernel.org, linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, llvm@lists.linux.dev, mark.rutland@arm.com, ndesaulniers@google.com, ojeda@kernel.org, torvalds@linux-foundation.org Subject: Re: [PATCH 1/4] [v4] Kbuild: add -Wno-shift-negative-value where -Wextra is used Message-ID: <20220309164713.GX12643@suse.cz> Reply-To: dsterba@suse.cz Mail-Followup-To: dsterba@suse.cz, Arnd Bergmann , Masahiro Yamada , alexs@kernel.org, arnd@arndb.de, dsterba@suse.com, elver@google.com, jani.nikula@intel.com, linux-doc@vger.kernel.org, linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, llvm@lists.linux.dev, mark.rutland@arm.com, ndesaulniers@google.com, ojeda@kernel.org, torvalds@linux-foundation.org References: <20220308215615.14183-1-arnd@kernel.org> <20220308215615.14183-2-arnd@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220308215615.14183-2-arnd@kernel.org> User-Agent: Mutt/1.5.23.1-rc1 (2014-03-12) X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 08, 2022 at 10:56:12PM +0100, Arnd Bergmann wrote: > From: Arnd Bergmann > > As a preparation for moving to -std=gnu11, turn off the > -Wshift-negative-value option. This warning is enabled by gcc when > building with -Wextra for c99 or higher, but not for c89. Since > the kernel already relies on well-defined overflow behavior, > the warning is not helpful and can simply be disabled in > all locations that use -Wextra. > > Signed-off-by: Arnd Bergmann > --- > [v4] > split into a separate patch > --- > drivers/gpu/drm/i915/Makefile | 1 + > drivers/staging/greybus/tools/Makefile | 3 ++- For > fs/btrfs/Makefile | 1 + Acked-by: David Sterba