aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2020-10-29 12:32:20 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-11-04 16:43:38 +0100
commit6dee84d6bed747653914298a8913e91391a2ce10 (patch)
tree60251b547f5e5cc16944b63722fce3e9202e686c /tools/perf/scripts/python/netdev-times.py
parentvt: keyboard, union perm checks in vt_do_kdgkb_ioctl (diff)
downloadlinux-6dee84d6bed747653914298a8913e91391a2ce10.tar.gz
linux-6dee84d6bed747653914298a8913e91391a2ce10.zip
vt: keyboard, make HW_RAW a function
Instead of a multiline macro, convert HW_RAW to an inline function. It allows for type checking of the parameter. And given we split the code into two tests, it is now more readable too. Signed-off-by: Jiri Slaby <jslaby@suse.cz> Link: https://lore.kernel.org/r/20201029113222.32640-15-jslaby@suse.cz Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions