aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorJakub Kicinski <[email protected]>2023-10-23 08:23:43 -0700
committerJakub Kicinski <[email protected]>2023-10-24 13:02:58 -0700
commit9a810468126c846299d867f73dd7053064c29be1 (patch)
tree2fcbc80d2c1a3e3bdab9a1f9d3b62d836719c5b0 /tools/perf/scripts/python/event_analyzing_sample.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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions