2023-05-04 09:50:58

by Wang Honghui

[permalink] [raw]
Subject: [PATCH] strcut: Correct spelling mistakes in comments

Signed-off-by: Wang Honghui <[email protected]>

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


2023-05-24 17:05:35

by Rafael J. Wysocki

[permalink] [raw]
Subject: Re: [PATCH] strcut: Correct spelling mistakes in comments

On Thu, May 4, 2023 at 11:19 AM Wang Honghui <[email protected]> wrote:
>
> Signed-off-by: Wang Honghui <[email protected]>
>
> 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!