Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
* [jlayton:nfsd-tracepoints 8/9] fs/nfsd/nfs4proc.c:796:10: error: label at end of compound statement: expected statement
@ 2025-03-08 19:03 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-03-08 19:03 UTC (permalink / raw)
  To: Jeff Layton; +Cc: llvm, oe-kbuild-all

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/jlayton/linux.git nfsd-tracepoints
head:   7162c90c3e04a073c111a5821e529377ce2ab43f
commit: f1681c62918a99afaf3528b5332aa647740eb818 [8/9] nfsd: add tracepoints around nfsd_create events
config: s390-defconfig (https://download.01.org/0day-ci/archive/20250309/202503090203.YzYCBsQA-lkp@intel.com/config)
compiler: clang version 15.0.7 (https://github.com/llvm/llvm-project 8dfdcc7b7bf66834a761bd8de445840ef68e4d1a)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250309/202503090203.YzYCBsQA-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202503090203.YzYCBsQA-lkp@intel.com/

All errors (new ones prefixed by >>):

>> fs/nfsd/nfs4proc.c:796:10: error: label at end of compound statement: expected statement
           default:
                   ^
                    ;
   1 error generated.


vim +796 fs/nfsd/nfs4proc.c

   778	
   779	static umode_t nfs_type_to_vfs_type(enum nfs_ftype4 nfstype)
   780	{
   781		switch (nfstype) {
   782		case NF4REG:
   783			return S_IFREG;
   784		case NF4DIR:
   785			return S_IFDIR;
   786		case NF4BLK:
   787			return S_IFBLK;
   788		case NF4CHR:
   789			return S_IFCHR;
   790		case NF4LNK:
   791			return S_IFLNK;
   792		case NF4SOCK:
   793			return S_IFSOCK;
   794		case NF4FIFO:
   795			return S_IFIFO;
 > 796		default:
   797		}
   798		return 0;
   799	}
   800	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-03-08 19:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-08 19:03 [jlayton:nfsd-tracepoints 8/9] fs/nfsd/nfs4proc.c:796:10: error: label at end of compound statement: expected statement kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox