summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorPiotr Sroka <piotrs@cadence.com>2020-02-10 12:55:26 +0300
committerMiquel Raynal <miquel.raynal@bootlin.com>2020-03-11 18:17:55 +0300
commite4578af0354176ff6b4ae78b9998b4f479f7c31c (patch)
tree6eb4f6b858cf40efc636432aee5f065058f331f6 /tools/perf/scripts/python/stackcollapse.py
parent397deafc02e1b91668fa1ee95fdd52d14fa82135 (diff)
downloadlinux-e4578af0354176ff6b4ae78b9998b4f479f7c31c.tar.xz
mtd: rawnand: cadence: fix the calculation of the avaialble OOB size
The value of cdns_chip->sector_count is not known at the moment of the derivation of ecc_size, leading to a zero value. Fix this by assigning ecc_size later in the code. Fixes: ec4ba01e894d ("mtd: rawnand: Add new Cadence NAND driver to MTD subsystem") Cc: stable@vger.kernel.org Signed-off-by: Piotr Sroka <piotrs@cadence.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Link: https://lore.kernel.org/linux-mtd/1581328530-29966-2-git-send-email-piotrs@cadence.com
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions