[Intel-gfx] next: clang: x86_64: /intel_display.c:6012:3: error: unannotated fall-through between switch labels [-Werror, -Wimplicit-fallthrough]
Daniel Díaz
daniel.diaz at linaro.org
Wed May 24 15:41:25 UTC 2023
Hello!
On Wed, 24 May 2023 at 09:39, Nathan Chancellor <nathan at kernel.org> wrote:
> Hi Naresh,
>
> On Wed, May 24, 2023 at 12:32:24PM +0530, Naresh Kamboju wrote:
> > Linux next-20230523 and next-20230524 the x86_64 and i386 builds failed
> > with clang.
> >
> > Reported-by: Linux Kernel Functional Testing <lkft at linaro.org>
> >
> > make --silent --keep-going \
> > --jobs=8 O=/home/tuxbuild/.cache/tuxmake/builds/1/build ARCH=x86_64 \
> > SRCARCH=x86 CROSS_COMPILE=x86_64-linux-gnu- \
> > 'HOSTCC=sccache clang' 'CC=sccache clang' \
> > LLVM=1 LLVM_IAS=1
> >
> > drivers/gpu/drm/i915/display/intel_display.c:6012:3: error:
> > unannotated fall-through between switch labels
> > [-Werror,-Wimplicit-fallthrough]
> > case I915_FORMAT_MOD_X_TILED:
> > ^
> > drivers/gpu/drm/i915/display/intel_display.c:6012:3: note: insert
> > 'break;' to avoid fall-through
> > case I915_FORMAT_MOD_X_TILED:
> > ^
> > break;
> > 1 error generated.
>
> Thanks for the report, I have sent
> https://lore.kernel.org/20230524-intel_async_flip_check_hw-implicit-fallthrough-v1-1-83de89e376a1@kernel.org/
> for this.
Better link: https://lore.kernel.org/dri-devel/20230524-intel_async_flip_check_hw-implicit-fallthrough-v1-1-83de89e376a1@kernel.org/
Greetings!
Daniel Díaz
daniel.diaz at linaro.org
More information about the Intel-gfx
mailing list