lkml.org 
[lkml]   [2001]   [Dec]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: highmem, aic7xxx, and vfat: too few segs for dma mapping
On Fri, Dec 14 2001, Jens Axboe wrote:
> *.kernel.org/pub/linux/kernel/people/axboe/patches/v2.5/2.5.1-pre11/bio-pre11-5.bz2

Steve Lord caught two typos in the patch, here's an incremental diff
attached. There will also be a bio-pre11-6 at the above location in a
few minutes.

--- linux/drivers/scsi/scsi.c~ Fri Dec 14 11:06:25 2001
+++ linux/drivers/scsi/scsi.c Fri Dec 14 11:06:46 2001
@@ -2590,7 +2590,6 @@
/*
* setup sg memory pools
*/
- ts = 0;
for (i = 0; i < SG_MEMPOOL_NR; i++) {
struct scsi_host_sg_pool *sgp = scsi_sg_pools + i;
int size = scsi_host_sg_pool_sizes[i] * sizeof(struct scatterlist);
--- linux/drivers/scsi/sym53c8xx.c~ Fri Dec 14 11:10:38 2001
+++ linux/drivers/scsi/sym53c8xx.c Fri Dec 14 11:10:51 2001
@@ -12174,7 +12174,7 @@

use_sg = map_scsi_sg_data(np, cmd);
if (use_sg > MAX_SCATTER) {
- unmap_scsi_sg_data(np, cmd);
+ unmap_scsi_data(np, cmd);
return -1;
}
data = &cp->phys.data[MAX_SCATTER - use_sg];
--
Jens Axboe

-
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/

\
 
 \ /
  Last update: 2005-03-22 13:14    [W:0.137 / U:0.624 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site