Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Kirill Smelkov
linux
Commits
9f698b0b
Commit
9f698b0b
authored
22 years ago
by
David S. Miller
Committed by
David S. Miller
22 years ago
Browse files
Options
Download
Email Patches
Plain Diff
[SUNGEM]: Add warning to ppc code wrt. MAX_ADDR_LEN change.
parent
4f85bc95
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
drivers/net/sungem.c
drivers/net/sungem.c
+1
-0
No files found.
drivers/net/sungem.c
View file @
9f698b0b
...
...
@@ -2850,6 +2850,7 @@ static int __devinit gem_get_device_address(struct gem *gp)
printk
(
KERN_ERR
"%s: can't get mac-address
\n
"
,
dev
->
name
);
return
-
1
;
}
#warning MAX_ADDR_LEN is now 32 bytes instead of 8, please fix this as appropriate
memcpy
(
dev
->
dev_addr
,
addr
,
MAX_ADDR_LEN
);
#else
get_gem_mac_nonobp
(
gp
->
pdev
,
gp
->
dev
->
dev_addr
);
...
...
This diff is collapsed.
Click to expand it.
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