All of lore.kernel.org
 help / color / mirror / Atom feed
* [android-common:android17-6.18-kminext 0/2] fs/fuse/fuse_bpf_backing.c:1973:50-51: Unneeded semicolon
@ 2026-09-16  4:13 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-09-16  4:13 UTC (permalink / raw)
  To: cros-kernel-buildreports; +Cc: oe-kbuild-all

tree:   https://android.googlesource.com/kernel/common android17-6.18-kminext
head:   e6b87e11eff11fa0feb518d0e1ec06b3b700b129
commit: be926e6761d28d105ba672242e81e911e0d7e5e0 [0/2] ANDROID: fuse-bpf: fuse-bpf v1.3
config: x86_64-randconfig-102-20260915 (https://download.01.org/0day-ci/archive/20260916/202609160640.5NNFGTWD-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0

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/202609160640.5NNFGTWD-lkp@intel.com/

cocci warnings: (new ones prefixed by >>)
>> fs/fuse/fuse_bpf_backing.c:1973:50-51: Unneeded semicolon

vim +1973 fs/fuse/fuse_bpf_backing.c

  1964	
  1965	static void fuse_stat_to_attr(struct fuse_conn *fc, struct inode *inode,
  1966			struct kstat *stat, struct fuse_attr *attr)
  1967	{
  1968		unsigned int blkbits;
  1969	
  1970		/* see the comment in fuse_change_attributes() */
  1971		if (fc->writeback_cache && S_ISREG(inode->i_mode)) {
  1972			stat->size = i_size_read(inode);
> 1973			stat->mtime.tv_sec = inode_get_mtime_sec(inode);;
  1974			stat->mtime.tv_nsec = inode_get_mtime_nsec(inode);
  1975			stat->ctime.tv_sec = inode_get_ctime_sec(inode);
  1976			stat->ctime.tv_nsec = inode_get_ctime_nsec(inode);
  1977		}
  1978	
  1979		attr->ino = stat->ino;
  1980		attr->mode = (inode->i_mode & S_IFMT) | (stat->mode & 07777);
  1981		attr->nlink = stat->nlink;
  1982		attr->uid = from_kuid(fc->user_ns, stat->uid);
  1983		attr->gid = from_kgid(fc->user_ns, stat->gid);
  1984		attr->atime = stat->atime.tv_sec;
  1985		attr->atimensec = stat->atime.tv_nsec;
  1986		attr->mtime = stat->mtime.tv_sec;
  1987		attr->mtimensec = stat->mtime.tv_nsec;
  1988		attr->ctime = stat->ctime.tv_sec;
  1989		attr->ctimensec = stat->ctime.tv_nsec;
  1990		attr->size = stat->size;
  1991		attr->blocks = stat->blocks;
  1992	
  1993		if (stat->blksize != 0)
  1994			blkbits = ilog2(stat->blksize);
  1995		else
  1996			blkbits = inode->i_sb->s_blocksize_bits;
  1997	
  1998		attr->blksize = 1 << blkbits;
  1999	}
  2000	

--
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:[~2026-09-16  4:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-16  4:13 [android-common:android17-6.18-kminext 0/2] fs/fuse/fuse_bpf_backing.c:1973:50-51: Unneeded semicolon kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.