]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net/mlx4: return bad error status to caller function in case of error
authorDotan Barak <dotanb@dev.mellanox.co.il>
Sun, 14 Oct 2012 07:52:12 +0000 (09:52 +0200)
committerMukesh Kacker <mukesh.kacker@oracle.com>
Tue, 7 Jul 2015 21:45:05 +0000 (14:45 -0700)
commit70dd9ec0464cb75b447ce22f001a140bdf8fca03
tree30d28e7b62bdc0256d59eb8fa557b9692454b70d
parentc3365ab40c3a6c5b4b1c37aba28d4f6a4eb76ecb
net/mlx4: return bad error status to caller function in case of error

Not doing this, may cause kernel oops in flows that comes later.

Signed-off-by: Dotan Barak <dotanb@dev.mellanox.co.il>
Reviewed-by: Yishai Hadas <yishaih@mellanox.com>
(Ported from Mellanox OFED 2.4)

Signed-off-by: Mukesh Kacker <mukesh.kacker@oracle.com>
drivers/net/ethernet/mellanox/mlx4/main.c