aboutsummaryrefslogtreecommitdiffstats
path: root/lib/assoc_array.c
diff options
context:
space:
mode:
authorWolfram Sang <[email protected]>2016-03-02 22:33:32 +0000
committerDavid S. Miller <[email protected]>2016-03-20 20:59:27 +0000
commit0d7ef45cdeebcc95d581703f45f6de7b2ee89b8d (patch)
treef79b4359d7bc5cccb5c468ad482d88eb64eeb4e0 /lib/assoc_array.c
parentide: icside: remove incorrect initconst annotation (diff)
downloadkernel-0d7ef45cdeebcc95d581703f45f6de7b2ee89b8d.tar.gz
kernel-0d7ef45cdeebcc95d581703f45f6de7b2ee89b8d.zip
ide: palm_bk3710: 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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/assoc_array.c')
0 files changed, 0 insertions, 0 deletions