mlx4_core: Use the right function to free eq->page_list entries
authorDotan Barak <dotanb@dev.mellanox.co.il>
Thu, 6 Oct 2011 16:33:12 +0000 (09:33 -0700)
committerRoland Dreier <roland@purestorage.com>
Thu, 6 Oct 2011 16:33:12 +0000 (09:33 -0700)
commita8dc0dffae651befa24dc518ac1715b8d3173c34
tree4600386197b061e6e654bdf16dbface5f3253969
parent0f6740c7c455693f719580f34bb8afa8a298ea36
mlx4_core: Use the right function to free eq->page_list entries

Fix the memory release function to be consistent with the memory
allocation one to prevent problems if the implementation of
pci_free_consistent() and dma_free_coherent() are different.

Signed-off-by: Dotan Barak <dotanb@dev.mellanox.co.il>
Reviewed-by: Eli Cohen <eli@mellanox.co.il>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/net/mlx4/eq.c