Re: iommu-helpers.h patch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Dec 22, 2007 at 01:45:45PM +0000, rubisher wrote:
> Hello *,
>
> This seems to be missed a while ago ;-)
>
> --- drivers-parisc-iommu-helpers.h-git20071218	2007-12-21 
> 19:02:38.000000000 +0000
> +++ drivers-parisc-iommu-helpers.h-git20071218.new	2007-12-22 
> 13:39:04.000000000 +0000
> @@ -29,7 +29,7 @@
>  		long size;
>
>  		DBG_RUN_SG(" %d : %08lx/%05x %08lx/%05x\n", nents,
> -			   (unsigned long)sg_dma_address(startsg), cnt,
> +			   (unsigned long)sg_dma_address(startsg), size,

Sorry - but this is wrong. "size" isn't initialized until later.
"cnt" was the thing I needed/wanted dumped.

cheers,
grant

>  			   sg_virt_addr(startsg), startsg->length
>  		);
> === <> ===
>
> Cheers,
> 	r.
> -
> To unsubscribe from this list: send the line "unsubscribe linux-parisc" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
-
To unsubscribe from this list: send the line "unsubscribe linux-parisc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux SoC]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux