Desnes Augusto Nunes do Rosario f743106ec1 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>
2017-11-18 10:37:00 +09:00
..
2017-11-15 13:46:33 -08:00
2017-11-14 16:54:12 -08:00
2017-11-15 13:46:33 -08:00
2017-11-14 18:25:40 -08:00
2017-11-14 16:54:12 -08:00
2017-11-15 10:56:56 -08:00
2017-11-15 15:12:28 -08:00
2017-11-15 10:56:56 -08:00
2017-11-13 01:34:14 +01:00
2017-11-14 16:49:31 -08:00
2017-11-15 13:46:33 -08:00
2017-11-13 21:14:07 -08:00
2017-11-14 18:25:40 -08:00
2017-11-15 13:46:33 -08:00
2017-11-15 13:35:43 -08:00
2017-11-13 08:55:46 -08:00
2017-11-14 14:44:04 -08:00
2017-11-15 13:46:33 -08:00
2017-11-13 01:34:14 +01:00
2017-11-14 14:44:04 -08:00
2017-11-14 16:43:27 -08:00
2017-11-15 15:01:28 -08:00
2017-11-14 18:09:31 -08:00
2017-11-15 13:46:33 -08:00
2017-11-15 13:46:33 -08:00
2017-11-15 13:46:33 -08:00
2017-11-14 18:01:46 -08:00
2017-11-15 15:01:28 -08:00
2017-11-13 10:17:35 -08:00
2017-11-15 13:46:33 -08:00
2017-11-18 10:37:00 +09:00
2017-11-13 12:10:24 -08:00
2017-11-15 15:01:28 -08:00
2017-11-15 15:01:28 -08:00
2017-11-15 15:01:28 -08:00
2017-11-15 10:56:56 -08:00
2017-11-13 21:14:07 -08:00
2017-11-15 13:46:33 -08:00
2017-11-13 10:17:35 -08:00
2017-11-15 13:46:33 -08:00
2017-11-14 16:54:12 -08:00
2017-11-13 21:14:07 -08:00
2017-11-14 14:44:04 -08:00
2017-11-15 13:46:33 -08:00
2017-11-14 18:01:46 -08:00
2017-11-14 16:47:47 -08:00
2017-11-15 11:36:08 -08:00