diff options
author | stephen hemminger <stephen@networkplumber.org> | 2017-05-19 09:55:48 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-05-21 13:42:33 -0400 |
commit | 332b4fc88698dd0429924a61e09d1734940d80a0 (patch) | |
tree | e29c977e352c95359ad319e168e5853e9adc2455 /tools/perf/perf.h | |
parent | dae37055f475a369f7433360e246afbdccd22ff6 (diff) |
dcb: enforce minimum length on IEEE_APPS attribute
Found by reviewing the warning about unused policy table.
The code implies that it meant to check for size, but since
it unrolled the loop for attribute validation that is never used.
Instead do explicit check for attribute.
Compile tested only. Needs review by original author.
Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/perf.h')
0 files changed, 0 insertions, 0 deletions