From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from wolverine02.qualcomm.com ([199.106.114.251]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZUVl6-0000GF-HZ for ath10k@lists.infradead.org; Wed, 26 Aug 2015 08:08:37 +0000 From: Kalle Valo Subject: Re: [PATCH] ath10k: fix dma_mapping_error() handling References: <1439982643-27031-1-git-send-email-michal.kazior@tieto.com> Date: Wed, 26 Aug 2015 11:08:04 +0300 In-Reply-To: <1439982643-27031-1-git-send-email-michal.kazior@tieto.com> (Michal Kazior's message of "Wed, 19 Aug 2015 13:10:43 +0200") Message-ID: <87oahu321n.fsf@kamboji.qca.qualcomm.com> MIME-Version: 1.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "ath10k" Errors-To: ath10k-bounces+kvalo=adurom.com@lists.infradead.org To: Michal Kazior Cc: linux-wireless@vger.kernel.org, ath10k@lists.infradead.org Michal Kazior writes: > The function returns 1 when DMA mapping fails. The > driver would return bogus values and could > possibly confuse itself if DMA failed. > > Fixes: 767d34fc67af ("ath10k: remove DMA mapping wrappers") > Reported-by: Dan Carpenter > Signed-off-by: Michal Kazior Thanks, applied. -- Kalle Valo _______________________________________________ ath10k mailing list ath10k@lists.infradead.org http://lists.infradead.org/mailman/listinfo/ath10k