lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+G9fYuyPFBVyqqg0RVhaz4c0S+H4TMm1apxgwyTUOkge9NY7A@mail.gmail.com>
Date: Fri, 17 May 2024 13:00:25 +0200
From: Naresh Kamboju <naresh.kamboju@...aro.org>
To: open list <linux-kernel@...r.kernel.org>, lkft-triage@...ts.linaro.org, 
	clang-built-linux <llvm@...ts.linux.dev>
Cc: Nathan Chancellor <nathan@...nel.org>, Nick Desaulniers <ndesaulniers@...gle.com>, 
	Anders Roxell <anders.roxell@...aro.org>, Dan Carpenter <dan.carpenter@...aro.org>, 
	Borislav Petkov <bp@...e.de>, Borislav Petkov <bp@...en8.de>, Ingo Molnar <mingo@...nel.org>
Subject: clang: arch/x86/boot/printf.c:257:3: error: unannotated fall-through
 between switch labels [-Werror,-Wimplicit-fallthrough]

The following x86 build failed on Linux next-20240517 tag due to following
warnings / errors only seen with clang builds.

Reported-by: Linux Kernel Functional Testing <lkft@...aro.org>

Build errors:
----
arch/x86/boot/printf.c:257:3: error: unannotated fall-through between
switch labels [-Werror,-Wimplicit-fallthrough]
  257 |                 case 'u':
      |                 ^
arch/x86/boot/printf.c:257:3: note: insert 'break;' to avoid fall-through
  257 |                 case 'u':
      |                 ^
      |                 break;
1 error generated.

The suspected patch,
x86/boot: Add a fallthrough annotation

metadata:
---
  git_describe: next-20240517
  git_repo: https://gitlab.com/Linaro/lkft/mirrors/next/linux-next
  git_sha: c75962170e49f24399141276ae119e6a879f36dc
  git_short_log: c75962170e49 ("Add linux-next specific files for 20240517")
  build_name: clang-18-lkftconfig


Links:
 - https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20240517/testrun/23951572/suite/build/test/clang-18-lkftconfig/log
 - https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20240517/testrun/23951572/suite/build/test/clang-18-lkftconfig/details/
 - https://storage.tuxsuite.com/public/linaro/lkft/builds/2gZwb1q4GHgVCuOfQIMCJ6tqMFn/


--
Linaro LKFT
https://lkft.linaro.org

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ