[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAJZ5v0ibfwYt3z6OW-gHLEyJnAxXWKXpqnXngfMSAFV-mSsxDA@mail.gmail.com>
Date: Wed, 20 Dec 2023 19:22:02 +0100
From: "Rafael J. Wysocki" <rafael@...nel.org>
To: Randy Dunlap <rdunlap@...radead.org>
Cc: linux-kernel@...r.kernel.org, "Rafael J. Wysocki" <rafael@...nel.org>,
Pavel Machek <pavel@....cz>, Len Brown <len.brown@...el.com>, linux-pm@...r.kernel.org
Subject: Re: [PATCH] PM: hibernate: repair Excess function parameter warning
On Wed, Dec 20, 2023 at 7:02 AM Randy Dunlap <rdunlap@...radead.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@...radead.org>
> Cc: "Rafael J. Wysocki" <rafael@...nel.org>
> Cc: Pavel Machek <pavel@....cz>
> Cc: Len Brown <len.brown@...el.com>
> Cc: linux-pm@...r.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!
Powered by blists - more mailing lists