aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2024-09-14 12:57:28 +0300
committerJakub Kicinski <[email protected]>2024-09-15 08:30:21 -0700
commit75834577c0870c9087274f015887b6f4106b3a24 (patch)
tree431fead3defd86c77bfd3005eb3a4171f1b96867 /tools/perf/util/scripting-engines/trace-event-python.c
parentc209847b8974d2d5e784e3105d4683835673b18d (diff)
ice: Fix a couple NULL vs IS_ERR() bugs
The ice_repr_create() function returns error pointers. It never returns NULL. Fix the callers to check for IS_ERR(). Fixes: 977514fb0fa8 ("ice: create port representor for SF") Fixes: 415db8399d06 ("ice: make representor code generic") Signed-off-by: Dan Carpenter <[email protected]> Reviewed-by: Simon Horman <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions