mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-15 20:26:48 +07:00
staging: ccree: constify help string
Make help string static const Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
da4e52ac3e
commit
7d2e4fc239
@ -47,7 +47,7 @@ static ssize_t ssi_sys_regdump_show(struct kobject *kobj,
|
|||||||
static ssize_t ssi_sys_help_show(struct kobject *kobj,
|
static ssize_t ssi_sys_help_show(struct kobject *kobj,
|
||||||
struct kobj_attribute *attr, char *buf)
|
struct kobj_attribute *attr, char *buf)
|
||||||
{
|
{
|
||||||
char *help_str[] = {
|
static const char * const help_str[] = {
|
||||||
"cat reg_dump ", "Print several of CC register values",
|
"cat reg_dump ", "Print several of CC register values",
|
||||||
};
|
};
|
||||||
int i = 0, offset = 0;
|
int i = 0, offset = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user