]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb1a586ad0e4079c179a91765d97ff3fd8301a0f8
treec4cc70cd5942fefa0ef64af227e5399a7e5fe1b3
parent33ec183b5e46395c6faf2d35a21186587c9e5bf3
be2net: fix wrong return value in be_check_ufi_compatibility()

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

Fixes: 0b230fe81a3c472 ("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