Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp10613801rwl; Mon, 2 Jan 2023 05:37:16 -0800 (PST) X-Google-Smtp-Source: AMrXdXtfiC0SyV8CK4auN7VapfyQqH7MU8QpM+F4+ScD/6MtxxZOcx3biy/IFvvfE0yFV+cWPqvS X-Received: by 2002:a17:906:6b96:b0:7c1:4bb2:f62b with SMTP id l22-20020a1709066b9600b007c14bb2f62bmr34976136ejr.27.1672666636113; Mon, 02 Jan 2023 05:37:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672666636; cv=none; d=google.com; s=arc-20160816; b=pXVCUORJLVActhwtVl9VLMX2HlrzKhW3RWJYs5Pak+PgCfu18E1htYSeu/1S6aTa87 i8yRzVB07vw+zPoYP+M6et/j2QSG5Um5/GtB8bf7snLgq0L5KQBqX4zQeoq455uwKf5/ Q6d41cTsH6S3wsX99nkbXLHsTNbJbVk9/NLi0HhlAzdruvxN/tjGcN7Yx/6nwGdUfGg0 DdxY+dDl6PwpVvI7m0FC/rHG5DMtqJhW0kddowc3n8tikV+fZ5xSIUsvjuP9k8rp8aXv rvhi4UMQWc86WulzBwjuE5rAQEG+BP4q7GgMy2yuVfECpW5G8n4EjUMJaMzqQJefQdSn G7DQ== 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:reply-to:message-id:subject:cc:to:from:date :dkim-signature:dkim-signature; bh=8MEMF1Di8T491Z7gpFZexJEbRO0goQfo2mNNC19Dwlw=; b=QUF5okwRvwe1GkfEXfW477hSeOyrv6HmmdbDFAZFwzLFSy0zFDes09/akaDNP47WzO sngnCNMfDZ6UAZj32A5oBnioMhByzYQEfoiSs9+dp+J9LqnYzj3X8qVY56IlRMXeMwv3 BPhkRRCfPIM0OUAAw2UCDyS5YWMeQZSsIdW7sig5d35RxXp6dNBYZ48Ti/7E7QVJXCHU OkkVVwh5874bzRstx84F2XnLFEpz+TH/Gf0cml1NoEMWu+Iajpi0iv/pOB47S1s6b4SK al7yMaDnpealO5I9y3WusrAAYFQ9bB9oV4hIXsIsxw24m596TyCS9Dw+R7KkPEzYyWlO Uf4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=Bho7fl7+; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519; 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 wg1-20020a17090705c100b007a4feae7adfsi26435407ejb.565.2023.01.02.05.37.01; Mon, 02 Jan 2023 05:37:16 -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=Bho7fl7+; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519; 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 S232916AbjABMsD (ORCPT + 61 others); Mon, 2 Jan 2023 07:48:03 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52698 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232905AbjABMsA (ORCPT ); Mon, 2 Jan 2023 07:48:00 -0500 Received: from smtp-out2.suse.de (smtp-out2.suse.de [IPv6:2001:67c:2178:6::1d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D0A53DF8; Mon, 2 Jan 2023 04:47:59 -0800 (PST) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 877B020F11; Mon, 2 Jan 2023 12:47:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1672663678; 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=8MEMF1Di8T491Z7gpFZexJEbRO0goQfo2mNNC19Dwlw=; b=Bho7fl7+1m5PHrcpXO/NsKrbYso7mtiYVrhHG/e9MgYwZX6WDndeXrNDaiteUAZcQIlHMj //7SRtqVs7YllEIJemwJcBVtd3kduyIRNpLdqXrdfByrnUtPXpHPpjhmNLhTeG0KNN2WFZ OjPgYI7d+CY8agTHZW6WP/Phdgo6a30= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1672663678; 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=8MEMF1Di8T491Z7gpFZexJEbRO0goQfo2mNNC19Dwlw=; b=8xcIZgID6yyL8tso5U4W2aD4BOAiB5exlr0/ZLshKB9VhcA8NhPu0cpEPW7fgLIsabysDi xdB7+ETNMAqJgZDw== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 3BFF613427; Mon, 2 Jan 2023 12:47:58 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id Fo+0DX7SsmNQGgAAMHmgww (envelope-from ); Mon, 02 Jan 2023 12:47:58 +0000 Date: Mon, 2 Jan 2023 13:42:28 +0100 From: David Sterba To: Naresh Kamboju Cc: Nathan Chancellor , open list , lkft-triage@lists.linaro.org, Josef Bacik , linux-btrfs@vger.kernel.org, kernel-team@fb.com, llvm@lists.linux.dev, Filipe Manana , David Sterba Subject: Re: [PATCH 8/8] btrfs: turn on -Wmaybe-uninitialized Message-ID: <20230102124228.GB11562@suse.cz> Reply-To: dsterba@suse.cz References: <1d9deaa274c13665eca60dee0ccbc4b56b506d06.1671221596.git.josef@toxicpanda.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23.1-rc1 (2014-03-12) X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_SOFTFAIL 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 Mon, Dec 26, 2022 at 07:34:51PM +0530, Naresh Kamboju wrote: > On Mon, 26 Dec 2022 at 09:47, Nathan Chancellor wrote: > > > > On Fri, Dec 16, 2022 at 03:15:58PM -0500, Josef Bacik wrote: > > > We had a recent bug that would have been caught by a newer compiler with > > > -Wmaybe-uninitialized and would have saved us a month of failing tests > > > that I didn't have time to investigate. > > > > > > Signed-off-by: Josef Bacik > > > > This needs to be moved to the condflags section, as > > -Wmaybe-uninitialized is a GCC only flag, so this breaks our builds with > > clang on next-20221226: > > > > error: unknown warning option '-Wmaybe-uninitialized'; did you mean '-Wuninitialized'? [-Werror,-Wunknown-warning-option] > > LKFT test farm also noticed these build breaks with clang on next-20221226. Fixed in our branch and for-next snapshot updated so the warnings will be fixed once linux-next resumes.