diff options
author | Vasyl Gomonovych <gomonovych@gmail.com> | 2018-01-31 16:17:03 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-01-31 17:18:37 -0800 |
commit | e025f059a32085d76768e46eac344cba203a6a71 (patch) | |
tree | 7dbe36898f6951f8b3cfadcfa512cfe65be3bd3f /virt | |
parent | 235266b8e11c9db12497bdfc6d5e9100f3434c24 (diff) | |
download | linux-e025f059a32085d76768e46eac344cba203a6a71.tar.gz linux-e025f059a32085d76768e46eac344cba203a6a71.tar.bz2 linux-e025f059a32085d76768e46eac344cba203a6a71.zip |
mm/interval_tree.c: use vma_pages() helper
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
Link: http://lkml.kernel.org/r/1511364410-13499-1-git-send-email-gomonovych@gmail.com
Signed-off-by: Vasyl Gomonovych <gomonovych@gmail.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Davidlohr Bueso <dbueso@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions