Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp6296843pxb; Mon, 14 Feb 2022 22:04:03 -0800 (PST) X-Google-Smtp-Source: ABdhPJwlZZMSHRsLTV38qMPVlAIyWL6LkQ3FILzW+SXONZB7HUCeogdkB5jeK9f+IxLLTF73gIKH X-Received: by 2002:a17:906:4789:: with SMTP id cw9mr1700643ejc.97.1644905043157; Mon, 14 Feb 2022 22:04:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644905043; cv=none; d=google.com; s=arc-20160816; b=lHQ+BwZ4IdsIoSqh22LV70p6crsI1t9gCG2bn+nGHC5BqQ/I1uZGxAEn8W2bacpoBL Cwu4/ca4HvTGqBIQVVxmYqWz81/N81Osb80qQHpB9WXeS4XgEWhHBKv6A4vj+s41iuS+ fmm55+O7z9wE3FzIVSgfwBiQnskx/2gq6ReuQAYdgNiHCcXZLvnwFbYdIUbUvhAs2S4R U4iNLiodJGgNzsBucZl59gxrPM6HrQeiz1oLRtMU8HmCfFVH3basvyVPS9CfTVBzEfbA X5I3UNvJ9m5lwVavlZUYJm3X58j28eNj1yw+L7/nE3ljQjmXHQUKv6PNPW0ufK//CAIx zD9A== 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=FZ8kQbIcM24eiXFVh5hoohsq1VJL0L66nDKosG5DQVI=; b=O8xRbH0pqTxUIHiTCAuZUXX8R3unGVs+OuvnfNmATVb1pbmunKDbM9zstUdDgGeLyy Km+OTvTr/DZqxGkOTh+J7IaBtNzH5C23l0TyXeNejNoeFaBIgSO+pSV+kB0FqwJBzOTF K5dt6ExFZzetPdFTOa8NiuEB/Na4GxmOkjAzBrQ82NE7QWH4Vhhe9sDX9YE98LX8SKYg Nwn/R81TuQrMSHd9NoAUtVe5lJrfz8bzeoG9JqI2el1qO/Rih1ST6IvCf+hlUHFl4Wxc NRRELlTRYFS3vkgZN741vKFE2z/hNIbLDKLp3TchNNOATRmr6NQQKtPmhKrTEM2CNqT0 9WmA== 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 s5si15081646edd.249.2022.02.14.22.03.40; Mon, 14 Feb 2022 22:04:03 -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 S233729AbiBODiI (ORCPT + 99 others); Mon, 14 Feb 2022 22:38:08 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:37266 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229953AbiBODiH (ORCPT ); Mon, 14 Feb 2022 22:38:07 -0500 Received: from out30-45.freemail.mail.aliyun.com (out30-45.freemail.mail.aliyun.com [115.124.30.45]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9EDEE90FEB; Mon, 14 Feb 2022 19:37:58 -0800 (PST) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R861e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e04357;MF=jiapeng.chong@linux.alibaba.com;NM=1;PH=DS;RN=7;SR=0;TI=SMTPD_---0V4W9NEP_1644896271; Received: from localhost(mailfrom:jiapeng.chong@linux.alibaba.com fp:SMTPD_---0V4W9NEP_1644896271) by smtp.aliyun-inc.com(127.0.0.1); Tue, 15 Feb 2022 11:37:56 +0800 From: Jiapeng Chong To: rafael@kernel.org Cc: pavel@ucw.cz, len.brown@intel.com, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Jiapeng Chong , Abaci Robot Subject: [PATCH v2] PM: hibernate: Fix non-kernel-doc comment Date: Tue, 15 Feb 2022 11:37:50 +0800 Message-Id: <20220215033750.104952-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 Fixes the following W=1 kernel build warning: kernel/power/swap.c:120: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst. Reported-by: Abaci Robot Signed-off-by: Jiapeng Chong --- Changes in v2: -Modify subject 'block' to 'PM: hibernate'. kernel/power/swap.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/kernel/power/swap.c b/kernel/power/swap.c index 6c4f983cbacc..91fffdd2c7fb 100644 --- a/kernel/power/swap.c +++ b/kernel/power/swap.c @@ -88,7 +88,7 @@ struct swap_map_page_list { struct swap_map_page_list *next; }; -/** +/* * The swap_map_handle structure is used for handling swap in * a file-alike way */ @@ -116,7 +116,7 @@ struct swsusp_header { static struct swsusp_header *swsusp_header; -/** +/* * The following functions are used for tracing the allocated * swap pages, so that they can be freed in case of an error. */ @@ -170,7 +170,7 @@ static int swsusp_extents_insert(unsigned long swap_offset) return 0; } -/** +/* * alloc_swapdev_block - allocate a swap page and register that it has * been allocated, so that it can be freed in case of an error. */ @@ -189,7 +189,7 @@ sector_t alloc_swapdev_block(int swap) return 0; } -/** +/* * free_all_swap_pages - free swap pages allocated for saving image data. * It also frees the extents used to register which swap entries had been * allocated. -- 2.20.1.7.g153144c