diff options
| author | Jan Kiszka <[email protected]> | 2022-03-02 15:01:56 +0100 |
|---|---|---|
| committer | Jagan Teki <[email protected]> | 2022-07-18 19:15:19 +0530 |
| commit | f3a56dda880af44dac87b1a60c44ebb7c079c329 (patch) | |
| tree | cdca10d76dd60120660d89410aeafa7efda139f0 /include/linux/stringify.h | |
| parent | 513c6071ce73d026bb87a4db009e4bfc28e93df3 (diff) | |
sf: Query write-protection status before operating the flash
Do not suggest successful operation if a flash area to be changed is
actually locked, thus will not execute the request. Rather report an
error and bail out. That's way more user-friendly than asking them to
manually check for this case.
Derived from original patch by Chao Zeng.
Signed-off-by: Jan Kiszka <[email protected]>
Acked-by: Jagan Teki <[email protected]>
Diffstat (limited to 'include/linux/stringify.h')
0 files changed, 0 insertions, 0 deletions
