summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2023-10-23 08:23:43 -0700
committerJakub Kicinski <kuba@kernel.org>2023-10-24 13:02:58 -0700
commit9a810468126c846299d867f73dd7053064c29be1 (patch)
tree2fcbc80d2c1a3e3bdab9a1f9d3b62d836719c5b0 /tools/perf/scripts/python/export-to-postgresql.py
parent556c755a4d8143007c745b6ad894611a04173b53 (diff)
net: reduce indentation of __dev_alloc_name()
All callers of __dev_valid_name() go thru dev_prep_valid_name() which handles the non-printf case. Focus __dev_alloc_name() on the sprintf case, remove the indentation level. Minor functional change of returning -EINVAL if % is not found, which should now never happen. Reviewed-by: Jiri Pirko <jiri@nvidia.com> Link: https://lore.kernel.org/r/20231023152346.3639749-4-kuba@kernel.org 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