Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754902AbbLJR6M (ORCPT ); Thu, 10 Dec 2015 12:58:12 -0500 Received: from userp1040.oracle.com ([156.151.31.81]:27877 "EHLO userp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754358AbbLJR6J (ORCPT ); Thu, 10 Dec 2015 12:58:09 -0500 To: Josh Boyer Cc: James.Bottomley@hansenpartnership.com, arvindkumar@vmware.com, Thomas Hellstrom , Johannes Thumshirn , linux-scsi@vger.kernel.org, pv-drivers@vmware.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] VMW_PVSCSI: Fix the issue of DMA-API related warnings. From: "Martin K. Petersen" Organization: Oracle Corporation References: <20151203132758.GC19092@hansolo.redhat.com> Date: Thu, 10 Dec 2015 12:58:00 -0500 In-Reply-To: <20151203132758.GC19092@hansolo.redhat.com> (Josh Boyer's message of "Thu, 3 Dec 2015 08:27:59 -0500") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Source-IP: userv0022.oracle.com [156.151.31.74] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 708 Lines: 17 >>>>> "Josh" == Josh Boyer writes: Josh> The driver is missing calls to pci_dma_mapping_error() after Josh> performing the DMA mapping, which caused DMA-API warning to show Josh> up in dmesg's output. Though that happens only when DMA_API_DEBUG Josh> option is enabled. This change fixes the issue and makes Josh> pvscsi_map_buffers() function more robust. Applied to 4.5/scsi-queue. -- Martin K. Petersen Oracle Linux Engineering -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/