Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net: prestera: replace zero-length array with flexible-array member
One-element and zero-length arrays are deprecated and should be replaced with flexible-array members: https://www.kernel.org/doc/html/latest/process/deprecated.html#zero-length-and-one-element-arrays Replace zero-length array with flexible-array member and make use of the struct_size() helper. Link: KSPP/linux#78 Signed-off-by: José Expósito <jose.exposito89@gmail.com>
- Loading branch information