Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp4699948iob; Sun, 8 May 2022 22:29:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwQlCQmJdj40yIV2dN/MDSYHJ+qrLhb6wM0jx15+711mRzDSEVROUFqQlDE+74vPV/KBs2+ X-Received: by 2002:a17:90a:5217:b0:1dc:9b82:272c with SMTP id v23-20020a17090a521700b001dc9b82272cmr24491678pjh.53.1652074169083; Sun, 08 May 2022 22:29:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652074169; cv=none; d=google.com; s=arc-20160816; b=r5QxoHD+ET3vIDfO+zwZzAIwDeyVDjtctW+vnQWYe31pYRtFr+EuqdbnKvqw4f9QSf hPV38mAN3bQOr+WPVCJtIw/IrtKtX5v+CI1/nQpbIQ0+qTkDvKlZZHI/ka/iJXyPFJ24 /XE5dRskLEfxd+E6pMQa5SUT3T26bcNoXfwkHdpzk8vlYCZeAZY/B2/H3etSZx0V92Jr dW1ldflbV6AFuXvZV3jCVK1YxOXujaIqSNFpNfXxWCXVutiNC5IApsX9ZEp2dDN1Yl6K eyuOMgkb7VO+u/Ge/DnFrutFvevLpj8FGE0al8uR0K0fPDq7orJMRhCAld5jrcWa9M6I 1Mxw== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=eGa3dUPJdX4dbKD8mFWN7dZJcjvpwmJ3XiwzgmbRs88=; b=EZbeBLixx+RmoG2BSNID1a8xmmW1efaCKo4lGIP/2P8GDtWhmWsfNYa38HbX7DhNla cFQY7cbc7y1KH5tmdtXbUHp3xJyYSWnNWHv0CT4d0ns161tnT8ovzLLa/AmSTUCzeoc9 Njg1nnVyeNUJc+yPwnXnkXPZlSO5UfnUpgQfUT8xn48noynDOKKtDKFcJDtceWkvWZjJ N5cKkLtnYmr3mZg5cLp8QuTRqg+SdmeO0bHD3FrGxNvODFqSL4vO7+041/yJPvwGRYsl SpMd3edzwlFQNqRHMRl3HXoBWAUZiGwGLMTZoySQvc+GItwTbTivyyO92+xnMnafVjJq b7rw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=fHsksQv5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id n8-20020a170902d2c800b0015d56a3c9d0si12077685plc.534.2022.05.08.22.29.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 08 May 2022 22:29:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=fHsksQv5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 8AFAF11904B; Sun, 8 May 2022 22:27:42 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1385927AbiEGP4R (ORCPT + 99 others); Sat, 7 May 2022 11:56:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38154 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239778AbiEGP4O (ORCPT ); Sat, 7 May 2022 11:56:14 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 69A081EED8 for ; Sat, 7 May 2022 08:52:27 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id F0781612B5 for ; Sat, 7 May 2022 15:52:26 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C91CDC385A6; Sat, 7 May 2022 15:52:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1651938746; bh=2SWYDipD6SESlBoUy8Z+tftQJmKG5uu41ZRc1VgASEo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=fHsksQv5r2lJ5k6ESJwvLIO22YzQe9zfKdNo+5iPKDSjyokVTGA6Jg3uhZou7Lqdh zKdroGbEFcRWQzC4khiNg1GRBpQKAtCAzOukP7pmgLO3qwrkbpNyB5nI/AHo1V12W3 2OvUnfHwZoyyJkEeprgJPbU7KoY+VNbXGkBw8mxFrefziwc5mOPlzTq2Azbg7xcT/c wWYva+KXRAr1mLeJcg7yA7bX1HPEja2ukkt1VybsgMoAxsACvfMfUjNDYOeoLVG18E +KwJT9RG1ixaawWYnzEAim7rkbuyjzoY9JU4dAgsIk5tzXS/4qzgWdvQD0ZFh83tkc rK4oHEWxHvOkg== From: SeongJae Park To: Gautam Menghani Cc: sj@kernel.org, skhan@linuxfoundation.org, Gautam Menghani , linux-mm@kvack.org, linux-kernel@vger.kernel.org, damon@lists.linux.dev Subject: Re: [PATCH] Add documentation for Enum value 'NR_DAMON_OPS' in enum 'damon_ops_id' Date: Sat, 7 May 2022 15:52:18 +0000 Message-Id: <20220507155218.45706-1-sj@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220507070850.14150-1-gautammenghani201@gmail.com> References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 Gautam, Thank you for the patch. 'checkpatch.pl' complains as below, though: WARNING: Possible unwrapped commit description (prefer a maximum 75 chars per line) #12: Fix the warning - "Enum value 'NR_DAMON_OPS' not described in enum 'damon_ops_id'" generated by the command "make pdfdocs" WARNING: From:/Signed-off-by: email address mismatch: 'From: Gautam Menghani ' != 'Signed-off-by: Gautam Menghani ' total: 0 errors, 2 warnings, 7 lines checked Could you please fix those? On Sat, 7 May 2022 12:38:50 +0530 Gautam Menghani wrote: > From: Gautam Menghani > > Fix the warning - "Enum value 'NR_DAMON_OPS' not described in enum 'damon_ops_id'" generated by the command "make pdfdocs" > > Signed-off-by: Gautam Menghani > --- > include/linux/damon.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/include/linux/damon.h b/include/linux/damon.h > index f23cbfa4248d..b972a7a3b6f0 100644 > --- a/include/linux/damon.h > +++ b/include/linux/damon.h > @@ -262,6 +262,7 @@ struct damos { > * > * @DAMON_OPS_VADDR: Monitoring operations for virtual address spaces > * @DAMON_OPS_PADDR: Monitoring operations for the physical address space > + * @NR_DAMON_OPS: Number of monitoring operations for a particular implementation I'd like to keep the 80 column limit[1]. [1] https://docs.kernel.org/process/coding-style.html#breaking-long-lines-and-strings Also, strictly speaking, it's not the number of monitoring operations for _a particular implementation_, but 'number of monitoring operations implementations'. And it's shorter. How about the suggestion? Thanks, SJ > */ > enum damon_ops_id { > DAMON_OPS_VADDR, > -- > 2.25.1