summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorSean Anderson <[email protected]>2021-02-04 23:11:06 -0500
committerJagan Teki <[email protected]>2021-02-26 15:47:07 +0530
commit1bb8ca3b4b3debfa6b42f3430c81c00c3807cafe (patch)
treecd525af0147f9398958a86c7d426b3192c0a0360 /include/linux
parent90d76f812b29c88f47279eca034da70d30a798d9 (diff)
cmd: sf: Display errno on erase failure
If there is an error while erasing SPI flash, no errno is displayed. This makes it difficult to determine the cause of the error. This change mirrors the logic for write errors above. Signed-off-by: Sean Anderson <[email protected]> Reviewed-by: Bin Meng <[email protected]> Reviewed-by: Pratyush Yadav <[email protected]> Reviewed-by: Jagan Teki <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions