]> 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)
commita7bf9f0a1ceb7ae752f9cdba0fdf9a02e55988c4
tree3dfd1adadf42b5e77c4b16c3fcef852f5e36c0fd
parent82cb6337b4773936e40d4f165b3aa0d2cf58ed85
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