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
0f0a76be
Commit
0f0a76be
authored
Dec 13, 2004
by
Linus Torvalds
Committed by
Tony Luck
Dec 13, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix x86 src pointer type for memcpy_fromio().
It's "const volatile __iomem *". The "const" was missing.
parent
a738e990
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
include/asm-i386/io.h
include/asm-i386/io.h
+1
-1
No files found.
include/asm-i386/io.h
View file @
0f0a76be
...
@@ -184,7 +184,7 @@ static inline void memset_io(volatile void __iomem *addr, unsigned char val, int
...
@@ -184,7 +184,7 @@ static inline void memset_io(volatile void __iomem *addr, unsigned char val, int
{
{
memset
((
void
__force
*
)
addr
,
val
,
count
);
memset
((
void
__force
*
)
addr
,
val
,
count
);
}
}
static
inline
void
memcpy_fromio
(
void
*
dst
,
volatile
void
__iomem
*
src
,
int
count
)
static
inline
void
memcpy_fromio
(
void
*
dst
,
const
volatile
void
__iomem
*
src
,
int
count
)
{
{
__memcpy
(
dst
,
(
void
__force
*
)
src
,
count
);
__memcpy
(
dst
,
(
void
__force
*
)
src
,
count
);
}
}
...
...
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