diff options
| author | 2021-01-14 10:46:57 +0800 | |
|---|---|---|
| committer | 2021-01-14 18:31:47 -0800 | |
| commit | dec822771b0174a01e72d7641d08e44461b6a82f (patch) | |
| tree | eee3c926191ab2fb1406dafea32e74532d79483a /lib/math/git:/ssh:/git@git.zx2c4.com | |
| parent | riscv: defconfig: enable gpio support for HiFive Unleashed (diff) | |
| download | linux-dev-dec822771b0174a01e72d7641d08e44461b6a82f.tar.xz linux-dev-dec822771b0174a01e72d7641d08e44461b6a82f.zip | |
riscv: stacktrace: Move register keyword to beginning of declaration
Using global sp_in_global directly to fix the following warning,
arch/riscv/kernel/stacktrace.c:31:3: warning: ‘register’ is not at beginning of declaration [-Wold-style-declaration]
31 | const register unsigned long current_sp = sp_in_global;
| ^~~~~
Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Diffstat (limited to 'lib/math/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
