docs: Use fallthrough pseudo-keyword
authorWei Ming Chen <jj251510319013@gmail.com>
Sat, 15 May 2021 15:51:42 +0000 (23:51 +0800)
committerJonathan Corbet <corbet@lwn.net>
Thu, 20 May 2021 20:06:52 +0000 (14:06 -0600)
Replace /* fall through */ comment with fallthrough, make
it align with original process/coding-style.rst

Signed-off-by: Wei Ming Chen <jj251510319013@gmail.com>
Link: https://lore.kernel.org/r/20210515155142.2490-1-jj251510319013@gmail.com
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/translations/it_IT/process/coding-style.rst
Documentation/translations/zh_CN/process/coding-style.rst

index 95f2e7c..ecc74ba 100644 (file)
@@ -62,7 +62,7 @@ i ``case``.  Un esempio.:
        case 'K':
        case 'k':
                mem <<= 10;
-               /* fall through */
+               fallthrough;
        default:
                break;
        }
index 406d43a..b8c484a 100644 (file)
@@ -61,7 +61,7 @@ Linux 内核代码风格
        case 'K':
        case 'k':
                mem <<= 10;
-               /* fall through */
+               fallthrough;
        default:
                break;
        }