]> git.dujemihanovic.xyz Git - u-boot.git/commit
qbman_portal.c: Update BUG_ON() call in qbman_swp_mc_submit
authorTom Rini <trini@konsulko.com>
Sat, 28 Nov 2015 13:04:42 +0000 (08:04 -0500)
committerYork Sun <yorksun@freescale.com>
Mon, 14 Dec 2015 02:27:29 +0000 (18:27 -0800)
commitb1f6be5ac8d657e312528ec3c4138c22c54d3f12
treead32471fe29274d2c441ec5dd625e7a08acbbf13
parent1a338921642bf622230d91e5eb16b8b5250b44a5
qbman_portal.c: Update BUG_ON() call in qbman_swp_mc_submit

With gcc-5.x we get a warning about the ambiguity of BUG_ON(!a != b) and
becomes BUG_ON((!a) != b).  In this case reading of the function leads to
us wanting to rewrite this as BUG_ON(a != b).

Cc: Prabhakar Kushwaha <prabhakar@freescale.com>
Cc: Geoff Thorpe <Geoff.Thorpe@freescale.com>
Cc: Haiying Wang <Haiying.Wang@freescale.com>
Cc: Roy Pledge <Roy.Pledge@freescale.com>
Cc: York Sun <yorksun@freescale.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: York Sun <yorksun@freescale.com>
drivers/net/fsl-mc/dpio/qbman_portal.c