RE: [PATCH 1/1] aacraid: SCSI dma mapping failure case handling

2012-11-14 Thread Mahesh Rajashekhara
Bottomley [mailto:jbottom...@parallels.com] Sent: Wednesday, November 14, 2012 12:33 PM To: Tomas Henzl Cc: Mahesh Rajashekhara; linux-scsi@vger.kernel.org; aacr...@pmc-sierra.com; Achim Leubner; Tony Ruiz Subject: Re: [PATCH 1/1] aacraid: SCSI dma mapping failure case handling On Tue, 2012-10-16

Re: [PATCH 1/1] aacraid: SCSI dma mapping failure case handling

2012-11-13 Thread James Bottomley
On Tue, 2012-10-16 at 23:34 +0200, Tomas Henzl wrote: On 10/16/2012 10:59 PM, Mahesh Rajashekhara wrote: This patch handles SCSI dma mapping failure case. Reporting error code to the upper layer instead of BUG_ON(). This patch is created against current upstream kernel.

RE: [PATCH 1/1] aacraid: SCSI dma mapping failure case handling

2012-11-01 Thread Mahesh Rajashekhara
; linux-scsi@vger.kernel.org; aacr...@pmc-sierra.com; Achim Leubner; Tony Ruiz Subject: Re: [PATCH 1/1] aacraid: SCSI dma mapping failure case handling On 10/19/2012 03:51 PM, Mahesh Rajashekhara wrote: Hi James, We've incorporated the changes suggested by Tomas in this driver patch. I would

[PATCH 1/1] aacraid: SCSI dma mapping failure case handling

2012-10-19 Thread Mahesh Rajashekhara
Hi James, We've incorporated the changes suggested by Tomas in this driver patch. I would request you to please consider this patch. Please let us know your comments if any. Patch Description: This patch handles SCSI dma mapping failure case. Reporting error code to the upper layer instead

Re: [PATCH 1/1] aacraid: SCSI dma mapping failure case handling

2012-10-19 Thread Tomas Henzl
On 10/19/2012 03:51 PM, Mahesh Rajashekhara wrote: Hi James, We've incorporated the changes suggested by Tomas in this driver patch. I would request you to please consider this patch. Please let us know your comments if any. Patch Description: This patch handles SCSI dma mapping failure

[PATCH 1/1] aacraid: SCSI dma mapping failure case handling

2012-10-17 Thread Mahesh Rajashekhara
From: Mahesh Rajashekhara mahesh_rajashekh...@pmc-sierra.com Hi Tomas, Thanks for the correction. I have changed 'ret' is of type 'long' now. Signed-off-by: Mahesh Rajashekhara mahesh_rajashekh...@pmc-sierra.com --- drivers/scsi/aacraid/aachba.c | 87 +--

Re: [PATCH 1/1] aacraid: SCSI dma mapping failure case handling

2012-10-17 Thread Tomas Henzl
On 10/17/2012 06:15 PM, Mahesh Rajashekhara wrote: From: Mahesh Rajashekhara mahesh_rajashekh...@pmc-sierra.com Hi Tomas, Thanks for the correction. I have changed 'ret' is of type 'long' now. I think that more than that is needed, all the aac_build_... functions prototypes are declared as

[PATCH 1/1] aacraid: SCSI dma mapping failure case handling

2012-10-17 Thread Mahesh Rajashekhara
I have changed all aac_build_... function prototypes as of type 'long' and they return 'byte_count' is of type 'long'. Signed-off-by: Mahesh Rajashekhara mahesh_rajashekh...@pmc-sierra.com --- drivers/scsi/aacraid/aachba.c | 95 ---

Re: [PATCH 1/1] aacraid: SCSI dma mapping failure case handling

2012-10-17 Thread Tomas Henzl
On 10/17/2012 07:54 PM, Mahesh Rajashekhara wrote: I have changed all aac_build_... function prototypes as of type 'long' and they return 'byte_count' is of type 'long'. The code changed, it returns 'nseg' in case of an error, so the change from unsigned to signed for byte_count was likely

[PATCH 1/1] aacraid: SCSI dma mapping failure case handling

2012-10-16 Thread Mahesh Rajashekhara
This patch handles SCSI dma mapping failure case. Reporting error code to the upper layer instead of BUG_ON(). This patch is created against current upstream kernel. Signed-off-by: Mahesh Rajashekhara mahesh_rajashekh...@pmc-sierra.com --- drivers/scsi/aacraid/aachba.c | 63

Re: [PATCH 1/1] aacraid: SCSI dma mapping failure case handling

2012-10-16 Thread Tomas Henzl
On 10/16/2012 10:59 PM, Mahesh Rajashekhara wrote: This patch handles SCSI dma mapping failure case. Reporting error code to the upper layer instead of BUG_ON(). This patch is created against current upstream kernel. Signed-off-by: Mahesh Rajashekhara mahesh_rajashekh...@pmc-sierra.com ---