Skip to content
Commit 61cd2ebb authored by Fabian Frederick's avatar Fabian Frederick Committed by David S. Miller
Browse files

net: fec: use container_of to resolve bufdesc_ex from bufdesc



Use container_of instead of casting first structure member.

ARM cross-compiled but untested.

Signed-off-by: default avatarFabian Frederick <fabf@skynet.be>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c0d1379a
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