]> git.baikalelectronics.ru Git - kernel.git/commit
cxgb3: fix device opening error path
authorDivy Le Ray <divy@chelsio.com>
Mon, 25 Oct 2010 07:35:02 +0000 (07:35 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 Oct 2010 19:14:09 +0000 (12:14 -0700)
commit8007754aaadc7ce5fc75e1b6d730edec2a41a709
tree304d01879a6928586ac68313c54411e2185cc617
parent6f37bdf5d6225c3b72442de3fc5f521c646f298c
cxgb3: fix device opening error path

Only negative return from bind_qsets() should be considered an error and
propagated.
It fixes an issue reported by IBM on P Series platform.

Signed-off-by: Divy Le Ray <divy@chelsio.com>
Tested-by: Nishanth Aravamudan <nacc@us.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/cxgb3/cxgb3_main.c