[U-Boot] drivers/block/systemace - fixed data type in "systemace_read" to match prototype in "block_dev_desc_t"

Tom Rini trini at ti.com
Mon Feb 4 17:36:55 CET 2013


On Thu, Jan 03, 2013 at 01:02:46AM -0000, Alexey Brodkin wrote:

> Currently we have "unsigned long blkcnt" which is fine with
> CONFIG_SYS_64BIT_LBA undefined because "lbaint_t" is basically the same
> "unsigned long".
> If CONFIG_SYS_64BIT_LBA gets defined "lbaint_t" is defined as "unsigned
> long long".
> 
> Even though not many embedded systems have CONFIG_SYS_64BIT_LBA defined
> it's good to have types in function implementation that match exactly
> with prototypes.
> 
> Signed-off-by: Alexey Brodkin <alexey.brodkin at gmail.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20130204/f8cd8c4f/attachment.pgp>


More information about the U-Boot mailing list