treewide: Use fallthrough pseudo-keyword
Replace the existing /* fall through */ comments and its variants with the new pseudo-keyword macro fallthrough[1]. Also, remove unnecessary fall-through markings when it is the case. [1] https://www.kernel.org/doc/html/v5.7/process/deprecated.html?highlight=fallthrough#implicit-switch-case-fall-through Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
This commit is contained in:
@@ -314,7 +314,7 @@ nfsd_proc_create(struct svc_rqst *rqstp)
|
||||
rdev = inode->i_rdev;
|
||||
attr->ia_valid |= ATTR_SIZE;
|
||||
|
||||
/* FALLTHROUGH */
|
||||
fallthrough;
|
||||
case S_IFIFO:
|
||||
/* this is probably a permission check..
|
||||
* at least IRIX implements perm checking on
|
||||
|
Reference in New Issue
Block a user