mtd: sm_ftl: fix wrong do_div() usage
authorNicolas Pitre <nicolas.pitre@linaro.org>
Wed, 4 Nov 2015 20:21:21 +0000 (15:21 -0500)
committerBrian Norris <computersforpeace@gmail.com>
Mon, 16 Nov 2015 23:07:16 +0000 (15:07 -0800)
commit2b2462d5928379b8f43ffe19d72d069bfb89d316
treee75c78c3ef114ee8d90aba526cd29d6ba048d3c1
parentd55d31a6b8f65bb13e1912043a66295cc928967c
mtd: sm_ftl: fix wrong do_div() usage

do_div() is meant to be used with an unsigned dividend.

Signed-off-by: Nicolas Pitre <nico@linaro.org>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/sm_ftl.c