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

Stephen Lord
2001-12-14T16:24:01Z

Jens Axboe wrote:

>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
>>
>
>--- 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];
>
There is one of these in ncr53c8xx.c as well, line 8135

Steve