Fixed warnings

If built with
CONFIG_COMPILER_WARN_WRITE_STRINGS=y, the
compiler emits warnings about the non-const
pointer pointing to literal strings. This fixes
it.
This commit is contained in:
nvmd
2025-02-10 21:46:30 +05:30
committed by Rahul Tank
parent 2643d26d03
commit 81b1700f64
+1 -1
View File
@@ -106,7 +106,7 @@
struct err_code {
int error_code;
char *msg;
const char *msg;
};
static struct err_code err_code_list[] = {