summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2018-10-16 10:13:46 +0300
committerBoris Brezillon <boris.brezillon@bootlin.com>2018-11-06 01:52:18 +0300
commit91d7b67000c6e9bd605624079fee5a084238ad92 (patch)
tree31d08cbec7813a5d93b73dce6d904f457f209272 /tools/perf/scripts/python/check-perf-trace.py
parentd098093ba06eb032057d1aca1c2e45889e099d00 (diff)
downloadlinux-91d7b67000c6e9bd605624079fee5a084238ad92.tar.xz
mtd: spi-nor: cadence-quadspi: Return error code in cqspi_direct_read_execute()
We return 0 unconditionally in 'cqspi_direct_read_execute()'. However, 'ret' is set to some error codes in several error handling paths. Return 'ret' instead to propagate the error code. Fixes: ffa639e069fb ("mtd: spi-nor: cadence-quadspi: Add DMA support for direct mode reads") Cc: <stable@vger.kernel.org> Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions