diff options
author | 2024-09-14 12:57:28 +0300 | |
---|---|---|
committer | 2024-09-15 08:30:21 -0700 | |
commit | 75834577c0870c9087274f015887b6f4106b3a24 (patch) | |
tree | 431fead3defd86c77bfd3005eb3a4171f1b96867 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net: ethernet: fs_enet: Make the per clock optional (diff) | |
download | linux-rng-75834577c0870c9087274f015887b6f4106b3a24.tar.xz linux-rng-75834577c0870c9087274f015887b6f4106b3a24.zip |
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 <dan.carpenter@linaro.org>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/7f7aeb91-8771-47b8-9275-9d9f64f947dd@stanley.mountain
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