Skip to content
Commit 61cf93d3 authored by Dennis Zhou's avatar Dennis Zhou
Browse files

percpu: convert flexible array initializers to use struct_size()

Use the safer macro as sparked by the long discussion in [1].

[1] https://lore.kernel.org/lkml/20200917204514.GA2880159@google.com/



Reviewed-by: default avatarGustavo A. R. Silva <gustavoars@kernel.org>
Signed-off-by: default avatarDennis Zhou <dennis@kernel.org>
parent 29813a22
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment