You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
Storage class should be before const qualifier
The C99 specification states in section 6.11.5: The placement of a storage-class specifier other than at the beginning of the declaration specifiers in a declaration is an obsolescent feature. Signed-off-by: Tobias Klauser <tklauser@distanz.ch> Signed-off-by: Adrian Bunk <bunk@stusta.de>
This commit is contained in:
committed by
Adrian Bunk
parent
0bbfb7c2e4
commit
c5a69d57eb
@@ -74,7 +74,7 @@ extern int __get_user_bad(void);
|
||||
|
||||
#define get_user(x,p) \
|
||||
({ \
|
||||
const register typeof(*(p)) *__p asm("r0") = (p); \
|
||||
register const typeof(*(p)) *__p asm("r0") = (p); \
|
||||
register typeof(*(p)) __r1 asm("r1"); \
|
||||
register int __e asm("r0"); \
|
||||
switch (sizeof(*(p))) { \
|
||||
@@ -139,8 +139,8 @@ extern int __put_user_bad(void);
|
||||
|
||||
#define put_user(x,p) \
|
||||
({ \
|
||||
const register typeof(*(p)) __r1 asm("r1") = (x); \
|
||||
const register typeof(*(p)) *__p asm("r0") = (p); \
|
||||
register const typeof(*(p)) __r1 asm("r1") = (x); \
|
||||
register const typeof(*(p)) *__p asm("r0") = (p); \
|
||||
register int __e asm("r0"); \
|
||||
switch (sizeof(*(__p))) { \
|
||||
case 1: \
|
||||
@@ -170,8 +170,8 @@ extern int __put_user_bad(void);
|
||||
|
||||
#define put_user(x,p) \
|
||||
({ \
|
||||
const register typeof(*(p)) __r1 asm("r1") = (x); \
|
||||
const register typeof(*(p)) *__p asm("r0") = (p); \
|
||||
register const typeof(*(p)) __r1 asm("r1") = (x); \
|
||||
register const typeof(*(p)) *__p asm("r0") = (p); \
|
||||
register int __e asm("r0"); \
|
||||
switch (sizeof(*(p))) { \
|
||||
case 1: \
|
||||
|
||||
Reference in New Issue
Block a user