Commit fb20760e authored by Vikram Narayanan's avatar Vikram Narayanan

net/dev: Fix typecast

parent bfd6e708
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment