]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx4_core: Unmap UAR also in the case of error flow
authorDotan Barak <dotanb@dev.mellanox.co.il>
Thu, 25 Oct 2012 01:12:49 +0000 (01:12 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 26 Oct 2012 07:34:15 +0000 (03:34 -0400)
commit825f0c7ce1e11ea776b6cd74974cf6220130c1af
tree97a0c526f58b73d2ff26d5fc83c9cfdbb02dea1a
parent4cd2d952aea50ecda4e01af98e973a10f46e6d88
net/mlx4_core: Unmap UAR also in the case of error flow

If a failure takes place during the EQ creation, we need to unmap the
UAR memory block too.

Signed-off-by: Dotan Barak <dotanb@dev.mellanox.co.il>
Signed-off-by: Uri Habusha <urih@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/eq.c