summaryrefslogtreecommitdiff
path: root/drivers/ata/ahci_imx.c
diff options
context:
space:
mode:
authorEdward Cree <ecree@solarflare.com>2016-08-17 18:00:10 +0300
committerDavid S. Miller <davem@davemloft.net>2016-08-19 09:28:22 +0300
commitc7b256f998f6d00d4548090aa16fb34e005828c1 (patch)
tree88cf8546394cdd83551388bdc376b5c875510cbc /drivers/ata/ahci_imx.c
parentdca0aaf8472f15836a68bbed8a0ef9ea39e783aa (diff)
downloadlinux-c7b256f998f6d00d4548090aa16fb34e005828c1.tar.xz
sfc: avoid division by zero
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 <ecree@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/ata/ahci_imx.c')
0 files changed, 0 insertions, 0 deletions