Searched hist:"5 bca178e" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/net/ethernet/faraday/ |
H A D | ftmac100.c | 5bca178e Thu Oct 26 07:27:45 CDT 2017 Gustavo A. R. Silva <garsilva@embeddedor.com> net: faraday: ftmac100: Use BUG_ON instead of if condition followed by BUG.
Notice that in this particular case unlikely() is already being called inside BUG_ON macro.
This issue was detected with the help of Coccinelle.
Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com> Signed-off-by: David S. Miller <davem@davemloft.net> 5bca178e Thu Oct 26 07:27:45 CDT 2017 Gustavo A. R. Silva <garsilva@embeddedor.com> net: faraday: ftmac100: Use BUG_ON instead of if condition followed by BUG. Notice that in this particular case unlikely() is already being called inside BUG_ON macro. This issue was detected with the help of Coccinelle. Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|