OSDN Git Service

mtd: nandsim: fix integer widening
authorBrian Norris <computersforpeace@gmail.com>
Tue, 22 Jul 2014 02:07:44 +0000 (19:07 -0700)
committerBrian Norris <computersforpeace@gmail.com>
Tue, 19 Aug 2014 18:53:08 +0000 (11:53 -0700)
commitb033e1aac9afd314add799b6cd2a5489f892757f
treeb1a85ef80b4a8eb990f1aeed5736e6712366e2d6
parentc115add9d073752d38f6517882dfeafe76fc4458
mtd: nandsim: fix integer widening

This multiplication should be done in 64-bit, not 32-bit.

Caught by Coverity.

Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/nandsim.c