]> git.baikalelectronics.ru Git - kernel.git/commit
arch: powerpc/fadump: Cleaning up inconsistent NULL checks
authorRickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Thu, 22 May 2014 22:03:16 +0000 (00:03 +0200)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 28 May 2014 03:35:39 +0000 (13:35 +1000)
commit6669cbaad9fe4e341d3db267bf80e09ebd9e351f
treeb39617222f9507721d006195b3919e76f8b97294
parent05de4f9e38188b942959461b4144407224cb0bdd
arch: powerpc/fadump: Cleaning up inconsistent NULL checks

Cleaning up inconsistent NULL checks.
There is otherwise a risk of a possible null pointer dereference.

Was largely found by using a static code analysis program called cppcheck.

Signed-off-by: Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/fadump.c