Messages in this thread | | | Date | Mon, 2 Jan 2023 13:05:05 +0100 | From | David Sterba <> | 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@redhat.com>
Folded to the patch, thanks.
| |