linux/drivers/net/ethernet/renesas
Wolfram Sang a6d37131c0 net: ethernet: renesas: ravb_main: test clock rate to avoid division by 0
The clk API may return 0 on clk_get_rate, so we should check the result before
using it as a divisor.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Acked-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-04-13 22:36:28 -04:00
..
Kconfig sh_eth, ravb: Use ARCH_RENESAS 2016-03-03 17:09:08 -05:00
Makefile Renesas Ethernet AVB PTP clock driver 2015-06-11 00:24:12 -07:00
ravb.h ravb: factor out register bit twiddling code 2016-02-10 05:38:12 -05:00
ravb_main.c net: ethernet: renesas: ravb_main: test clock rate to avoid division by 0 2016-04-13 22:36:28 -04:00
ravb_ptp.c ravb: factor out register bit twiddling code 2016-02-10 05:38:12 -05:00
sh_eth.c sh_eth: re-enable-E-MAC interrupts in sh_eth_set_ringparam() 2016-04-09 21:27:04 -04:00
sh_eth.h sh_eth: remove EDMAC_BIG_ENDIAN 2016-01-04 16:11:11 -05:00