Re: highmem, aic7xxx, and vfat: too few segs for dma mapping

Jens Axboe (axboe@suse.de)
Fri, 14 Dec 2001 17:15:06 +0100


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/