summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMatt Johnston <matt@codeconstruct.com.au>2022-02-25 08:39:38 +0300
committerJakub Kicinski <kuba@kernel.org>2022-02-26 09:23:33 +0300
commit33f5d1a9d9707d1c9ab227aadd9498664e0442e4 (patch)
tree741fe270dd693a65429a4c68c414209c3ed0d440 /tools/perf/scripts/python/export-to-postgresql.py
parent06bf1ce69d55729dc132d423d626398254fedc58 (diff)
downloadlinux-33f5d1a9d9707d1c9ab227aadd9498664e0442e4.tar.xz
mctp i2c: Fix hard head TX bounds length check
We should be testing the length before fitting into the u8 byte_count. This is just a sanity check, the MCTP stack should have limited to MTU which is checked, and we check consistency later in mctp_i2c_xmit(). Found by Smatch mctp_i2c_header_create() warn: impossible condition '(hdr->byte_count > 255) => (0-255 > 255)' Signed-off-by: Matt Johnston <matt@codeconstruct.com.au> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions