From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f200.google.com (mail-wr0-f200.google.com [209.85.128.200]) by kanga.kvack.org (Postfix) with ESMTP id 104206B02B7 for ; Wed, 22 Nov 2017 11:46:57 -0500 (EST) Received: by mail-wr0-f200.google.com with SMTP id o14so10414287wrf.6 for ; Wed, 22 Nov 2017 08:46:57 -0800 (PST) Received: from mx2.suse.de (mx2.suse.de. [195.135.220.15]) by mx.google.com with ESMTPS id m25si322475edj.173.2017.11.22.08.46.55 for (version=TLS1 cipher=AES128-SHA bits=128/128); Wed, 22 Nov 2017 08:46:55 -0800 (PST) Date: Wed, 22 Nov 2017 08:43:47 -0800 From: Davidlohr Bueso Subject: Re: [PATCH] mm: Use vma_pages helper Message-ID: <20171122164347.rgjklzljx5jkb7vc@linux-n805> References: <1511364410-13499-1-git-send-email-gomonovych@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <1511364410-13499-1-git-send-email-gomonovych@gmail.com> Sender: owner-linux-mm@kvack.org List-ID: To: Vasyl Gomonovych , akpm@linux-foundation.org Cc: dledford@redhat.com, mst@redhat.com, jglisse@redhat.com, peterz@infradead.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org On Wed, 22 Nov 2017, Vasyl Gomonovych wrote: >Use vma_pages function on vma object instead of explicit computation. >mm/interval_tree.c:21:27-33: WARNING: Consider using vma_pages helper >Generated by: scripts/coccinelle/api/vma_pages.cocci > >Signed-off-by: Vasyl Gomonovych Acked-by: Davidlohr Bueso ... but you missed akpm. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org