Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 36E5F320E for ; Mon, 2 Jan 2023 12:48:00 +0000 (UTC) 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> Precedence: bulk X-Mailing-List: llvm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: 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) 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.