Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 537ab1bd authored by Brian Norris's avatar Brian Norris
Browse files

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: default avatarBrian Norris <computersforpeace@gmail.com>
parent 7a6f4395
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment