mirror of
https://github.com/torvalds/linux.git
synced 2026-11-25 16:02:57 +00:00
These multiplications are done with 32-bit arithmetic, then converted to 64-bit. We should widen the integers first to prevent overflow. This could be a problem for large (>4GB) MTD's. Detected by Coverity. Signed-off-by: Brian Norris <[email protected]> Cc: Akinobu Mita <[email protected]>