]> www.infradead.org Git - users/jedix/linux-maple.git/commit
iw_cxgb3: Fix incorrectly returning error on success
authorHariprasad S <hariprasad@chelsio.com>
Fri, 11 Dec 2015 08:29:17 +0000 (13:59 +0530)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 10 Mar 2016 13:33:17 +0000 (05:33 -0800)
commitd68766f68c48c9a9e50a7793ee9e53f9d4a1cfee
tree26c3164efa6a83a7fe4fd3b481a0aaaa28bd02b1
parent8b560ba10213035d26175414056926844e99f711
iw_cxgb3: Fix incorrectly returning error on success

The cxgb3_*_send() functions return NET_XMIT_ values, which are
positive integers values. So don't treat positive return values
as an error.

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
(cherry picked from commit 67f1aee6f45059fd6b0f5b0ecb2c97ad0451f6b3)

Orabug: 22713209

Signed-off-by: Ethan Zhao <ethan.zhao@oracle.com>
drivers/infiniband/hw/cxgb3/iwch_cm.c