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>] [day] [month] [year] [list]
Date:	Mon, 4 Jan 2016 15:30:28 +0800
From:	kbuild test robot <fengguang.wu@...el.com>
To:	Li Xi <pkuelelixi@...il.com>
Cc:	kbuild-all@...org, linux-ext4@...r.kernel.org,
	Theodore Ts'o <tytso@....edu>,
	Andreas Dilger <adilger@...ger.ca>, Jan Kara <jack@...e.cz>
Subject: [ext4:dev 16/17] fs/ext4/ioctl.c:426:1: warning: control reaches end
 of non-void function

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git dev
head:   880cec3449e040bc072f4f9c5bd465c6d0afa481
commit: e14c6dbc642982ad6f88c2f7b46a23512e5803c0 [16/17] ext4: add FS_IOC_FSSETXATTR/FS_IOC_FSGETXATTR interface support
config: x86_64-randconfig-x014-01040119 (attached as .config)
reproduce:
        git checkout e14c6dbc642982ad6f88c2f7b46a23512e5803c0
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All warnings (new ones prefixed by >>):

   fs/ext4/ioctl.c: In function 'ext4_ioctl_setproject':
>> fs/ext4/ioctl.c:426:1: warning: control reaches end of non-void function [-Wreturn-type]
    }
    ^

vim +426 fs/ext4/ioctl.c

   410	out_dirty:
   411		rc = ext4_mark_iloc_dirty(handle, inode, &iloc);
   412		if (!err)
   413			err = rc;
   414	out_stop:
   415		ext4_journal_stop(handle);
   416	out_unlock:
   417		mutex_unlock(&inode->i_mutex);
   418		mnt_drop_write_file(filp);
   419		return err;
   420	}
   421	#else
   422	static int ext4_ioctl_setproject(struct file *filp, __u32 projid)
   423	{
   424		if (projid != EXT4_DEF_PROJID)
   425			return -EOPNOTSUPP;
 > 426	}
   427	#endif
   428	
   429	/* Transfer internal flags to xflags */
   430	static inline __u32 ext4_iflags_to_xflags(unsigned long iflags)
   431	{
   432		__u32 xflags = 0;
   433	
   434		if (iflags & EXT4_SYNC_FL)

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Download attachment ".config.gz" of type "application/octet-stream" (23295 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ