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
nexedi
linux
Commits
65b4ed6e
Commit
65b4ed6e
authored
Oct 09, 2003
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SPARC64]: Squelch bogus gcc warning in unaligned.c due to bad flow analysis.
parent
06349d9d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
arch/sparc64/kernel/unaligned.c
arch/sparc64/kernel/unaligned.c
+8
-0
No files found.
arch/sparc64/kernel/unaligned.c
View file @
65b4ed6e
...
...
@@ -73,6 +73,14 @@ static inline int decode_access_size(unsigned int insn)
else
{
printk
(
"Impossible unaligned trap. insn=%08x
\n
"
,
insn
);
die_if_kernel
(
"Byte sized unaligned access?!?!"
,
current_thread_info
()
->
kregs
);
/* GCC should never warn that control reaches the end
* of this function without returning a value because
* die_if_kernel() is marked with attribute 'noreturn'.
* Alas, some versions do...
*/
return
0
;
}
}
...
...
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