Re: [PATCH 1/4 linux-next] net: fec: use container_of to resolve bufdesc_ex from bufdesc

2014-09-15 Thread David Miller
From: Fabian Frederick Date: Sat, 13 Sep 2014 22:38:26 +0200 > Use container_of instead of casting first structure member. > > ARM cross-compiled but untested. > > Signed-off-by: Fabian Frederick Applied. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body o

[PATCH 1/4 linux-next] net: fec: use container_of to resolve bufdesc_ex from bufdesc

2014-09-13 Thread Fabian Frederick
Use container_of instead of casting first structure member. ARM cross-compiled but untested. Signed-off-by: Fabian Frederick --- drivers/net/ethernet/freescale/fec_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/freescale/fec_main.c b/drivers