net: ethernet: ibm: ehea: ehea_qmr.c: Fix for possible null pointer dereference
authorRickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Sun, 18 May 2014 16:01:21 +0000 (18:01 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 19 May 2014 01:26:02 +0000 (21:26 -0400)
commit38ea4e6e4a21fb88104be2a666a7e88176150b00
treeb795778f5775e067ba2a92db0ebc7d58025475c6
parent71fd762f2eef6acc848e262ac934fc694b49204e
net: ethernet: ibm: ehea: ehea_qmr.c: Fix for possible null pointer dereference

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: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ibm/ehea/ehea_qmr.c