[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20230102120505.GA11562@suse.cz>
Date: Mon, 2 Jan 2023 13:05:05 +0100
From: David Sterba <dsterba@...e.cz>
To: Tom Rix <trix@...hat.com>
Cc: clm@...com, josef@...icpanda.com, dsterba@...e.com,
nathan@...nel.org, ndesaulniers@...gle.com, wqu@...e.com,
linux-btrfs@...r.kernel.org, linux-kernel@...r.kernel.org,
llvm@...ts.linux.dev
Subject: Re: [PATCH] btrfs: handle -Wmaybe-uninitialized with clang
On Fri, Dec 30, 2022 at 12:55:07PM -0500, Tom Rix wrote:
> The clang build reports this error
> error: unknown warning option '-Wmaybe-uninitialized'; did you mean '-Wuninitialized'? [-Werror,-Wunknown-warning-option]
> make[3]: *** [scripts/Makefile.build:252: fs/btrfs/super.o] Error 1
>
> -Wmaybe-uninitialized is a gcc only flag. Move to setting with cc-option.
>
> Fixes: 1b19c4c249a1 ("btrfs: turn on -Wmaybe-uninitialized")
> Signed-off-by: Tom Rix <trix@...hat.com>
Folded to the patch, thanks.
Powered by blists - more mailing lists