projects
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b03448
)
sf: Use const for the stage name
author
Simon Glass
<sjg@chromium.org>
Sun, 19 Sep 2021 21:49:33 +0000
(15:49 -0600)
committer
Simon Glass
<sjg@chromium.org>
Sun, 28 Nov 2021 23:51:51 +0000
(16:51 -0700)
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>
cmd/sf.c
patch
|
blob
|
history
diff --git
a/cmd/sf.c
b/cmd/sf.c
index eac27ed2d77d2bd2e702c73cab82c0f040751d0d..15361a4bddf9826d677481819ec98fcc96ba85c2 100644
(file)
--- a/
cmd/sf.c
+++ b/
cmd/sf.c
@@
-394,7
+394,7
@@
enum {
STAGE_COUNT,
};
-static char *stage_name[STAGE_COUNT] = {
+static c
onst c
har *stage_name[STAGE_COUNT] = {
"erase",
"check",
"write",