lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240505-ladder_do_selection-kdoc-v1-1-fa0da92735dd@quicinc.com>
Date: Sun, 5 May 2024 17:42:16 -0700
From: Jeff Johnson <quic_jjohnson@...cinc.com>
To: "Rafael J. Wysocki" <rafael@...nel.org>,
        Daniel Lezcano
	<daniel.lezcano@...aro.org>
CC: <linux-pm@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
        Jeff Johnson
	<quic_jjohnson@...cinc.com>
Subject: [PATCH] cpuidle: ladder: fix ladder_do_selection() kernel-doc

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

---
base-commit: dd5a440a31fae6e459c0d6271dddd62825505361
change-id: 20240505-ladder_do_selection-kdoc-97d13884b847


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ