summaryrefslogtreecommitdiff
path: root/scripts/dtc/pylibfdt/setup.py
diff options
context:
space:
mode:
authorAndrew Goodbody <andrew.goodbody@linaro.org>2025-08-01 10:54:06 +0100
committerMichael Trimarchi <michael@amarulasolutions.com>2025-08-03 10:22:04 +0200
commit27242462167f678cb6ec78fa8c97f25c9557cb1e (patch)
tree91d59925f1c84dd13c40bb6b879472cf2f780611 /scripts/dtc/pylibfdt/setup.py
parent2756de5213a1a88fae236d7be217c882b5daef9f (diff)
mtd: rawnand: mxs_nand: Ensure err is set for error path
In mxs_nand_init_ctrl there are a couple of error paths that do not set err which could lead to the errors being silently ignored despite the function not completing. Rather than just using if to detect these errors use err to collect the error return value from the called functions. This issue was found by Smatch. Signed-off-by: Andrew Goodbody <andrew.goodbody@linaro.org> Reviewed-by: Michael Trimarchi <michael@amarulasolutions.com>
Diffstat (limited to 'scripts/dtc/pylibfdt/setup.py')
0 files changed, 0 insertions, 0 deletions