Re: [PATCH net-next] sfc: avoid division by zero

2016-08-18 Thread David Miller
From: Edward Cree Date: Wed, 17 Aug 2016 16:00:10 +0100 > The division is already being done properly in efx_ef10_get_timer_config > which returns zero-on-success, unlike the old efx_ef10_get_sysclk_freq. > > Fixes: d95e329a55ba ("sfc: get timer configuration from adapter") > Signed-off-by: Edwa

[PATCH net-next] sfc: avoid division by zero

2016-08-17 Thread Edward Cree
The division is already being done properly in efx_ef10_get_timer_config which returns zero-on-success, unlike the old efx_ef10_get_sysclk_freq. Fixes: d95e329a55ba ("sfc: get timer configuration from adapter") Signed-off-by: Edward Cree --- drivers/net/ethernet/sfc/ef10.c | 1 - 1 file changed,