Loading
mtd: nand: fix integer widening problems
chip->pagebuf is a 32-bit type (int), so the shift will only be applied
as 32-bit. Fix this for 64-bit safety.
Caught by Coverity.
Signed-off-by:
Brian Norris <computersforpeace@gmail.com>
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
chip->pagebuf is a 32-bit type (int), so the shift will only be applied
as 32-bit. Fix this for 64-bit safety.
Caught by Coverity.
Signed-off-by:
Brian Norris <computersforpeace@gmail.com>