Skip to content
Commit e620a1e0 authored by Stephen Kitt's avatar Stephen Kitt Committed by Stephen Boyd
Browse files

drivers/clk: convert VL struct to struct_size



There are a few manually-calculated variable-length struct allocations
left, this converts them to use struct_size. Found with the following
git grep command

	git grep -A1 'kzalloc.*sizeof[^_].*+'

Signed-off-by: default avatarStephen Kitt <steve@sk2.org>
Link: https://lkml.kernel.org/r/20190927185110.29897-1-steve@sk2.org


Acked-by: default avatarGustavo A. R. Silva <gustavo@embeddedor.com>
[sboyd@kernel.org: Add grep command]
Signed-off-by: default avatarStephen Boyd <sboyd@kernel.org>
parent 54ecb8f7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment