Re: Question regarding OMAP NAND driver read_buf16() function

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

 



On Thursday 20 November 2008, Peter Barada wrote:
> In drivers/mtd/nand/omap2.c, I see the call to __raw_readsl:
> 
>         __raw_readsl(nand->IO_ADDR_R, buf, len / 2);
> 
> Since len is in bytes (from the comment), shouldn't this either be:
> 
>         __raw_readsl(nand->IO_ADDR_R, buf, len / 4);
> 
> or:
> 
>         __raw_readsw(nand->IO_ADDR_R, buf, len / 2);
>         

Current GIT has the latter.  Upgrde your kernel.  ;)


--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux