Skip to content

Commit 7bf770f

Browse files
Christoph Hellwigrafaeljw
authored andcommitted
PM: hibernate: fix the kerneldoc comment for swsusp_check() and swsusp_close()
The comments for both swsusp_check() and swsusp_close() don't actually describe what they are doing. Just removing the comments would probably better, but as the file is full of useless kerneldoc comments for non-exported symbols this fits in better with the style. Signed-off-by: Christoph Hellwig <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent d08970d commit 7bf770f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

kernel/power/swap.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1513,7 +1513,7 @@ int swsusp_read(unsigned int *flags_p)
15131513
static void *swsusp_holder;
15141514

15151515
/**
1516-
* swsusp_check - Check for swsusp signature in the resume device
1516+
* swsusp_check - Open the resume device and check for the swsusp signature.
15171517
* @exclusive: Open the resume device exclusively.
15181518
*/
15191519

@@ -1564,7 +1564,7 @@ int swsusp_check(bool exclusive)
15641564
}
15651565

15661566
/**
1567-
* swsusp_close - close swap device.
1567+
* swsusp_close - close resume device.
15681568
* @exclusive: Close the resume device which is exclusively opened.
15691569
*/
15701570

0 commit comments

Comments
 (0)