AnsweredAssumed Answered

bug in drivers/net/ethernet/stmicro/stmmac/stmmac_main.c

Question asked by lluisgomez on Apr 15, 2014
Latest reply on Apr 15, 2014 by Aaronwu

Hi,

 

I'm compiling a new kernel image using this guide: http://blackfin.uclinux.org/doku.php?id=buildroot:build-system:build_a_target

 

I've got the following error:

 

drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:2927: error: ‘else’ without a previous ‘if’

 

I've checked the stmmac_main.c and it obvious there is a "typo" bug ... in lines 2927 and 2925 missing brackets for the "if" statement.

Outcomes