MIPS: Cocci spatch "vma_pages"
authorThomas Meyer <thomas@m3y3r.de>
Wed, 20 Sep 2017 22:29:36 +0000 (00:29 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 9 Oct 2017 12:53:56 +0000 (14:53 +0200)
commit7a8e4158bf6700607bf361dfbaaac7c901f1134a
treeb8d3d9083cae10816f56118b09a87c36eae8e91c
parent8a5776a5f49812d29fe4b2d0a2d71675c3facf3f
MIPS: Cocci spatch "vma_pages"

Use vma_pages function on vma object instead of explicit computation.
Found by coccinelle spatch "api/vma_pages.cocci"

Signed-off-by: Thomas Meyer <thomas@m3y3r.de>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/17333/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/mm/dma-default.c