ehea: Fixed wrong dereferencation
authorThomas Klein <osstklei@de.ibm.com>
Mon, 22 Jan 2007 11:52:20 +0000 (12:52 +0100)
committerJeff Garzik <jeff@garzik.org>
Tue, 23 Jan 2007 05:59:20 +0000 (00:59 -0500)
commit061bf3cdba753ae7b52fba8cc324d81adac77696
tree71a4d892ffe50f8f016e8afacc55e8f58bfcc269
parent9f6d55d0846dd8628fd3eac15be377c4d3493c3e
ehea: Fixed wrong dereferencation

Not only check the pointer against 0 but also the dereferenced value

Signed-off-by: Thomas Klein <tklein@de.ibm.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/ehea/ehea.h
drivers/net/ehea/ehea_main.c