be2net: fix wrong return value in be_check_ufi_compatibility()
authorVasundhara Volam <vasundhara.volam@avagotech.com>
Fri, 10 Jul 2015 09:32:46 +0000 (05:32 -0400)
committerDavid S. Miller <davem@davemloft.net>
Sat, 11 Jul 2015 06:24:29 +0000 (23:24 -0700)
commit887a65c4ab1511a9afc8a20e5507bec3d074f867
treec4cc70cd5942fefa0ef64af227e5399a7e5fe1b3
parentbc23d6b7ab051106b700869e7ee09e8aec6864f2
be2net: fix wrong return value in be_check_ufi_compatibility()

In the commit a6e6ff6eee12f3e
("be2net: simplify UFI compatibility checking"), a return value of "-1"
was incorrectly used in place of "false". This patch fixes it.

Fixes: a6e6ff6eee12f3e ("be2net: simplify UFI compatibility checking")
Signed-off-by: Vasundhara Volam <vasundhara.volam@avagotech.com>
Signed-off-by: Sathya Perla <sathya.perla@avagotech.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be_main.c