]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
drivers/block/systemace - fixed data type in "systemace_read" to match prototype...
authorAlexey Brodkin <alexey.brodkin@gmail.com>
Thu, 3 Jan 2013 01:02:46 +0000 (01:02 +0000)
committerTom Rini <trini@ti.com>
Mon, 4 Feb 2013 14:07:20 +0000 (09:07 -0500)
commitac1048ae1c909382190bc6c888b91325e808e0b5
treee1e7f58d71952f99def56051c5af0bb87ebb8a54
parentcb940c7ede85994847c80f4300f2f7eac6e94c48
drivers/block/systemace - fixed data type in "systemace_read" to match prototype in "block_dev_desc_t"

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@gmail.com>
drivers/block/systemace.c