diff options
author | Brian Norris <computersforpeace@gmail.com> | 2014-07-21 19:08:03 -0700 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2014-08-19 11:53:09 -0700 |
commit | 537ab1bd47d6518e8a40207a80dd0c2c4bc43aed (patch) | |
tree | 636bff54331b59d6e784ea5ce68fd548f3eb3904 /fs/ubifs/commit.c | |
parent | 7a6f43958a53020f85818ff5c895623e88781fd6 (diff) | |
download | linux-stable-537ab1bd47d6518e8a40207a80dd0c2c4bc43aed.tar.gz linux-stable-537ab1bd47d6518e8a40207a80dd0c2c4bc43aed.tar.bz2 linux-stable-537ab1bd47d6518e8a40207a80dd0c2c4bc43aed.zip |
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>
Diffstat (limited to 'fs/ubifs/commit.c')
0 files changed, 0 insertions, 0 deletions