mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-28 19:20:30 +00:00
mtd: lpddr_cmds: Add literal suffix
The value of an arithmetic expression 1 << lpddr->qinfo->DevSizeShift is subject to overflow due to a failure to cast operands to a larger data type before performing arithmetic Found by Linux Verification Center (linuxtesting.org) with SVACE. Signed-off-by: Denis Arefev <arefev@swemel.ru> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Link: https://lore.kernel.org/linux-mtd/20230824130215.10396-1-arefev@swemel.ru
This commit is contained in:
parent
0bb80ecc33
commit
8ffd18a674
1 changed files with 1 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue