Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp3946659pxm; Tue, 1 Mar 2022 08:18:06 -0800 (PST) X-Google-Smtp-Source: ABdhPJyWoHfZU5qmdRsTaTiTEJ9mPo3mUftO34NI50XlvLX4uUVEcxg3fBTxbsjTrOElZiwe1OT8 X-Received: by 2002:aa7:c3d8:0:b0:415:a0a9:1f18 with SMTP id l24-20020aa7c3d8000000b00415a0a91f18mr1366505edr.412.1646151486165; Tue, 01 Mar 2022 08:18:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646151486; cv=none; d=google.com; s=arc-20160816; b=GZ4nEHUZ3Ss99nK79YTdhjgwZ7RUF6LUWPTXtMyRw5a4Q8CdJtY219DFrDv1CDYkhX TszdvX9g3W7tUeZXYNOKzkT3AlFg/YCIXNuK70BL97Eu2WUS1Fm2MT9DF4fAxdBI+xmC qL4WwJmyeDmCw8JLsUB5O07eBJF5yzLq3hTRGDkI5Lx3A9X4+ZPa+49Zhh1Bm+vnlA4q Mn2O8uybKq2yjmFaVoXGpId2FGREJszqII4xNBVIKjFj7I3O9b9Y54476adD3PYGl976 JV23e+cEvMpzRG1BoGoCn6P/0lJoloF8p8BVw0cyhoe0uiwtSOCdJutu2TG52lHChrDP 1cuA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=17fHYdPQFVzWsknAFNwdkyV3QN+tMAp7sQTqvIqbS7s=; b=0mLgWh74CwHmw14mfJBNWVJ83vZki504BKag6jiD69t2YvTB2Ll1b9awjDLTiI0FgW 00DwAYfaB2jjTKfBupMRhZCQYEufKePNm9QvIiJVd/goxep5OMpWrEkSR/xNDylTF9SV mvqHvETwU1JcM8FRVMljTVX+HotcIrDLo68jlJ1CAuD5+ohuiv6Dy8zdtlNVpF7/s16d AsJfopEJnhyUfDuzIuHRTTDP85gu8TH4xIhQ/zBb6IjWVQ3lLr5OQDFHktZU5Rj09Vo7 qcRG1g9WYK+V37ZRG+YNefTNgnvh2zI0wLzgkMARJ8aDIqt/3jJW6O0GO2wfSRkl8o1a 8+AA== 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id nc27-20020a1709071c1b00b006d6f8b32414si983846ejc.461.2022.03.01.08.17.42; Tue, 01 Mar 2022 08:18:06 -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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235651AbiCAPW7 (ORCPT + 99 others); Tue, 1 Mar 2022 10:22:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48530 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235684AbiCAPW6 (ORCPT ); Tue, 1 Mar 2022 10:22:58 -0500 Received: from mail-io1-f46.google.com (mail-io1-f46.google.com [209.85.166.46]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 92DD2A8ECB; Tue, 1 Mar 2022 07:22:17 -0800 (PST) Received: by mail-io1-f46.google.com with SMTP id c23so18816992ioi.4; Tue, 01 Mar 2022 07:22:17 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=17fHYdPQFVzWsknAFNwdkyV3QN+tMAp7sQTqvIqbS7s=; b=IaZFvg964ul2FFm04dJ4aVilVwSkq3tNtuRZzNQIZ1qy34DAa2M2mcIOTH9Efz8oma ltfQcTLuTQOBdmykSXRgNgPxwNeMUVN7W1k1AtWuiI8KBYAdQksdDam/auDc93EXE5SX Yz958K2iZ/NUq57qDWpcgrHt01um+1f3boVVUMRSq7bB7QDFd0qIt28q23RbNW4rqZMR h7NsDZu0IG5aJxEEAFPugIjsh4mMtAjYE4ATwKCchQvMSn0K4TtvT1flUwVHog/UhgMj sGP1i/KusXbgRP9EtxV7FcwgH8b2Q8bKxsFJ2D/mom3Yy/v7so44ZVQS3CIQ+hV5rV3u IqIw== X-Gm-Message-State: AOAM53343AW0gBC1O8bnJwAH1+WuH4eh0LrzI8ODfzGO0nejT3732Qtw xLhJeQTFCeCC6/jBnq7pgPwEVHYdRyujO/NsrXn1jF+a X-Received: by 2002:a02:9f86:0:b0:311:b694:ef5c with SMTP id a6-20020a029f86000000b00311b694ef5cmr21638604jam.96.1646148136942; Tue, 01 Mar 2022 07:22:16 -0800 (PST) MIME-Version: 1.0 References: <20220215033750.104952-1-jiapeng.chong@linux.alibaba.com> In-Reply-To: <20220215033750.104952-1-jiapeng.chong@linux.alibaba.com> From: "Rafael J. Wysocki" Date: Tue, 1 Mar 2022 16:22:05 +0100 Message-ID: Subject: Re: [PATCH v2] PM: hibernate: Fix non-kernel-doc comment To: Jiapeng Chong Cc: "Rafael J. Wysocki" , Pavel Machek , Len Brown , Linux PM , Linux Kernel Mailing List , Abaci Robot Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no 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 On Tue, Feb 15, 2022 at 4:38 AM Jiapeng Chong wrote: > > 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. > -- Applied as 5.18 material with adjustments in the subject and changelog. Thanks!