NET: FEC: dynamtic check DMA desc buff type
Subsystems (2)
Hi Frank,
Commit ff43da86c69d76a726ffe7d1666148960dc1d108 ("NET: FEC: dynamtic check DMA desc buff type") breaks building of the fec ethernet driver for non CONFIG_ARCH_MXC targets.
For example building for ColdFire devices with FEC hardware now fails like this
drivers/net/ethernet/freescale/fec.c: In function ‘fec_enet_get_nextdesc’:drivers/net/ethernet/freescale/fec.c:215:18: error: invalid use of undefined type ‘struct bufdesc_ex’ drivers/net/ethernet/freescale/fec.c: In function ‘fec_enet_get_prevdesc’:drivers/net/ethernet/freescale/fec.c:224:18: error: invalid use of undefined type ‘struct bufdesc_ex’ drivers/net/ethernet/freescale/fec.c: In function ‘fec_enet_start_xmit’:drivers/net/ethernet/freescale/fec.c:286:37: error: arithmetic on pointer to an incomplete type drivers/net/ethernet/freescale/fec.c:287:13: error: arithmetic on pointer to an incomplete type drivers/net/ethernet/freescale/fec.c:324:7: error: dereferencing pointer to incomplete type etc....
These where generated on 3.9-rc1.
Can you please fix?
Regards
Greg
2013/3/4 Greg Ungerer <[email protected]>:
Quoted 25 lines
Hi Frank,
Commit
ff43da86c69d76a726ffe7d1666148960dc1d108("NET: FEC: dynamtic check DMA desc buff type") breaks building of the fec ethernet driver for nonCONFIG_ARCH_MXCtargets.For example building for ColdFire devices with FEC hardware now fails like this
drivers/net/ethernet/freescale/fec.c: In function ‘fec_enet_get_nextdesc’:drivers/net/ethernet/freescale/fec.c:215:18: error: invalid use of undefined type ‘struct bufdesc_ex’drivers/net/ethernet/freescale/fec.c: In function ‘fec_enet_get_prevdesc’:drivers/net/ethernet/freescale/fec.c:224:18: error: invalid use of undefined type ‘struct bufdesc_ex’drivers/net/ethernet/freescale/fec.c: In function ‘fec_enet_start_xmit’:drivers/net/ethernet/freescale/fec.c:286:37: error: arithmetic on pointer to an incomplete typedrivers/net/ethernet/freescale/fec.c:287:13: error: arithmetic on pointer to an incomplete typedrivers/net/ethernet/freescale/fec.c:324:7: error: dereferencing pointer to incomplete type
etc....
Quoted 3 lines
These where generated on 3.9-rc1.
Can you please fix?
I can fix it.
I have not build environment to test.
Can you help me to test it?
Quoted 8 lines
Regards
Greg--
To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Hi Frank,
Quoted 23 lines · Frank Li
2013/3/4 Greg Ungerer <[email protected]>:
Quoted 22 lines
Commit
ff43da86c69d76a726ffe7d1666148960dc1d108("NET: FEC: dynamtic check DMA desc buff type") breaks building of the fec ethernet driver for nonCONFIG_ARCH_MXCtargets.For example building for ColdFire devices with FEC hardware now fails like this
drivers/net/ethernet/freescale/fec.c: In function ‘fec_enet_get_nextdesc’:drivers/net/ethernet/freescale/fec.c:215:18: error: invalid use of undefined type ‘struct bufdesc_ex’drivers/net/ethernet/freescale/fec.c: In function ‘fec_enet_get_prevdesc’:drivers/net/ethernet/freescale/fec.c:224:18: error: invalid use of undefined type ‘struct bufdesc_ex’drivers/net/ethernet/freescale/fec.c: In function ‘fec_enet_start_xmit’:drivers/net/ethernet/freescale/fec.c:286:37: error: arithmetic on pointer to an incomplete typedrivers/net/ethernet/freescale/fec.c:287:13: error: arithmetic on pointer to an incomplete typedrivers/net/ethernet/freescale/fec.c:324:7: error: dereferencing pointer to incomplete type
etc....
Quoted 7 lines
Quoted 3 lines
These where generated on 3.9-rc1.
Can you please fix?
I can fix it.
I have not build environment to test.
Can you help me to test it?
Oh yes, I can test any fixes.
If you had a m68k-linux compiler you can build with the arch/m68k/configs/m5208evb_defconfig which shows the problem.
Regards
Greg
Quoted 5 lines
Quoted 4 lines
--
To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html