Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756003AbcCTPr1 (ORCPT ); Sun, 20 Mar 2016 11:47:27 -0400 Received: from mx0a-00082601.pphosted.com ([67.231.145.42]:43468 "EHLO mx0a-00082601.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752190AbcCTPrS (ORCPT ); Sun, 20 Mar 2016 11:47:18 -0400 Subject: Re: [PATCH] mtip32xx: fix checks for dma mapping errors To: Alexey Khoroshilov , Asai Thambi SP , Selvan Mani References: <1458340554-11233-1-git-send-email-khoroshilov@ispras.ru> CC: , From: Jens Axboe Message-ID: <56EEC5FB.3020109@fb.com> Date: Sun, 20 Mar 2016 09:47:07 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <1458340554-11233-1-git-send-email-khoroshilov@ispras.ru> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [192.168.54.13] X-Proofpoint-Spam-Reason: safe X-FB-Internal: Safe X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2016-03-20_06:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 295 Lines: 10 On 03/18/2016 04:35 PM, Alexey Khoroshilov wrote: > exec_drive_taskfile() checks for dma mapping errors by comparison > returned address with zero, while pci_dma_mapping_error() should be used. > > Found by Linux Driver Verification project (linuxtesting.org). Thanks, applied. -- Jens Axboe