Skip to content
Snippets Groups Projects
Commit 5bd7fe9a authored by Matthias Fuchs's avatar Matthias Fuchs Committed by Wolfgang Denk
Browse files

Fix do_div() usage in nand process output


Fix usage of do_div() in nand erase|read|write process output.

The last patch to nand_util.c introduced do_div() instead of libgcc's
implementation. But do_div() returns the quotient in its first
macro parameter and not as result.

Signed-off-by: default avatarMatthias Fuchs <matthias.fuchs@esd-electronics.com>
parent c750d2e6
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment