mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] PM: hibernate: repair Excess function parameter warning
@ 2023-12-20  6:02 Randy Dunlap
  2023-12-20 18:22 ` Rafael J. Wysocki
  0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2023-12-20  6:02 UTC (permalink / raw)
  To: linux-kernel
  Cc: Randy Dunlap, Rafael J. Wysocki, Pavel Machek, Len Brown, linux-pm

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 <rdunlap@infradead.org>
Cc: "Rafael J. Wysocki" <rafael@kernel.org>
Cc: Pavel Machek <pavel@ucw.cz>
Cc: Len Brown <len.brown@intel.com>
Cc: linux-pm@vger.kernel.org
---
 kernel/power/swap.c |    1 -
 1 file changed, 1 deletion(-)

diff -- a/kernel/power/swap.c b/kernel/power/swap.c
--- a/kernel/power/swap.c
+++ b/kernel/power/swap.c
@@ -1566,7 +1566,6 @@ put:
 
 /**
  * swsusp_close - close resume device.
- * @exclusive: Close the resume device which is exclusively opened.
  */
 
 void swsusp_close(void)

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] PM: hibernate: repair Excess function parameter warning
  2023-12-20  6:02 [PATCH] PM: hibernate: repair Excess function parameter warning Randy Dunlap
@ 2023-12-20 18:22 ` Rafael J. Wysocki
  0 siblings, 0 replies; 2+ messages in thread
From: Rafael J. Wysocki @ 2023-12-20 18:22 UTC (permalink / raw)
  To: Randy Dunlap
  Cc: linux-kernel, Rafael J. Wysocki, Pavel Machek, Len Brown, linux-pm

On Wed, Dec 20, 2023 at 7:02 AM Randy Dunlap <rdunlap@infradead.org> wrote:
>
> 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 <rdunlap@infradead.org>
> Cc: "Rafael J. Wysocki" <rafael@kernel.org>
> Cc: Pavel Machek <pavel@ucw.cz>
> Cc: Len Brown <len.brown@intel.com>
> Cc: linux-pm@vger.kernel.org
> ---
>  kernel/power/swap.c |    1 -
>  1 file changed, 1 deletion(-)
>
> diff -- a/kernel/power/swap.c b/kernel/power/swap.c
> --- a/kernel/power/swap.c
> +++ b/kernel/power/swap.c
> @@ -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!

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-12-20 18:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-20  6:02 [PATCH] PM: hibernate: repair Excess function parameter warning Randy Dunlap
2023-12-20 18:22 ` Rafael J. Wysocki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®