diff options
Diffstat (limited to 'include/linux/compat.h')
| -rw-r--r-- | include/linux/compat.h | 7 | 
1 files changed, 3 insertions, 4 deletions
diff --git a/include/linux/compat.h b/include/linux/compat.h index c4255d8a4a8a..b354ce58966e 100644 --- a/include/linux/compat.h +++ b/include/linux/compat.h @@ -429,11 +429,11 @@ put_compat_sigset(compat_sigset_t __user *compat, const sigset_t *set,  	compat_sigset_t v;  	switch (_NSIG_WORDS) {  	case 4: v.sig[7] = (set->sig[3] >> 32); v.sig[6] = set->sig[3]; -		/* fall through */ +		fallthrough;  	case 3: v.sig[5] = (set->sig[2] >> 32); v.sig[4] = set->sig[2]; -		/* fall through */ +		fallthrough;  	case 2: v.sig[3] = (set->sig[1] >> 32); v.sig[2] = set->sig[1]; -		/* fall through */ +		fallthrough;  	case 1: v.sig[1] = (set->sig[0] >> 32); v.sig[0] = set->sig[0];  	}  	return copy_to_user(compat, &v, size) ? -EFAULT : 0; @@ -851,7 +851,6 @@ asmlinkage long compat_sys_select(int n, compat_ulong_t __user *inp,  asmlinkage long compat_sys_ustat(unsigned dev, struct compat_ustat __user *u32);  asmlinkage long compat_sys_recv(int fd, void __user *buf, compat_size_t len,  				unsigned flags); -asmlinkage long compat_sys_sysctl(struct compat_sysctl_args __user *args);  /* obsolete: fs/readdir.c */  asmlinkage long compat_sys_old_readdir(unsigned int fd,  |