drivers: net: fsl_mc: Compare pointer value qbman_swp_mc_start
authorPratiyush Mohan Srivastava <pratiyush.srivastava@freescale.com>
Tue, 22 Dec 2015 11:20:19 +0000 (16:50 +0530)
committerYork Sun <york.sun@nxp.com>
Mon, 25 Jan 2016 16:24:17 +0000 (08:24 -0800)
commitc088326597cad019618a98f6fc65bc1dd92eb301
tree121ee6420e6230223882c6d2dd3519f424ae17a1
parent52c11d4f08ee3028688c1956718594cd47e2f0e2
drivers: net: fsl_mc: Compare pointer value qbman_swp_mc_start

Current code compares the return pointer of function
qbman_cena_write_start with NULL. Instead the value of the return
pointer should be compared.

Signed-off-by: Pratiyush Mohan Srivastava <pratiyush.srivastava@freescale.com>
Acked-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
drivers/net/fsl-mc/dpio/qbman_portal.c