From: kernel test robot <lkp@intel.com>
To: "Gustavo A. R. Silva" <gustavoars@kernel.org>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
Linux Memory Management List <linux-mm@kvack.org>
Subject: [linux-next:master 12191/12292] drivers/video/fbdev/acornfb.c:864:3: error: unannotated fall-through between switch labels
Date: Sat, 11 Sep 2021 11:09:05 +0800 [thread overview]
Message-ID: <202109111111.sMlaCyET-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 4341 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: aa14a3016182213f022068500486ef3bcacb9006
commit: 29119f65df4590266028a760d4738541a50f201b [12191/12292] Merge remote-tracking branch 'kspp-gustavo/for-next/kspp'
config: arm-randconfig-r014-20210910 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 261cbe98c38f8c1ee1a482fe76511110e790f58a)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# install arm cross compiling tool for clang build
# apt-get install binutils-arm-linux-gnueabi
# https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=29119f65df4590266028a760d4738541a50f201b
git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
git fetch --no-tags linux-next master
git checkout 29119f65df4590266028a760d4738541a50f201b
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
>> drivers/video/fbdev/acornfb.c:864:3: error: unannotated fall-through between switch labels [-Werror,-Wimplicit-fallthrough]
default:
^
drivers/video/fbdev/acornfb.c:864:3: note: insert 'break;' to avoid fall-through
default:
^
break;
1 error generated.
vim +864 drivers/video/fbdev/acornfb.c
^1da177e4c3f41 drivers/video/acornfb.c Linus Torvalds 2005-04-16 848
48c68c4f1b5424 drivers/video/acornfb.c Greg Kroah-Hartman 2012-12-21 849 static void acornfb_parse_dram(char *opt)
^1da177e4c3f41 drivers/video/acornfb.c Linus Torvalds 2005-04-16 850 {
^1da177e4c3f41 drivers/video/acornfb.c Linus Torvalds 2005-04-16 851 unsigned int size;
^1da177e4c3f41 drivers/video/acornfb.c Linus Torvalds 2005-04-16 852
^1da177e4c3f41 drivers/video/acornfb.c Linus Torvalds 2005-04-16 853 size = simple_strtoul(opt, &opt, 0);
^1da177e4c3f41 drivers/video/acornfb.c Linus Torvalds 2005-04-16 854
^1da177e4c3f41 drivers/video/acornfb.c Linus Torvalds 2005-04-16 855 if (opt) {
^1da177e4c3f41 drivers/video/acornfb.c Linus Torvalds 2005-04-16 856 switch (*opt) {
^1da177e4c3f41 drivers/video/acornfb.c Linus Torvalds 2005-04-16 857 case 'M':
^1da177e4c3f41 drivers/video/acornfb.c Linus Torvalds 2005-04-16 858 case 'm':
^1da177e4c3f41 drivers/video/acornfb.c Linus Torvalds 2005-04-16 859 size *= 1024;
df561f6688fef7 drivers/video/fbdev/acornfb.c Gustavo A. R. Silva 2020-08-23 860 fallthrough;
^1da177e4c3f41 drivers/video/acornfb.c Linus Torvalds 2005-04-16 861 case 'K':
^1da177e4c3f41 drivers/video/acornfb.c Linus Torvalds 2005-04-16 862 case 'k':
^1da177e4c3f41 drivers/video/acornfb.c Linus Torvalds 2005-04-16 863 size *= 1024;
^1da177e4c3f41 drivers/video/acornfb.c Linus Torvalds 2005-04-16 @864 default:
^1da177e4c3f41 drivers/video/acornfb.c Linus Torvalds 2005-04-16 865 break;
^1da177e4c3f41 drivers/video/acornfb.c Linus Torvalds 2005-04-16 866 }
^1da177e4c3f41 drivers/video/acornfb.c Linus Torvalds 2005-04-16 867 }
^1da177e4c3f41 drivers/video/acornfb.c Linus Torvalds 2005-04-16 868
^1da177e4c3f41 drivers/video/acornfb.c Linus Torvalds 2005-04-16 869 current_par.dram_size = size;
^1da177e4c3f41 drivers/video/acornfb.c Linus Torvalds 2005-04-16 870 }
^1da177e4c3f41 drivers/video/acornfb.c Linus Torvalds 2005-04-16 871
:::::: The code at line 864 was first introduced by commit
:::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2
:::::: TO: Linus Torvalds <torvalds@ppc970.osdl.org>
:::::: CC: Linus Torvalds <torvalds@ppc970.osdl.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 36088 bytes --]
reply other threads:[~2021-09-11 3:09 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202109111111.sMlaCyET-lkp@intel.com \
--to=lkp@intel.com \
--cc=gustavoars@kernel.org \
--cc=kbuild-all@lists.01.org \
--cc=linux-mm@kvack.org \
--cc=llvm@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox