From: Min-Hua Chen Date: Sat, 2 Sep 2023 05:25:11 +0000 (+0800) Subject: docs: sparse: convert sparse.txt to RST X-Git-Tag: v6.7-rc1~118^2~23 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=006b84bcbe8dc0977fb788c458072be27801f4b7;p=thirdparty%2Fkernel%2Flinux.git docs: sparse: convert sparse.txt to RST Follow Randy's advice [1] to move Documentation/translations/zh_TW/dev-tools/sparse.txt to Documentation/translations/zh_TW/dev-tools/sparse.rst [1] https://lore.kernel.org/lkml/bfab7c5b-e4d3-d8d9-afab-f43c0cdf26cf@infradead.org/ Suggested-by: Jonathan Corbet Suggested-by: Randy Dunlap Acked-by: Randy Dunlap Signed-off-by: Min-Hua Chen [jc: fixed htmldocs warning] Signed-off-by: Jonathan Corbet Link: https://lore.kernel.org/r/20230902052512.12184-3-minhuadotchen@gmail.com --- diff --git a/Documentation/translations/zh_TW/dev-tools/sparse.txt b/Documentation/translations/zh_TW/dev-tools/sparse.rst similarity index 98% rename from Documentation/translations/zh_TW/dev-tools/sparse.txt rename to Documentation/translations/zh_TW/dev-tools/sparse.rst index 35d3d1d748e6f..11d64709d6a47 100644 --- a/Documentation/translations/zh_TW/dev-tools/sparse.txt +++ b/Documentation/translations/zh_TW/dev-tools/sparse.rst @@ -27,7 +27,7 @@ Copyright 2006 Bob Copeland 使用 sparse 工具做類型檢查 ~~~~~~~~~~~~~~~~~~~~~~~~~~ -"__bitwise" 是一種類型屬性,所以你應該這樣使用它: +"__bitwise" 是一種類型屬性,所以你應該這樣使用它:: typedef int __bitwise pm_request_t; @@ -47,7 +47,7 @@ Copyright 2006 Bob Copeland 坦白來說,你並不需要使用枚舉類型。上面那些實際都可以濃縮成一個特殊的"int __bitwise"類型。 -所以更簡單的辦法只要這樣做: +所以更簡單的辦法只要這樣做:: typedef int __bitwise pm_request_t;