Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
a0e3a44b
Commit
a0e3a44b
authored
May 29, 2022
by
Heiko Carstens
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
s390/uaccess: use __noreturn instead of __attribute__((noreturn))
Signed-off-by:
Heiko Carstens
<
hca@linux.ibm.com
>
parent
454ede3f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
arch/s390/include/asm/uaccess.h
arch/s390/include/asm/uaccess.h
+4
-3
No files found.
arch/s390/include/asm/uaccess.h
View file @
a0e3a44b
...
@@ -55,9 +55,6 @@ copy_to_user_key(void __user *to, const void *from, unsigned long n, unsigned lo
...
@@ -55,9 +55,6 @@ copy_to_user_key(void __user *to, const void *from, unsigned long n, unsigned lo
return
n
;
return
n
;
}
}
int
__put_user_bad
(
void
)
__attribute__
((
noreturn
));
int
__get_user_bad
(
void
)
__attribute__
((
noreturn
));
union
oac
{
union
oac
{
unsigned
int
val
;
unsigned
int
val
;
struct
{
struct
{
...
@@ -80,6 +77,8 @@ union oac {
...
@@ -80,6 +77,8 @@ union oac {
};
};
};
};
int
__noreturn
__put_user_bad
(
void
);
#define __put_user_asm(to, from, size) \
#define __put_user_asm(to, from, size) \
({ \
({ \
union oac __oac_spec = { \
union oac __oac_spec = { \
...
@@ -134,6 +133,8 @@ static __always_inline int __put_user_fn(void *x, void __user *ptr, unsigned lon
...
@@ -134,6 +133,8 @@ static __always_inline int __put_user_fn(void *x, void __user *ptr, unsigned lon
return
rc
;
return
rc
;
}
}
int
__noreturn
__get_user_bad
(
void
);
#define __get_user_asm(to, from, size) \
#define __get_user_asm(to, from, size) \
({ \
({ \
union oac __oac_spec = { \
union oac __oac_spec = { \
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment