From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932751AbbFSVIn (ORCPT ); Fri, 19 Jun 2015 17:08:43 -0400 Received: from aserp1040.oracle.com ([141.146.126.69]:44684 "EHLO aserp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932424AbbFSUs4 (ORCPT ); Fri, 19 Jun 2015 16:48:56 -0400 To: Sreekanth Reddy Cc: jejb@kernel.org, hch@infradead.org, martin.petersen@oracle.com, linux-scsi@vger.kernel.org, JBottomley@Parallels.com, Sathya.Prakash@avagotech.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH 18/20] [SCSI] mpt3sas: Call dma_mapping_error() API after mapping an address with dma_map_single() API From: "Martin K. Petersen" Organization: Oracle Corporation References: <1434102153-38581-1-git-send-email-Sreekanth.Reddy@avagotech.com> <1434102153-38581-19-git-send-email-Sreekanth.Reddy@avagotech.com> Date: Fri, 19 Jun 2015 16:47:05 -0400 In-Reply-To: <1434102153-38581-19-git-send-email-Sreekanth.Reddy@avagotech.com> (Sreekanth Reddy's message of "Fri, 12 Jun 2015 15:12:30 +0530") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (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 >>>>> Sreekanth Reddy writes: > Added dma_mapping_error() API after mapping an address with > dma_map_single() API. Otherwise when CONFIG_DMA_API_DEBUG is enabled > in the kernel, then it complains about mpt3sas driver not calling > dma_mapping_error after mapping an address with dma_map_single Reviewed-by: Martin K. Petersen -- Martin K. Petersen Oracle Linux Engineering -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in Please read the FAQ at http://www.tux.org/lkml/ From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Martin K. Petersen" Subject: Re: [PATCH 18/20] [SCSI] mpt3sas: Call dma_mapping_error() API after mapping an address with dma_map_single() API Date: Fri, 19 Jun 2015 16:47:05 -0400 Message-ID: References: <1434102153-38581-1-git-send-email-Sreekanth.Reddy@avagotech.com> <1434102153-38581-19-git-send-email-Sreekanth.Reddy@avagotech.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from aserp1040.oracle.com ([141.146.126.69]:44684 "EHLO aserp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932424AbbFSUs4 (ORCPT ); Fri, 19 Jun 2015 16:48:56 -0400 In-Reply-To: <1434102153-38581-19-git-send-email-Sreekanth.Reddy@avagotech.com> (Sreekanth Reddy's message of "Fri, 12 Jun 2015 15:12:30 +0530") Sender: linux-scsi-owner@vger.kernel.org List-Id: linux-scsi@vger.kernel.org To: Sreekanth Reddy Cc: jejb@kernel.org, hch@infradead.org, martin.petersen@oracle.com, linux-scsi@vger.kernel.org, JBottomley@Parallels.com, Sathya.Prakash@avagotech.com, linux-kernel@vger.kernel.org >>>>> Sreekanth Reddy writes: > Added dma_mapping_error() API after mapping an address with > dma_map_single() API. Otherwise when CONFIG_DMA_API_DEBUG is enabled > in the kernel, then it complains about mpt3sas driver not calling > dma_mapping_error after mapping an address with dma_map_single Reviewed-by: Martin K. Petersen -- Martin K. Petersen Oracle Linux Engineering -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in