diff options
author | Simon Horman <[email protected]> | 2024-08-13 15:32:55 +0100 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2024-08-14 20:36:16 -0700 |
commit | ffff7ee843c351ce71d6e0d52f0f20bea35e18c9 (patch) | |
tree | d6d7d066bead7e34178096cb32d1a968649ec138 /tools/perf/scripts/python/compaction-times.py | |
parent | 2984e69a24affc8e5624069b7bb44593e09037e8 (diff) |
bnxt_en: Extend maximum length of version string by 1 byte
This corrects an out-by-one error in the maximum length of the package
version string. The size argument of snprintf includes space for the
trailing '\0' byte, so there is no need to allow extra space for it by
reducing the value of the size argument by 1.
Found by inspection.
Compile tested only.
Signed-off-by: Simon Horman <[email protected]>
Reviewed-by: Michael Chan <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions