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

Alok K. Dhir (alok@dhir.net)
Fri, 14 Dec 2001 11:22:50 -0500


Is this going into the 2.4.17 as well?

> -----Original Message-----
> From: linux-kernel-owner@vger.kernel.org
> [mailto:linux-kernel-owner@vger.kernel.org] On Behalf Of Jens Axboe
> Sent: Friday, December 14, 2001 11:15 AM
> To: David S. Miller
> Cc: lord@sgi.com; gibbs@scsiguy.com; LB33JM16@yahoo.com;
> linux-kernel@vger.kernel.org
> Subject: Re: 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/bi
> > o-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/

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