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)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 17 Dec 2015 10:29:01 +0000 (10:29 +0000)
commit38fc2f6c98262913388de338d5b0cda67e3f78cd
treee28e8585a4b6a6b79cd0ead19ac9b13c02fe13ce
parentb563d0645123802448f9e8bf868c8bae552207ff
ARM: 8476/1: VDSO: use PTR_ERR_OR_ZERO for vma check

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>
arch/arm/kernel/vdso.c