On Mon, 22 Jul 2013 17:14:48 +0530, sandeep kumar said:
> While porting the SD card controller driver, i am seeing a kernel panic.
> While tracing with printk, i am struck at
>
> in arch/arm/mm/dma_mapping.c ,
> Function,
>
> static struct page *__dma_alloc_buffer(struct device *dev, size_t size, gfp_t
> gfp)
> {
> <snip>
> .....
> ptr = page_address(page);
> memset(ptr, 0, size);
> dmac_flush_range(ptr, ptr + size); --> struck hereConvince us that the values of page, ptr, and size are correct at this point in the code. And if you can't, fix them so they *are* correct.
pgp1x5Leli0Jb.pgp
Description: PGP signature
_______________________________________________ Kernelnewbies mailing list [email protected] http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
