aboutsummaryrefslogtreecommitdiffstats
path: root/net/sched/cls_api.c
diff options
context:
space:
mode:
authorIdo Schimmel <[email protected]>2020-04-24 15:43:45 +0000
committerDavid S. Miller <[email protected]>2020-04-24 22:41:51 +0000
commit4780dbdbd957c204b62680161f39bb0bc4daf3a0 (patch)
tree6837e200de06d59c71129382677e0d590cc24ef6 /net/sched/cls_api.c
parentmlxsw: spectrum_span: Use 'refcount_t' for reference counting (diff)
downloadkernel-4780dbdbd957c204b62680161f39bb0bc4daf3a0.tar.gz
kernel-4780dbdbd957c204b62680161f39bb0bc4daf3a0.zip
mlxsw: spectrum_span: Replace zero-length array with flexible-array member
In a similar fashion to commit e99f8e7f88b5 ("mlxsw: Replace zero-length array with flexible-array member"), use a flexible-array member to get a compiler warning in case the flexible array does not occur last in the structure. Signed-off-by: Ido Schimmel <[email protected]> Reviewed-by: Jiri Pirko <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/sched/cls_api.c')
0 files changed, 0 insertions, 0 deletions