summaryrefslogtreecommitdiff
path: root/drivers/dio/Makefile
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavo@embeddedor.com>2018-12-23 23:50:58 -0600
committerStephen Boyd <sboyd@kernel.org>2019-01-09 10:37:01 -0800
commit4f340efcb21220b7a0afcea3884e66f79e6f2306 (patch)
tree1ca057f607ae723bee9f58d485d445e9c9316de3 /drivers/dio/Makefile
parentd39eca547f3ec67140a5d765a426eb157b978a59 (diff)
downloadlinux-4f340efcb21220b7a0afcea3884e66f79e6f2306.tar.gz
clk: zynqmp: Fix memory allocation in zynqmp_clk_setup
Fix memory allocation and use struct_size() in kzalloc(). This also fixes the allocation size to be correct, and smaller, because before we were allocating a bunch of sizeof(struct clk_hw_onecell_data) structures for each struct clk_hw we needed. Fixes: 3fde0e16d016 ("drivers: clk: Add ZynqMP clock driver") Cc: stable@vger.kernel.org Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com> Acked-by: Michal Simek <michal.simek@xilinx.com> [sboyd@kernel.org: Expand commit text] Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/dio/Makefile')
0 files changed, 0 insertions, 0 deletions