diff options
author | Dennis Zhou <dennis@kernel.org> | 2020-10-30 20:40:21 +0000 |
---|---|---|
committer | Dennis Zhou <dennis@kernel.org> | 2020-10-30 23:02:28 +0000 |
commit | 61cf93d3e14a29288e4d5522aecb6e58268eec62 (patch) | |
tree | 854c2d392a1f1d066ba4dac3e33e7b3b3cc0c4e8 /include | |
parent | 29813a2297910d5c4be08c7b390054f23dd794a5 (diff) | |
download | linux-61cf93d3e14a29288e4d5522aecb6e58268eec62.tar.bz2 |
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: Gustavo A. R. Silva <gustavoars@kernel.org>
Signed-off-by: Dennis Zhou <dennis@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions