From: Eli Cohen Date: Wed, 23 Oct 2013 06:53:18 +0000 (+0300) Subject: mlx5: Fix cleanup flow when DMA mapping fails X-Git-Tag: v3.13-rc1~44^2^7~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=952f5f6e807ba82e1b82fcfcf7f73db022342aa7;p=pandora-kernel.git mlx5: Fix cleanup flow when DMA mapping fails If DMA mapping fails, the driver cleared the object that holds the previously DMA mapped pages. Fix this by allocating a new object for the command that reports back to firmware that pages can't be supplied. Signed-off-by: Eli Cohen Signed-off-by: Roland Dreier --- Reading git-diff-tree failed