diff options
author | Russell King (Oracle) <[email protected]> | 2022-10-21 16:09:43 +0100 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2022-10-24 21:05:54 -0700 |
commit | 02eaf5a79100468425fae2d0baf144b6068fc4cc (patch) | |
tree | 25461860b2fb53efabf74a6896f2bb235ae76603 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | a272bcb9e5ef0cce6bbfe52e52c9fc69bb90e1ca (diff) |
net: sfp: check firmware provided max power
Check that the firmware provided maximum power is at least 1W, which
is the minimum power level for any SFP module.
Now that we enforce the minimum of 1W, we can exit early from
sfp_module_parse_power() if the module power is 1W or less.
Signed-off-by: Russell King (Oracle) <[email protected]>
Reviewed-by: Andrew Lunn <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions