commit | 537ab1bd47d6518e8a40207a80dd0c2c4bc43aed | [log] [tgz] |
---|---|---|
author | Brian Norris <computersforpeace@gmail.com> | Mon Jul 21 19:08:03 2014 -0700 |
committer | Brian Norris <computersforpeace@gmail.com> | Tue Aug 19 11:53:09 2014 -0700 |
tree | 636bff54331b59d6e784ea5ce68fd548f3eb3904 | |
parent | 7a6f43958a53020f85818ff5c895623e88781fd6 [diff] |
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>