aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorTakahiro Kuwano <[email protected]>2020-10-02 14:18:02 +0900
committerTudor Ambarus <[email protected]>2021-02-05 15:20:55 +0200
commit58fa22f68fcaff20ce4d08a6adffa64f65ccd37d (patch)
tree078af5826725ed5889b3060e6f5b625d24ad35dd /tools/perf/util/scripting-engines/trace-event-python.c
parent969b276718de37dfe66fce3a5633f611e8cd58fd (diff)
mtd: spi-nor: core: Add erase size check for erase command initialization
Even if erase type is same as previous region, erase size can be different if the previous region is overlaid region. Since 'region->size' is assigned to 'cmd->size' for overlaid region, comparing 'erase->size' and 'cmd->size' can detect previous overlaid region. Fixes: 5390a8df769e ("mtd: spi-nor: add support to non-uniform SFDP SPI NOR flash memories") Cc: [email protected] Signed-off-by: Takahiro Kuwano <[email protected]> [ta: Add Fixes tag and Cc to stable] Signed-off-by: Tudor Ambarus <[email protected]> Link: https://lore.kernel.org/r/13d47e8d8991b8a7fd8cc7b9e2a5319c56df35cc.1601612872.git.Takahiro.Kuwano@infineon.com
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions