diff options
author | 2020-10-30 20:40:21 +0000 | |
---|---|---|
committer | 2020-10-30 23:02:28 +0000 | |
commit | 61cf93d3e14a29288e4d5522aecb6e58268eec62 (patch) | |
tree | 854c2d392a1f1d066ba4dac3e33e7b3b3cc0c4e8 /drivers/usb/cdns3/cdns3-imx.c | |
parent | asm-generic: percpu: avoid Wshadow warning (diff) | |
download | linux-dev-61cf93d3e14a29288e4d5522aecb6e58268eec62.tar.xz linux-dev-61cf93d3e14a29288e4d5522aecb6e58268eec62.zip |
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 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions