powerpc/macio: Don't dereference pointer before null check
authorAndreas Schwab <schwab@linux-m68k.org>
Tue, 1 Jun 2010 05:58:40 +0000 (05:58 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 2 Jun 2010 07:50:36 +0000 (17:50 +1000)
commit83aea945c21c646184a494a32ad5524248b60226
treec28239664bd321eb72da62d39b9ecf2d467e87b5
parentaef4b9aaae1decc775778903922bd0075cce7a88
powerpc/macio: Don't dereference pointer before null check

Signed-off-by: Andreas Schwab <schwab@linux-m68k.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
drivers/macintosh/macio_asic.c