Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp207135pxj; Thu, 20 May 2021 07:40:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx/hJ8Bk9ubqmzcry7aXh3qQCppZK0JGU7OCrN0jIbYZr/x+/4BWx7L4UQJz3CRHVFH/UyX X-Received: by 2002:a05:6402:50c6:: with SMTP id h6mr5345539edb.327.1621521615042; Thu, 20 May 2021 07:40:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621521615; cv=none; d=google.com; s=arc-20160816; b=dCcnH6YJLKXtP227AAGKRed6hQ5DX8rEbq4bfEC03JxmYoIliCUFUXllDJo88wRHKG eR6yY956IaMWLAQ3byJOVxOY0QQcIi9Z1WNUdNXuq3AuW0kDxUgZrUjQkK7xO9w1oW71 x3Pe0vqupyioXqTjA6GCG7pK3D9TMKla+rMG+ZA+A8PQ4/Pk3LW/Zb42dheiS4CaWShr avkRjs/j/lTLWYmkO/5LUK661znhinOMpVnM9tq3D90MUeKiuovekEE4mScJ+d2vOXig jJ70Qp0hrZaaqAKnKxEJOwBTAxoCzdI9Z99qcCAaz8Cql9KXHmBy3rdy55yXcCIetchR Pupw== 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; bh=7jQotrHoVpxOePvHNA7NOMbdQFYWIxgDIFdHi9+6VTc=; b=TqJo0DV51fBj8PleWib+2LPX66ENYWtD0B3etOsa28dcTA1NMiD5xkaU3Rz0obZVZ5 Q6VjuEc1lX8MRB9OBVklrgtGafADTF/frjeDExTFWnuFEUFut6pF07kpffqzqjcQ2Qo4 Ac9mhjGBaiXT9qt+dbe1VRACh3WqvNZxFOZDpvPNnEL6bknvreeXR321uQPu+9MlSwXS zkPcf10YzAT5WvzekvczfxGFcwtu6I8tsuUSWKQqE0Py7zXnneOMspVeKTR3xgajBYmg 717mQsfJdjQcgxkG9BwWccpHQq0GR1x9Wxpjs5/fPD9ly1um2FAS89d/C5WA5CvGwIwP Mt+w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d4si2686094eja.217.2021.05.20.07.39.51; Thu, 20 May 2021 07:40:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231301AbhETIvT (ORCPT + 99 others); Thu, 20 May 2021 04:51:19 -0400 Received: from outbound-smtp11.blacknight.com ([46.22.139.106]:39979 "EHLO outbound-smtp11.blacknight.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231398AbhETIvT (ORCPT ); Thu, 20 May 2021 04:51:19 -0400 Received: from mail.blacknight.com (pemlinmail03.blacknight.ie [81.17.254.16]) by outbound-smtp11.blacknight.com (Postfix) with ESMTPS id 8A3371C3BF7 for ; Thu, 20 May 2021 09:49:56 +0100 (IST) Received: (qmail 8544 invoked from network); 20 May 2021 08:49:56 -0000 Received: from unknown (HELO stampy.112glenside.lan) (mgorman@techsingularity.net@[84.203.23.168]) by 81.17.254.9 with ESMTPA; 20 May 2021 08:49:56 -0000 From: Mel Gorman To: Andrew Morton Cc: Michal Hocko , David Hildenbrand , Vlastimil Babka , Dan Streetman , Yang Shi , Linux-MM , LKML , Mel Gorman Subject: [PATCH 09/14] mm/zbud: Add kerneldoc fields for zbud_pool Date: Thu, 20 May 2021 09:48:04 +0100 Message-Id: <20210520084809.8576-10-mgorman@techsingularity.net> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20210520084809.8576-1-mgorman@techsingularity.net> References: <20210520084809.8576-1-mgorman@techsingularity.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org make W=1 generates the following warning for zbud_pool mm/zbud.c:105: warning: Function parameter or member 'zpool' not described in 'zbud_pool' mm/zbud.c:105: warning: Function parameter or member 'zpool_ops' not described in 'zbud_pool' Commit 479305fd7172 ("zpool: remove zpool_evict()") removed the zpool_evict helper and added the associated zpool and operations structure in struct zbud_pool but did not add documentation for the fields. Add rudimentary documentation. Fixes: 479305fd7172 ("zpool: remove zpool_evict()") Signed-off-by: Mel Gorman --- mm/zbud.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mm/zbud.c b/mm/zbud.c index 7ec5f27a68b0..a200121da400 100644 --- a/mm/zbud.c +++ b/mm/zbud.c @@ -87,6 +87,8 @@ * @pages_nr: number of zbud pages in the pool. * @ops: pointer to a structure of user defined operations specified at * pool creation time. + * @zpool: zpool driver + * @zpool_ops: zpool operations structure with an evict callback * * This structure is allocated at pool creation time and maintains metadata * pertaining to a particular zbud pool. -- 2.26.2