UPSTREAM: ARM: 8476/1: VDSO: use PTR_ERR_OR_ZERO for vma check
authorPrasanna Karthik <mkarthi3@visteon.com>
Tue, 8 Dec 2015 16:30:25 +0000 (17:30 +0100)
committerAmit Pundir <amit.pundir@linaro.org>
Mon, 10 Apr 2017 07:53:13 +0000 (13:23 +0530)
commitf85bf2f9882e89605d19abfd8d13370e6337e5d9
treeb3ffb628296783b029fcba5f7d553fe54f3e3e85
parent53f987226cc079f68dade2b53a6ca09332ec2e70
UPSTREAM: ARM: 8476/1: VDSO: use PTR_ERR_OR_ZERO for vma check

(cherry pick from commit 38fc2f6c98262913388de338d5b0cda67e3f78cd)

Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR

Signed-off-by: Prasanna Karthik <mkarthi3@visteon.com>
Signed-off-by: Nathan Lynch <nathan_lynch@mentor.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Bug: 20045882
Bug: 19198045
Change-Id: Id4838948c19f031a66af1654a4c47668288a0037
arch/arm/kernel/vdso.c