parisc: perf: Fix potential NULL pointer dereference
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Tue, 14 Mar 2017 09:54:51 +0000 (15:24 +0530)
committerHelge Deller <deller@gmx.de>
Sat, 18 Mar 2017 16:24:43 +0000 (17:24 +0100)
commit74e3f6e63da6c8e8246fba1689e040bc926b4a1a
treecff57cc4ed624b1a1bebb8c7341ab7ba7c5e988d
parent186ecf14e58befba434f0774eea89e35f64d3c6a
parisc: perf: Fix potential NULL pointer dereference

Fix potential NULL pointer dereference and clean up
coding style errors (code indent, trailing whitespaces).

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/kernel/perf.c