Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp5551221pxb; Mon, 14 Feb 2022 01:38:47 -0800 (PST) X-Google-Smtp-Source: ABdhPJxCHOvby/lRKMW5byISvA9wU775jmDVsP1gPJDcKfbJhrs2D+vBE9B4nKvpN50OVRYXPQjG X-Received: by 2002:a17:906:5186:: with SMTP id y6mr3491574ejk.40.1644831527036; Mon, 14 Feb 2022 01:38:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644831527; cv=none; d=google.com; s=arc-20160816; b=rKpGeL/2eVPHzwDULRvfUuY5WkNhzZ5/s1L8RVAOKJGGkFsE0eJ0E8zHK4zWKBksqE x6D4Emx8rpmkfvD5H1OnWpJrlqR1QqtKs4bz5Oqt6O1MnejnSf3nQT2XlJPu6N0tXxzY HkWalRZNpdeaL0eFMts47Fx1ztft4f8oUPJOz5AqYovqbVClEefpvh01Sny0ANiPFCNt uXxGOosRILKGZIGwtRML38P0s7A+eFwJTduBQ84KYiZ1qvkCEU2HdMg6/iMEUn4Qw5uP 9jiL6Y/LK0qxbFYzhbZEGC1z0+tqdYDmXKWe378z1WV6/vK3o+Kmpo072uSnkbgM5/o2 rFQg== 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=bOAw2VDYWoZIDs9cHp7xYfWSqgVNP0/N0orTUUjWC0I=; b=jX9fB6Z6kt1yODJ8wxT8U5Uzy3hPJf6JHnDRbvFxR6TvI+qWWSf5w2SZbgZDgc4OPK xlXqRIkW+Uuv8+KG9hPv4/LCs1NpScSRyCJ+mTwmqtmFouCqB7ko8tL3BrmLtTkj1KGY XbnArxg5roticA05sQNhsfTb0Hju1+8IkBMQv1wRh8HV1/C+zKovm/XLLHrWJdIZVY7Q Bw/l5pJYY+JSsX5wAMyhp4at2KiD0ai4nh4czxOkWEpQZf6+nBzZ8ihg64Xdc2qr02o8 LWUiWI1BPwSvXIvSH8pD8ipwuD1QSdIkHmjTMoUfC7IT8ChkGB8cU2K6wpA2XH2FIzdF R+2A== 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 n14si23400259edx.94.2022.02.14.01.38.24; Mon, 14 Feb 2022 01:38:47 -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 S242748AbiBNJPk (ORCPT + 99 others); Mon, 14 Feb 2022 04:15:40 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:33420 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242727AbiBNJPi (ORCPT ); Mon, 14 Feb 2022 04:15:38 -0500 Received: from out30-132.freemail.mail.aliyun.com (out30-132.freemail.mail.aliyun.com [115.124.30.132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C9A57606CF; Mon, 14 Feb 2022 01:15:30 -0800 (PST) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R101e4;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_---0V4OcSXd_1644830123; Received: from localhost(mailfrom:jiapeng.chong@linux.alibaba.com fp:SMTPD_---0V4OcSXd_1644830123) by smtp.aliyun-inc.com(127.0.0.1); Mon, 14 Feb 2022 17:15:28 +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] block: Fix non-kernel-doc comment Date: Mon, 14 Feb 2022 17:15:22 +0800 Message-Id: <20220214091522.100669-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 --- 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