[PATCH] strcut: Correct spelling mistakes in comments

Wang Honghui posted 1 patch 2 years, 7 months ago
kernel/power/snapshot.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] strcut: Correct spelling mistakes in comments
Posted by Wang Honghui 2 years, 7 months ago
Signed-off-by: Wang Honghui <honghui.wang@ucas.com.cn>

strcut: Correct spelling mistakes in comments.

---
 kernel/power/snapshot.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/power/snapshot.c b/kernel/power/snapshot.c
index cd8b7b35f1e8..b27affb7503f 100644
--- a/kernel/power/snapshot.c
+++ b/kernel/power/snapshot.c
@@ -398,7 +398,7 @@ struct mem_zone_bm_rtree {
 	unsigned int blocks;		/* Number of Bitmap Blocks     */
 };
 
-/* strcut bm_position is used for browsing memory bitmaps */
+/* struct bm_position is used for browsing memory bitmaps */
 
 struct bm_position {
 	struct mem_zone_bm_rtree *zone;
-- 
2.34.1
Re: [PATCH] strcut: Correct spelling mistakes in comments
Posted by Rafael J. Wysocki 2 years, 6 months ago
On Thu, May 4, 2023 at 11:19 AM Wang Honghui <honghui.wang@ucas.com.cn> wrote:
>
> Signed-off-by: Wang Honghui <honghui.wang@ucas.com.cn>
>
> strcut: Correct spelling mistakes in comments.
>
> ---
>  kernel/power/snapshot.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/kernel/power/snapshot.c b/kernel/power/snapshot.c
> index cd8b7b35f1e8..b27affb7503f 100644
> --- a/kernel/power/snapshot.c
> +++ b/kernel/power/snapshot.c
> @@ -398,7 +398,7 @@ struct mem_zone_bm_rtree {
>         unsigned int blocks;            /* Number of Bitmap Blocks     */
>  };
>
> -/* strcut bm_position is used for browsing memory bitmaps */
> +/* struct bm_position is used for browsing memory bitmaps */
>
>  struct bm_position {
>         struct mem_zone_bm_rtree *zone;
> --

Applied as 6.5 material under an edited subject and with a new
changelog, thanks!