[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAJZ5v0gj82ADfzP83QdMhmoyd8DZSMusmz1qAQP95iS+s5iqRw@mail.gmail.com>
Date: Tue, 7 May 2024 13:56:13 +0200
From: "Rafael J. Wysocki" <rafael@...nel.org>
To: Jeff Johnson <quic_jjohnson@...cinc.com>
Cc: "Rafael J. Wysocki" <rafael@...nel.org>, Daniel Lezcano <daniel.lezcano@...aro.org>,
linux-pm@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] cpuidle: ladder: fix ladder_do_selection() kernel-doc
On Mon, May 6, 2024 at 2:42 AM Jeff Johnson <quic_jjohnson@...cinc.com> wrote:
>
> make C=1 reports:
>
> warning: Function parameter or struct member 'dev' not described in 'ladder_do_selection'
>
> Document 'dev' for this function.
>
> Signed-off-by: Jeff Johnson <quic_jjohnson@...cinc.com>
> ---
> drivers/cpuidle/governors/ladder.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/cpuidle/governors/ladder.c b/drivers/cpuidle/governors/ladder.c
> index 8e9058c4ea63..6617eb494a11 100644
> --- a/drivers/cpuidle/governors/ladder.c
> +++ b/drivers/cpuidle/governors/ladder.c
> @@ -44,6 +44,7 @@ static DEFINE_PER_CPU(struct ladder_device, ladder_devices);
>
> /**
> * ladder_do_selection - prepares private data for a state change
> + * @dev: the CPU
> * @ldev: the ladder device
> * @old_idx: the current state index
> * @new_idx: the new target state index
>
> ---
Applied as 6.10 material, thanks!
Powered by blists - more mailing lists