From nobody Thu Jun 25 02:03:51 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id BC8D1C433EF for ; Thu, 24 Feb 2022 10:43:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233586AbiBXKnu (ORCPT ); Thu, 24 Feb 2022 05:43:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34532 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232967AbiBXKnt (ORCPT ); Thu, 24 Feb 2022 05:43:49 -0500 Received: from out30-130.freemail.mail.aliyun.com (out30-130.freemail.mail.aliyun.com [115.124.30.130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BE8251A39E8 for ; Thu, 24 Feb 2022 02:43:19 -0800 (PST) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R191e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e04394;MF=jiapeng.chong@linux.alibaba.com;NM=1;PH=DS;RN=6;SR=0;TI=SMTPD_---0V5Nr-oV_1645699346; Received: from localhost(mailfrom:jiapeng.chong@linux.alibaba.com fp:SMTPD_---0V5Nr-oV_1645699346) by smtp.aliyun-inc.com(127.0.0.1); Thu, 24 Feb 2022 18:43:17 +0800 From: Jiapeng Chong To: tangmeng@uniontech.com Cc: matti.vaittinen@fi.rohmeurope.com, josef@toxicpanda.com, linux-kernel@vger.kernel.org, Jiapeng Chong , Abaci Robot Subject: [PATCH] kernel/reboot.c: Fix hw_failure_emergency_poweroff() kernel-doc comment Date: Thu, 24 Feb 2022 18:42:25 +0800 Message-Id: <20220224104225.67677-1-jiapeng.chong@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" 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 Signed-off-by: Jiapeng Chong --- 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_powero= ff_work, =20 /** * 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 shut= down * after a given period of time. If time is negative this is not scheduled. --=20 2.20.1.7.g153144c