mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-24 03:35:07 +07:00
4f340efcb2
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:
|
||
---|---|---|
.. | ||
clk-gate-zynqmp.c | ||
clk-mux-zynqmp.c | ||
clk-zynqmp.h | ||
clkc.c | ||
divider.c | ||
Kconfig | ||
Makefile | ||
pll.c |