diff options
author | Desnes Augusto Nunes do Rosario <desnesn@linux.vnet.ibm.com> | 2017-11-17 12:09:04 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-11-18 02:37:00 +0100 |
commit | f743106ec140589b45ecc6ff92bacf48a0e26b05 (patch) | |
tree | e22d27d6e495b6932eb315962828e6b63510948c /drivers/net/usb/hso.c | |
parent | ipvlan: NULL pointer dereference panic in ipvlan_port_destroy (diff) | |
download | linux-f743106ec140589b45ecc6ff92bacf48a0e26b05.tar.xz linux-f743106ec140589b45ecc6ff92bacf48a0e26b05.zip |
ibmvnic: fix dma_mapping_error call
This patch fixes the dma_mapping_error call to use the correct dma_addr
which is inside the ibmvnic_vpd struct. Moreover, it fixes an uninitialized
warning regarding a local dma_addr variable which is not used anymore.
Fixes: 4e6759be28e4 ("ibmvnic: Feature implementation of VPD for the ibmvnic driver")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Desnes A. Nunes do Rosario <desnesn@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/usb/hso.c')
0 files changed, 0 insertions, 0 deletions