Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
White Rabbit Network Interface Card
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
2
Issues
2
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
White Rabbit Network Interface Card
Commits
dcb43b30
Commit
dcb43b30
authored
Oct 12, 2016
by
Federico Vaga
Committed by
Miguel Jimenez Lopez
Sep 04, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel:wr_nic: fix printk string format
Signed-off-by:
Federico Vaga
<
federico.vaga@cern.ch
>
parent
e711ec38
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
device.c
kernel/wr_nic/device.c
+4
-4
No files found.
kernel/wr_nic/device.c
View file @
dcb43b30
...
...
@@ -96,13 +96,13 @@ static int __wrn_map_resources(struct platform_device *pdev)
continue
;
ptr
=
ioremap
(
res
->
start
,
res
->
end
+
1
-
res
->
start
);
if
(
!
ptr
)
{
dev_err
(
&
pdev
->
dev
,
"Remap for res %i
(%pa)
failed
\n
"
,
i
,
res
->
start
);
dev_err
(
&
pdev
->
dev
,
"Remap for res %i
%pr
failed
\n
"
,
i
,
res
);
return
-
ENOMEM
;
}
/* Hack: find the block number and fill the array */
pr_debug
(
"Remapped %p
a
(block %i) to %p
\n
"
,
res
->
start
,
i
,
ptr
);
pr_debug
(
"Remapped %p
r
(block %i) to %p
\n
"
,
res
,
i
,
ptr
);
wrn
->
bases
[
i
]
=
ptr
;
}
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