PM: hibernate: repair Excess function parameter warning
Subsystems (2)
PATCH 1/1 PM: hibernate: repair Excess function parameter warning
Function swsusp_close() does not have any parameters, so remove the description of parameter @exclusive to prevent this warning.
swap.c:1573: warning: Excess function parameter 'exclusive' description in 'swsusp_close'
Signed-off-by Randy Dunlap <[email protected]>
Cc "Rafael J. Wysocki" <[email protected]>
Cc Pavel Machek <[email protected]>
Cc Len Brown <[email protected]>
--- kernel/power/swap.c | 1 - 1 file changed, 1 deletion(-)
kernel/power/swap.c +0 -1
@@ -1566,7 +1566,6 @@ put:/** * swsusp_close - close resume device. -* @exclusive: Close the resume device which is exclusively opened. */ void swsusp_close (void )
Rafael J. Wysocki
maintainerQuoted 19 lines · Randy Dunlap
Function
swsusp_close()does not have any parameters, so remove the description of parameter @exclusive to prevent this warning.swap.c:1573: warning: Excess function parameter 'exclusive' description in '
swsusp_close'Signed-off-by Randy Dunlap <[email protected]>Cc "Rafael J. Wysocki" <[email protected]>Cc Pavel Machek <[email protected]>Cc Len Brown <[email protected]>--- kernel/power/swap.c | 1 - 1 file changed, 1 deletion(-)diff --
a/kernel/power/swap.cb/kernel/power/swap.c
kernel/power/swap.c put: · line 1571
Quoted 7 lines
kernel/power/swap.c +0
-1@@ -1566,7 +1566,6 @@ put:/** * swsusp_close - close resume device. -* @exclusive: Close the resume device which is exclusively opened. */ void swsusp_close (void )
Applied (under a slightly edited subject) as 6.8 material, thanks!