Skip to content

Commit 444e115

Browse files
wb-zjp846396rafaeljw
authored andcommitted
PM: hibernate: Clean up non-kernel-doc comments
Address the following W=1 kernel build warning: kernel/power/swap.c:120: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst. Reported-by: Abaci Robot <abaci@linux.alibaba.com> Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
1 parent 7dfe105 commit 444e115

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

kernel/power/swap.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ struct swap_map_page_list {
8989
struct swap_map_page_list *next;
9090
};
9191

92-
/**
92+
/*
9393
* The swap_map_handle structure is used for handling swap in
9494
* a file-alike way
9595
*/
@@ -117,7 +117,7 @@ struct swsusp_header {
117117

118118
static struct swsusp_header *swsusp_header;
119119

120-
/**
120+
/*
121121
* The following functions are used for tracing the allocated
122122
* swap pages, so that they can be freed in case of an error.
123123
*/
@@ -171,7 +171,7 @@ static int swsusp_extents_insert(unsigned long swap_offset)
171171
return 0;
172172
}
173173

174-
/**
174+
/*
175175
* alloc_swapdev_block - allocate a swap page and register that it has
176176
* been allocated, so that it can be freed in case of an error.
177177
*/
@@ -190,7 +190,7 @@ sector_t alloc_swapdev_block(int swap)
190190
return 0;
191191
}
192192

193-
/**
193+
/*
194194
* free_all_swap_pages - free swap pages allocated for saving image data.
195195
* It also frees the extents used to register which swap entries had been
196196
* allocated.

0 commit comments

Comments
 (0)