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
48eed47a
Commit
48eed47a
authored
Sep 11, 2004
by
Linus Torvalds
Committed by
Linus Torvalds
Sep 11, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
memcpy_toio() shouldn't complain about a const source.
parent
2c49645d
Changes
1
Show 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 @
48eed47a
...
...
@@ -184,7 +184,7 @@ static inline void memcpy_fromio(void *dst, volatile void __iomem *src, int coun
{
__memcpy
(
dst
,
(
void
__force
*
)
src
,
count
);
}
static
inline
void
memcpy_toio
(
volatile
void
__iomem
*
dst
,
void
*
src
,
int
count
)
static
inline
void
memcpy_toio
(
volatile
void
__iomem
*
dst
,
const
void
*
src
,
int
count
)
{
__memcpy
((
void
__force
*
)
dst
,
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