aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorGal Pressman <[email protected]>2023-01-19 14:09:00 +0200
committerSaeed Mahameed <[email protected]>2023-02-07 16:29:55 -0800
commit1e985a8d887cd0b25541ba977db171be47cf575d (patch)
treeea12297fc62fb49601a1a81f90183ec5389757b8 /tools/perf/scripts/python
parentafae6254c5ea710cdc0f6d0a16acbf55cbda3bfb (diff)
net/mlx5e: Remove incorrect debugfs_create_dir NULL check in TLS
Remove the NULL check on debugfs_create_dir() return value as the function returns an ERR pointer on failure, not NULL. The check is not replaced with a IS_ERR_OR_NULL() as debugfs_create_file(), and debugfs functions in general don't need error checking. Fixes: 0fedee1ae9ef ("net/mlx5e: kTLS, Add debugfs") Reported-by: Dan Carpenter <[email protected]> Signed-off-by: Gal Pressman <[email protected]> Reviewed-by: Tariq Toukan <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions