From: David Miller Subject: Re: [PATCH] [net] ibmvnic: fix dma_mapping_error call Date: Sat, 18 Nov 2017 10:37:41 +0900 (KST) Message-ID: <20171118.103741.2188624322816899740.davem@davemloft.net> References: <20171117110904.9797-1-desnesn@linux.vnet.ibm.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, tlfalcon@linux.vnet.ibm.com, nfont@linux.vnet.ibm.com, jallen@linux.vnet.ibm.com To: desnesn@linux.vnet.ibm.com Return-path: Received: from shards.monkeyblade.net ([184.105.139.130]:38206 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760205AbdKRBhp (ORCPT ); Fri, 17 Nov 2017 20:37:45 -0500 In-Reply-To: <20171117110904.9797-1-desnesn@linux.vnet.ibm.com> Sender: netdev-owner@vger.kernel.org List-ID: From: Desnes Augusto Nunes do Rosario 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 > Signed-off-by: Desnes A. Nunes do Rosario Applied.