mirror of https://gitee.com/openkylin/linux.git
5a6b2b36a8
Both 'i' and 'bits_per_entry' are signed integers but the result is a u64 block number. Cast i to u64 to avoid truncation on 32-bit targets. Found by Coverity (CID 200679). Signed-off-by: Bob Copeland <me@bobcopeland.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
bitmap.c | ||
dir.c | ||
file.c | ||
inode.c | ||
omfs.h | ||
omfs_fs.h |