diff options
author | Bill Wendling <morbo@google.com> | 2022-03-21 05:31:55 +0300 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2022-03-22 12:34:31 +0300 |
commit | 4723832fa63f30c85cce3739b0497e4e193f684b (patch) | |
tree | e78bc9380ba770dfc5e41900f93efda0f8fb8fa7 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | aa80511a93dbab1fb362ab414acc665a319c6522 (diff) | |
download | linux-4723832fa63f30c85cce3739b0497e4e193f684b.tar.xz |
bnx2x: truncate value to original sizing
The original behavior was to print out unsigned short or unsigned char
values. The change in commit d65aea8e8298 ("bnx2x: use correct format
characters") prints out the whole value if not truncated. So truncate
the value to an unsigned {short|char} to retain the original behavior.
Fixes: d65aea8e8298 ("bnx2x: use correct format characters")
Link: https://github.com/ClangBuiltLinux/linux/issues/378
Signed-off-by: Bill Wendling <morbo@google.com>
Link: https://lore.kernel.org/r/20220321023155.106066-1-morbo@google.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions