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
c757b1b7
Commit
c757b1b7
authored
Mar 31, 2014
by
Alessandro Rubini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wr_nic: fix error message; report mac for first endpoint
Signed-off-by:
Alessandro Rubini
<
rubini@gnudd.com
>
parent
2ab95768
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
endpoint.c
kernel/wr_nic/endpoint.c
+4
-2
No files found.
kernel/wr_nic/endpoint.c
View file @
c757b1b7
...
...
@@ -222,9 +222,11 @@ int wrn_endpoint_probe(struct net_device *dev)
if
(
is_zero_ether_addr
(
wraddr
))
{
err
=
mac_pton
(
macaddr
,
wraddr
);
if
(
err
)
pr_err
(
"wr_nic: probably invalid MAC address
%s.
"
"Use format XX:XX:XX:XX:XX:XX
\n
"
);
pr_err
(
"wr_nic: probably invalid MAC address
\"
%s
\"
.
\n
"
"Use format XX:XX:XX:XX:XX:XX
\n
"
,
macaddr
);
}
if
(
ep
->
ep_number
==
0
)
pr_info
(
"WR-nic: Using address %pM
\n
"
,
wraddr
);
epnum
=
ep
->
ep_number
;
...
...
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