aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorStefan Agner <[email protected]>2018-07-17 10:46:18 +0200
committerMiquel Raynal <[email protected]>2018-07-19 23:14:13 +0200
commitd535934a9ad4dc435884958ac44a7d6ecb6278ce (patch)
treee1e655a818b78cce1707169d16fb8ceb7d5d0536 /tools/perf/scripts/python/bin
parent6a943386ee364155727f62711f6f3e898d824cdd (diff)
mtd: rawnand: tegra: check bounds of die_nr properly
The Tegra driver currently only support a single chip select, hence check boundaries accordingly. This fixes a off by one issue catched with Smatch: drivers/mtd/nand/raw/tegra_nand.c:476 tegra_nand_select_chip() warn: array off by one? 'nand->cs[die_nr]' Also warn in case the stack asks for a chip select we currently do not support. Reported-by: Dan Carpenter <[email protected]> Signed-off-by: Stefan Agner <[email protected]> Signed-off-by: Marcel Ziswiler <[email protected]> Signed-off-by: Miquel Raynal <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions