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: NFabian Frederick <fabf@skynet.be> Signed-off-by: NDavid S. Miller <davem@davemloft.net>
Showing
想要评论请 注册 或 登录