Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp5950177pxb; Mon, 14 Feb 2022 11:28:59 -0800 (PST) X-Google-Smtp-Source: ABdhPJxxNDijKytIhncoCBLOGpcuqtpDprkJAImLofPSIVec+u4S51k7TgOI/biKOcFjJQ8SWDVM X-Received: by 2002:a17:902:9a06:: with SMTP id v6mr548765plp.60.1644866939105; Mon, 14 Feb 2022 11:28:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644866939; cv=none; d=google.com; s=arc-20160816; b=G0UHkUMQ6w2AALf41T5KN/kBYqcEdyyNYEIqD3CjFEHPnvTfVY2EYOaXigaKShB3Dx H5EJDGkKMhXBL6NTtxTtQzZRiPaPrGgCWIb0i7CtvWjRC9AzlxysE7oKHWTgRNvb0TCx /kQ0iTKHEacy2jpwdI09Ytsve9CTqyWFPEDk8NBpkMvwtJQio++9KTgEmvpTm8a/kVi/ 4iIYkCh802aBFG+phFbVDuQnA870wlAyyl5if5kjW3RCj6jeheXVHUQfXpPs6I88HJr1 HgH1wk5IH1LpVYTC+PlhuI2fzDMKgL1Yx9fZfTf33seEvX/Ex7omf+uHMWGo73eTt57Z AK/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=hP69zmrWln9sFp7Qn5hjhCDPMAmpxl21/+2CAr0FVmk=; b=im/GybsC8CLCJefMDU3ypibpCbAbFSANWRLEmt3I+1yX15pX5dZmJ3YwUErAepC0a+ b8wOapukVZLzoBMfBZN0z8hLVy49y8ESXaRMcm3zBrMPftRjxTpzbDupcYCjVzzyfvBi RTd+6XKAIGjxGyK17JrZjL6ZnBimRSunIK7Ps32Z68V8I3tSayP254bRVTeYvw2RqJmj yxBVm2xfl4JA74UFAhnm45xYkmcmOnklxbLpxOhNHWC597aHAXuVLlVnfrEAjAjDa8Y5 FDX/TbKssjwPntwovKn8s8uy8ECeImhtJdynCfEJilHecYktzupyAmhviNeTmYlu0+OX /3gA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b=XKfMu41R; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id m1si722962pgu.409.2022.02.14.11.28.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Feb 2022 11:28:59 -0800 (PST) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b=XKfMu41R; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 7AAF3AA2DE; Mon, 14 Feb 2022 11:17:38 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1356965AbiBNRPD (ORCPT + 99 others); Mon, 14 Feb 2022 12:15:03 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:46364 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1356955AbiBNRPC (ORCPT ); Mon, 14 Feb 2022 12:15:02 -0500 Received: from desiato.infradead.org (desiato.infradead.org [IPv6:2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7E6A86517B; Mon, 14 Feb 2022 09:14:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:Content-Type :In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date:Message-ID: Sender:Reply-To:Content-ID:Content-Description; bh=hP69zmrWln9sFp7Qn5hjhCDPMAmpxl21/+2CAr0FVmk=; b=XKfMu41RkWGyY5mb/9G3tmIk47 8JTbiKP7RW4K4/rpJp1J/ILdUowIsBPs8Ik+styTlQXecQm9GnwayqvI0BOYZhE9MeOtVORpxgkHc DIjgvxrqLvH48oGEIvZq/V8tjlFN99N2FL3riVobl4QtdRn+5t02PtaMGuoZAP6SEq5RvuzMAH8Bj xSev9fNxt81gmt+bwMV46+PjodHxLUQyEbY6YBXI1wfmptWbGWAyzitndflH+G2I75A8joVrrQWe8 BL7wfrAHbmR9Yt+3Orvt9YNke7lJpZH3xweA4d13MPTmQT9Mh39fwbu2IKfUR9WOpe0Dct7ZjMPDC 15CAaiOQ==; Received: from [2601:1c0:6280:3f0::aa0b] by desiato.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1nJew0-009xHr-2G; Mon, 14 Feb 2022 17:14:44 +0000 Message-ID: <918fe170-51ef-e214-4620-3a82b425965c@infradead.org> Date: Mon, 14 Feb 2022 09:14:38 -0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.6.0 Subject: Re: [PATCH] block: Fix non-kernel-doc comment Content-Language: en-US To: Jiapeng Chong , rafael@kernel.org Cc: pavel@ucw.cz, len.brown@intel.com, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Abaci Robot References: <20220214091522.100669-1-jiapeng.chong@linux.alibaba.com> From: Randy Dunlap In-Reply-To: <20220214091522.100669-1-jiapeng.chong@linux.alibaba.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,RDNS_NONE,SPF_HELO_NONE, 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 Hi-- On 2/14/22 01:15, 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 The diff looks OK to me, but the Subject is quite misleading. There are no "block:" patch contents here, just "PM:" or "PM: hibernate:" according to $ git log --oneline kernel/power/swap.c > --- > 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. thanks. -- ~Randy