aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorVladimir Oltean <[email protected]>2023-04-02 15:37:49 +0300
committerDavid S. Miller <[email protected]>2023-04-03 10:04:26 +0100
commit00d521b39307c3232bdc685c2e9fd82ed973ac24 (patch)
treeec613d66578dd481813d9444d9b7d56b8aa73c52 /tools/perf/scripts/python/bin
parent51aaa68222d6c34f0373cf95223ce2f230329e8f (diff)
net: don't abuse "default" case for unknown ioctl in dev_ifsioc()
The "switch (cmd)" block from dev_ifsioc() gained a bit too much unnecessary manual handling of "cmd" in the "default" case, starting with the private ioctls. Clean that up by using the "ellipsis" gcc extension, adding separate cases for the rest of the ioctls, and letting the default case only return -EINVAL. Signed-off-by: Vladimir Oltean <[email protected]> Reviewed-by: Florian Fainelli <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions