[PATCH] [net] ibmvnic: fix dma_mapping_error call
David Miller
davem at davemloft.net
Sat Nov 18 12:37:41 AEDT 2017
From: Desnes Augusto Nunes do Rosario <desnesn at linux.vnet.ibm.com>
Date: Fri, 17 Nov 2017 09:09:04 -0200
> 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 at canb.auug.org.au>
> Signed-off-by: Desnes A. Nunes do Rosario <desnesn at linux.vnet.ibm.com>
Applied.
More information about the Linuxppc-dev
mailing list