summaryrefslogtreecommitdiffstats
path: root/block/Makefile
diff options
context:
space:
mode:
authorEmilio López <emilio@elopez.com.ar>2014-01-25 02:32:41 +0100
committerMike Turquette <mturquette@linaro.org>2014-01-27 21:28:23 +0100
commitd1933689aa9ce2e07fe9e7e2ff77358f8bb11864 (patch)
treeec8199bbfd812cf7b144d6df6c8408a34c462c48 /block/Makefile
parentclk: Export more clk-provider functions (diff)
downloadlinux-d1933689aa9ce2e07fe9e7e2ff77358f8bb11864.tar.xz
linux-d1933689aa9ce2e07fe9e7e2ff77358f8bb11864.zip
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>
Diffstat (limited to 'block/Makefile')
0 files changed, 0 insertions, 0 deletions