diff options
author | Manish Chopra <manish.chopra@qlogic.com> | 2016-05-18 07:43:57 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-05-20 11:15:31 -0700 |
commit | 09ec8e7fb6bcb351bbded18a571ea037504bb3a6 (patch) | |
tree | 219777531af857e5a3cfb1ed803f35f68abb07f4 /drivers/ide/sgiioc4.c | |
parent | 1968a0b8b6ca088bc029bd99ee696f1aca4090d0 (diff) | |
download | linux-09ec8e7fb6bcb351bbded18a571ea037504bb3a6.tar.gz linux-09ec8e7fb6bcb351bbded18a571ea037504bb3a6.tar.bz2 linux-09ec8e7fb6bcb351bbded18a571ea037504bb3a6.zip |
qede: Fix DMA address APIs usage
Driver incorrectly uses dma_unmap_addr_set() to set
a variable which is in truth a dma_addr_t
[i.e not defined using DEFINE_DMA_UNMAP_ADDR()] and is
being used by the driver flows other than unmapping
physical addresses. This patch fixes driver fastpath
where CONFIG_NEED_DMA_MAP_STATE is not set.
Signed-off-by: Manish Chopra <manish.chopra@qlogic.com>
Signed-off-by: Yuval Mintz <Yuval.Mintz@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/ide/sgiioc4.c')
0 files changed, 0 insertions, 0 deletions