powerpc/mpc85xx: Don't deref NULL if qman portal lacks cell-index
authorScott Wood <scottwood@freescale.com>
Fri, 17 Apr 2015 23:10:06 +0000 (18:10 -0500)
committerYork Sun <yorksun@freescale.com>
Mon, 4 May 2015 16:24:57 +0000 (09:24 -0700)
commit438031e1bc0a733f9494f2cb954725cd79543e1e
tree7019ef688b7212b4a12bb9bf6498356768ebab27
parentea753267d56b6fcb097aff15a8831ef51dc9d615
powerpc/mpc85xx: Don't deref NULL if qman portal lacks cell-index

Signed-off-by: Scott Wood <scottwood@freescale.com>
Cc: Madalin-Cristian Bucur <madalin.bucur@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
arch/powerpc/cpu/mpc85xx/portals.c