Skip to content
Snippets Groups Projects
Commit 40717eb8 authored by Rick Chen's avatar Rick Chen Committed by Andes
Browse files

riscv: checkpatch: Fix use of volatile


It is reported by checkpatch.pl
WARNING: Use of volatile is usually wrong: see
Documentation/process/volatile-considered-harmful.rst

Signed-off-by: default avatarRick Chen <rick@andestech.com>
Signed-off-by: default avatarRick Chen <rickchen36@gmail.com>
parent bc0818a6
No related branches found
No related tags found
No related merge requests found
......@@ -17,6 +17,6 @@ struct arch_global_data {
#include <asm-generic/global_data.h>
#define DECLARE_GLOBAL_DATA_PTR register volatile gd_t *gd asm ("gp")
#define DECLARE_GLOBAL_DATA_PTR register gd_t *gd asm ("gp")
#endif /* __ASM_GBL_DATA_H */
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment