diff options
author | Wei Ming Chen <jj251510319013@gmail.com> | 2021-05-15 18:51:42 +0300 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2021-05-20 23:06:52 +0300 |
commit | cc3496bf8685a5bd0bdd79b23ef06e85184f8863 (patch) | |
tree | 64459b1a9fb84720e35f4fbcd5374072e7fe9dde /Documentation/translations/zh_CN/process/coding-style.rst | |
parent | db1ea668843e048a544021b9bc0aee5aac0b6424 (diff) | |
download | linux-cc3496bf8685a5bd0bdd79b23ef06e85184f8863.tar.xz |
docs: Use fallthrough pseudo-keyword
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>
Diffstat (limited to 'Documentation/translations/zh_CN/process/coding-style.rst')
-rw-r--r-- | Documentation/translations/zh_CN/process/coding-style.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/translations/zh_CN/process/coding-style.rst b/Documentation/translations/zh_CN/process/coding-style.rst index 406d43a02c02..b8c484a84d10 100644 --- a/Documentation/translations/zh_CN/process/coding-style.rst +++ b/Documentation/translations/zh_CN/process/coding-style.rst @@ -61,7 +61,7 @@ Linux 内核代码风格 case 'K': case 'k': mem <<= 10; - /* fall through */ + fallthrough; default: break; } |