diff options
author | Heiko Carstens <hca@linux.ibm.com> | 2023-02-02 23:47:11 +0300 |
---|---|---|
committer | Heiko Carstens <hca@linux.ibm.com> | 2023-02-06 13:13:54 +0300 |
commit | 18e5cb7a5ce30d0fd28c94551509afe43b100118 (patch) | |
tree | fb1e418a47c71a245c3d5f2fc4e8b6b80509d52b /arch/s390/kernel/diag.c | |
parent | 1e2eb49bb14760cc7ec0c301c705410628bee8e9 (diff) | |
download | linux-18e5cb7a5ce30d0fd28c94551509afe43b100118.tar.xz |
s390/diag: make __diag8c_tmp_amode31 static
Get rid of this sparse warning:
arch/s390/kernel/diag.c:69:29: warning: symbol '__diag8c_tmp_amode31' was not declared. Should it be static?
Fixes: fbaee7464fbb ("s390/tty3270: add support for diag 8c")
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'arch/s390/kernel/diag.c')
-rw-r--r-- | arch/s390/kernel/diag.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/kernel/diag.c b/arch/s390/kernel/diag.c index a6a0222a35cf..82079f2d8583 100644 --- a/arch/s390/kernel/diag.c +++ b/arch/s390/kernel/diag.c @@ -66,7 +66,7 @@ static struct diag210 _diag210_tmp_amode31 __section(".amode31.data"); struct diag210 __amode31_ref *__diag210_tmp_amode31 = &_diag210_tmp_amode31; static struct diag8c _diag8c_tmp_amode31 __section(".amode31.data"); -struct diag8c __amode31_ref *__diag8c_tmp_amode31 = &_diag8c_tmp_amode31; +static struct diag8c __amode31_ref *__diag8c_tmp_amode31 = &_diag8c_tmp_amode31; static int show_diag_stat(struct seq_file *m, void *v) { |