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 for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20220224104225.67677-1-jiapeng.chong@linux.alibaba.com>
Date:   Thu, 24 Feb 2022 18:42:25 +0800
From:   Jiapeng Chong <jiapeng.chong@...ux.alibaba.com>
To:     tangmeng@...ontech.com
Cc:     matti.vaittinen@...rohmeurope.com, josef@...icpanda.com,
        linux-kernel@...r.kernel.org,
        Jiapeng Chong <jiapeng.chong@...ux.alibaba.com>,
        Abaci Robot <abaci@...ux.alibaba.com>
Subject: [PATCH] kernel/reboot.c: Fix hw_failure_emergency_poweroff() kernel-doc comment

Clean up the following clang-w1 warning:

kernel/reboot.c:587: warning: Function parameter or member
'poweroff_delay_ms' not described in 'hw_failure_emergency_poweroff'.

Reported-by: Abaci Robot <abaci@...ux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@...ux.alibaba.com>
---
 kernel/reboot.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/kernel/reboot.c b/kernel/reboot.c
index ed4e6dfb7d44..c18d9515a27f 100644
--- a/kernel/reboot.c
+++ b/kernel/reboot.c
@@ -579,6 +579,7 @@ static DECLARE_DELAYED_WORK(hw_failure_emergency_poweroff_work,
 
 /**
  * hw_failure_emergency_poweroff - Trigger an emergency system poweroff
+ * @poweroff_delay_ms: Shutdown delay time value.
  *
  * This may be called from any critical situation to trigger a system shutdown
  * after a given period of time. If time is negative this is not scheduled.
-- 
2.20.1.7.g153144c

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ