diff options
author | Chuck Lever <[email protected]> | 2023-05-11 11:48:13 -0400 |
---|---|---|
committer | David S. Miller <[email protected]> | 2023-05-12 09:24:07 +0100 |
commit | 7301034026d0efe0e86af0cb685405da120583d4 (patch) | |
tree | 007c2322fe7106b8ebb458ae122b2e11e05abb1a /tools/perf/scripts/python/stat-cpi.py | |
parent | 2200c1a87074548f0a36e5aae5ad283ce2ac43b2 (diff) |
net/handshake: Fix uninitialized local variable
trace_handshake_cmd_done_err() simply records the pointer in @req,
so initializing it to NULL is sufficient and safe.
Reported-by: Dan Carpenter <[email protected]>
Fixes: 3b3009ea8abb ("net/handshake: Create a NETLINK service for handling handshake requests")
Reviewed-by: Simon Horman <[email protected]>
Signed-off-by: Chuck Lever <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions