]> git.baikalelectronics.ru Git - kernel.git/commit
ibmvnic: compare adapter->init_done_rc with more readable ibmvnic_rc_codes
authorLijun Pan <ljp@linux.ibm.com>
Wed, 19 Aug 2020 22:52:23 +0000 (17:52 -0500)
committerDavid S. Miller <davem@davemloft.net>
Wed, 26 Aug 2020 23:11:33 +0000 (16:11 -0700)
commit793387d46eec8655c4660b214567032cb52b4c50
tree3dfd1adadf42b5e77c4b16c3fcef852f5e36c0fd
parent30977cb89779c6e57dfc5bde9abc8fd1c29b5d42
ibmvnic: compare adapter->init_done_rc with more readable ibmvnic_rc_codes

Instead of comparing (adapter->init_done_rc == 1), let it
be (adapter->init_done_rc == PARTIALSUCCESS).

Signed-off-by: Lijun Pan <ljp@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ibm/ibmvnic.c