Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=d6e274ddb51fa0f9241d7348813351051275d71b Commit: d6e274ddb51fa0f9241d7348813351051275d71b Parent: 12a7991180f44e7d993a3a0a442890fc3de67f57 Author: Bryan Wu <[EMAIL PROTECTED]> AuthorDate: Tue Jul 24 15:38:16 2007 +0800 Committer: Bryan Wu <[EMAIL PROTECTED]> CommitDate: Tue Jul 24 15:38:16 2007 +0800
Blackfin arch: fix a compiling warning about dma-mapping Signed-off-by: Bryan Wu <[EMAIL PROTECTED]> --- arch/blackfin/kernel/dma-mapping.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/arch/blackfin/kernel/dma-mapping.c b/arch/blackfin/kernel/dma-mapping.c index ea48d5b..94d7b11 100644 --- a/arch/blackfin/kernel/dma-mapping.c +++ b/arch/blackfin/kernel/dma-mapping.c @@ -160,7 +160,8 @@ dma_map_sg(struct device *dev, struct scatterlist *sg, int nents, BUG_ON(direction == DMA_NONE); for (i = 0; i < nents; i++, sg++) { - sg->dma_address = page_address(sg->page) + sg->offset; + sg->dma_address = (dma_addr_t)(page_address(sg->page) + + sg->offset); invalidate_dcache_range(sg_dma_address(sg), sg_dma_address(sg) + - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html