Skip to content

Commit a6ca67a

Browse files
committed
memory: brcmstb_dpfe: Constify the contents of string
The string itself can be made const for safety. Signed-off-by: Krzysztof Kozlowski <[email protected]> Acked-by: Florian Fainelli <[email protected]> Acked-by: Markus Mayer <[email protected]>
1 parent 96424aa commit a6ca67a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/memory/brcmstb_dpfe.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ struct brcmstb_dpfe_priv {
188188
struct mutex lock;
189189
};
190190

191-
static const char *error_text[] = {
191+
static const char * const error_text[] = {
192192
"Success", "Header code incorrect", "Unknown command or argument",
193193
"Incorrect checksum", "Malformed command", "Timed out",
194194
};

0 commit comments

Comments
 (0)