aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-ti.c
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavoars@kernel.org>2020-08-31 08:25:42 -0500
committerGustavo A. R. Silva <gustavoars@kernel.org>2020-10-29 17:22:59 -0500
commit4739eeafb9f0c45795407b3eb477dfcb2119f75b (patch)
treefe117ffec2d2d9a395491236214cb707fee19efd /drivers/usb/cdns3/cdns3-ti.c
parentbfe124d197f61af632b9f3f4c2c0579bd7848448 (diff)
ima: Replace zero-length array with flexible-array member
There is a regular need in the kernel to provide a way to declare having a dynamically sized set of trailing elements in a structure. Kernel code should always use “flexible array members”[1] for these cases. The older style of one-element or zero-length arrays should no longer be used[2]. [1] https://en.wikipedia.org/wiki/Flexible_array_member [2] https://www.kernel.org/doc/html/v5.9-rc1/process/deprecated.html#zero-length-and-one-element-arrays Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-ti.c')
0 files changed, 0 insertions, 0 deletions