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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 8 Oct 2017 08:26:10 +0000 (10:26 +0200)
commit1cf8f9467e8658f1cb15127f4ac80019098b9d22
tree760ab9aed45825b456224a0353ab7661fd25c3c7
parentcd402b889606ed9b51d76594ddd059a8be6356a1
parisc: perf: Fix potential NULL pointer dereference

[ Upstream commit 74e3f6e63da6c8e8246fba1689e040bc926b4a1a ]

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>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/parisc/kernel/perf.c