Commits
![Emilio López](https://secure.gravatar.com/avatar/9d1866d6e1550810098e93bb86d590f4.jpg?s=96&d=mm)
Emilio López committed d1933689aa9
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>