diff options
author | Simon Glass | 2021-09-19 15:49:33 -0600 |
---|---|---|
committer | Simon Glass | 2021-11-28 16:51:51 -0700 |
commit | ad4e0100541eb8a19de00f56bda10be576a7cde6 (patch) | |
tree | 3437aa4cbf19a07b3c554f0ebaba9c0e9ae274c2 | |
parent | 6b03448713c20dd71ab6cc8e2c1c326db0148169 (diff) |
sf: Use const for the stage name
This is not updated at runtime so should be marked const. Update the code
accordingly.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
-rw-r--r-- | cmd/sf.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -394,7 +394,7 @@ enum { STAGE_COUNT, }; -static char *stage_name[STAGE_COUNT] = { +static const char *stage_name[STAGE_COUNT] = { "erase", "check", "write", |