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
457eaa8a
Commit
457eaa8a
authored
Sep 16, 2004
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[FC4]: Fix iomem warnings in SOCAL driver.
parent
1dd39926
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
drivers/fc4/socal.c
drivers/fc4/socal.c
+2
-2
drivers/fc4/socal.h
drivers/fc4/socal.h
+3
-3
No files found.
drivers/fc4/socal.c
View file @
457eaa8a
...
...
@@ -60,7 +60,7 @@ static char *version =
#define for_each_socal(s) for (s = socals; s; s = s->next)
struct
socal
*
socals
=
NULL
;
static
void
socal_copy_from_xram
(
void
*
d
,
unsigned
long
xram
,
long
size
)
static
void
socal_copy_from_xram
(
void
*
d
,
void
__iomem
*
xram
,
long
size
)
{
u32
*
dp
=
(
u32
*
)
d
;
while
(
size
)
{
...
...
@@ -70,7 +70,7 @@ static void socal_copy_from_xram(void *d, unsigned long xram, long size)
}
}
static
void
socal_copy_to_xram
(
unsigned
long
xram
,
void
*
s
,
long
size
)
static
void
socal_copy_to_xram
(
void
__iomem
*
xram
,
void
*
s
,
long
size
)
{
u32
*
sp
=
(
u32
*
)
s
;
while
(
size
)
{
...
...
drivers/fc4/socal.h
View file @
457eaa8a
...
...
@@ -295,9 +295,9 @@ struct socal {
socal_cq
req
[
4
];
/* Request CQs */
socal_cq
rsp
[
4
];
/* Response CQs */
int
socal_no
;
unsigned
long
regs
;
unsigned
long
xram
;
unsigned
long
eeprom
;
void
__iomem
*
regs
;
void
__iomem
*
xram
;
void
__iomem
*
eeprom
;
fc_wwn
wwn
;
u32
imask
;
/* Our copy of regs->imask */
u32
cfg
;
/* Our copy of regs->cfg */
...
...
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