linux_dsm_epyc7002/drivers/clk/sunxi
Emilio López d1933689aa clk: sunxi: fix overflow when setting up divided factors
Currently, we are allocating space for two pointers, when we actually
may need to store three of them (two divisors plus the original clock).
Fix this, and change sizeof(type) to sizeof(*var) to keep checkpatch.pl
happy.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Emilio López <emilio@elopez.com.ar>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
2014-01-27 12:28:23 -08:00
..
clk-factors.c clk: sunxi: register factors clocks behind composite 2013-12-28 17:07:42 -03:00
clk-factors.h clk: sunxi: register factors clocks behind composite 2013-12-28 17:07:42 -03:00
clk-sunxi.c clk: sunxi: fix overflow when setting up divided factors 2014-01-27 12:28:23 -08:00
Makefile clk: arm: sunxi: Add a new clock driver for sunxi SOCs 2013-03-27 08:35:34 -07:00