aboutsummaryrefslogtreecommitdiff
path: root/arch/sparc/lib/atomic32.c
diff options
context:
space:
mode:
authorDesnes Augusto Nunes do Rosario <[email protected]>2017-11-17 09:09:04 -0200
committerDavid S. Miller <[email protected]>2017-11-18 10:37:00 +0900
commitf743106ec140589b45ecc6ff92bacf48a0e26b05 (patch)
treee22d27d6e495b6932eb315962828e6b63510948c /arch/sparc/lib/atomic32.c
parentfe18da60500b8b8aa2621fb1de7132cb1f0aebcf (diff)
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 <[email protected]> Signed-off-by: Desnes A. Nunes do Rosario <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'arch/sparc/lib/atomic32.c')
0 files changed, 0 insertions, 0 deletions