| .. | .. |
|---|
| 1 | 1 | // SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note |
|---|
| 2 | 2 | /* |
|---|
| 3 | 3 | * |
|---|
| 4 | | - * (C) COPYRIGHT 2017, 2020-2021 ARM Limited. All rights reserved. |
|---|
| 4 | + * (C) COPYRIGHT 2017, 2020-2022 ARM Limited. All rights reserved. |
|---|
| 5 | 5 | * |
|---|
| 6 | 6 | * This program is free software and is provided to you under the terms of the |
|---|
| 7 | 7 | * GNU General Public License version 2 as published by the Free Software |
|---|
| .. | .. |
|---|
| 28 | 28 | #include <linux/slab.h> |
|---|
| 29 | 29 | #include <linux/export.h> |
|---|
| 30 | 30 | |
|---|
| 31 | | -const char *valtype_names[] = { |
|---|
| 31 | +static const char *const valtype_names[] = { |
|---|
| 32 | 32 | "INVALID", |
|---|
| 33 | 33 | "U64", |
|---|
| 34 | 34 | "STR", |
|---|
| .. | .. |
|---|
| 368 | 368 | named_val->u.val_str = strval; |
|---|
| 369 | 369 | break; |
|---|
| 370 | 370 | default: |
|---|
| 371 | | - pr_err("Unreachable, fix kutf_helper_receive_named_val\n"); |
|---|
| 371 | + pr_err("Unreachable, fix %s\n", __func__); |
|---|
| 372 | 372 | /* Coding error, report as though 'run' file failed */ |
|---|
| 373 | 373 | return -EINVAL; |
|---|
| 374 | 374 | } |
|---|