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)
commit4c5f6af051ccf1d9b8bccb0f887170594f6cb0cb
tree3dfd1adadf42b5e77c4b16c3fcef852f5e36c0fd
parentbf82d565bc4603c0e1135809512fe9f6f87a1c47
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