Re: next: clang: x86_64: /intel_display.c:6012:3: error: unannotated fall-through between switch labels [-Werror, -Wimplicit-fallthrough]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello!

On Wed, 24 May 2023 at 09:39, Nathan Chancellor <nathan@xxxxxxxxxx> 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@xxxxxxxxxx>
> >
> > 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@xxxxxxxxxx/
> for this.

Better link: https://lore.kernel.org/dri-devel/20230524-intel_async_flip_check_hw-implicit-fallthrough-v1-1-83de89e376a1@xxxxxxxxxx/

Greetings!

Daniel Díaz
daniel.diaz@xxxxxxxxxx




[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux