Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
White Rabbit Switch - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
86
Issues
86
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
CI / CD
CI / CD
Pipelines
Schedules
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 Switch - Software
Commits
8984921b
Commit
8984921b
authored
Oct 12, 2016
by
Federico Vaga
Committed by
Adam Wujek
Dec 01, 2016
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
54f423ae
Hide 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 @
8984921b
...
...
@@ -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