Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
xcap
xcap-capability-linux
Commits
fb20760e
Commit
fb20760e
authored
Nov 26, 2018
by
Vikram Narayanan
Browse files
net/dev: Fix typecast
parent
bfd6e708
Changes
1
Hide whitespace changes
Inline
Side-by-side
net/core/dev.c
View file @
fb20760e
...
...
@@ -7772,7 +7772,7 @@ struct net_device *alloc_netdev_mqs_lcd(int sizeof_priv, const char *name,
if (!p)
return NULL;
dev_c
=
PTR_ALIGN
(
p
,
NETDEV_ALIGN
);
dev_c =
(struct net_device_container*)
PTR_ALIGN(p, NETDEV_ALIGN);
dev_c->other_ref.cptr = other_ref_cptr;
dev = &dev_c->dev;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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