summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2019-11-14 21:07:12 -0800
committerDavid S. Miller <davem@davemloft.net>2019-11-16 12:50:57 -0800
commit2c855d73f2f6107f5b8ebc45f8b934bf7f4419e0 (patch)
tree89c0f3214308c9bc3379b560cf3b6cc847d9b1ea /tools/perf/scripts/python/export-to-postgresql.py
parent86c1fe8857afb379522fd8dabce9d348672c31c1 (diff)
bnx2x: Remove read_status_t function casts
The function casts for .read_status callbacks end up casting some int return values to u8. This seems to be bug-prone (-EINVAL being returned into something that appears to be true/false), but fixing the function prototypes doesn't change the existing behavior. Fix the return values to remove the casts. Signed-off-by: Kees Cook <keescook@chromium.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions