X-Received: by 2002:a17:90a:f185:b0:1bc:806f:5cfc with SMTP id bv5-20020a17090af18500b001bc806f5cfcmr11325659pjb.136.1645701818175; Thu, 24 Feb 2022 03:23:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645701818; cv=none; d=google.com; s=arc-20160816; b=jQcXr2Auj/ZLE8EpysVcJH+wdwozXmFjkJylaTr90Jt4jekd5YbTztbJf/StPVm47F RAV5csfoPSzibSKP7+JN3LFClnqG8fHXkmlotj88hU7MNTe5/nwgDPve9J5q/TUVMX7f 1QH8JccnAY9uorn5K016KxNGM3KdG5jFkNiyNCHc0WY+2014oVVFOBCDIVrzaPKQy4e9 RiKWE0yJEqUJOMYClecduslV3AfxqE+gGE5kbLEWHnOiztgXKjX2iRJgk5Jcpn7ecfvb ISSkW5oar7KiBimeHFPyUN6fT04Zka9F5fW+EY/KytrGcuFhDGbEl9gE2FLxhsTSSkFD o4HQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=ItLO7e7zj292CcxbBobG2WG7vxeEhNOIRqymkjgNkk0=; b=QjLiglBlWRQaQ0yP8KC/ZjUcu7QAJ6hiN6lzexpQKpyABt242m4au57K1nSuo+lI3m quDI76Zq2vbUB2fu3qBZqDX0HNyqZ0/ULVFdo7+/gVykrvbKqlntbapGioNJwWIDyivN ANJl+rsAY5F5+p90tbwXZe24IA2RXlnQ1S5OJHTWS8Ef0Cvs6/gUaqHcjnpZh7DD/G3r rhRNzC/ek7ILP5QvwECC44IGTiqoHOTRtQ6rywMKWz6K/n7bz5Y/O1l6eKOTYA4MNA2W Ww6IRfBUwChLCiSUw2t5OZDLMUfOQVUhqULcdz9C1wl+utrvm039WoGxhwwv50xyBSqR ZUIw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c23si2134866plo.530.2022.02.24.03.23.20; Thu, 24 Feb 2022 03:23:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233578AbiBXKnu (ORCPT + 99 others); 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: 8bit X-Spam-Status: No, score=-9.9 required=5.0 tests=BAYES_00, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY,USER_IN_DEF_SPF_WL autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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_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