env: Fix "env save" to malformed environment
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | env: common: Return specific error code on bad CRCenv/ | +2 | 2 replies | |
| 2/2 | env: Fix saving environment to "bad CRC" locationenv/ | +19 | 3 replies | |
| 2/2 | env: Fix saving environment to "bad CRC" location | +0 | 2 replies | |
| 2/2 | env: Fix saving environment to "bad CRC" location | +0 | 0 replies |
Reviews trailers per patch
All 4 patches have a Reviewed-by or Acked-by.
| Patch | Simon Goldschmidt |
|---|---|
| 1/2 | R-b |
| 2/2 | R-b |
| 2/2 | R-b |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [U-Boot] [PATCH 0/2] env: Fix "env save" to malformed environment
In case when environment is malformed (e.g. zeroed out), we are not able to save new environment to that location. Let's fix that by not considering the location with "bad CRC" environment as not accessible.
Sam Protsenko (2):
env: common: Return specific error code on bad CRC
env: Fix saving environment to "bad CRC" location
env/common.c | 4 ++-- env/env.c | 25 +++++++++++++++++++------ 2 files changed, 21 insertions(+), 8 deletions(-)
Signature · 1 line
2.20.1