summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2024-08-12 22:29:39 +0300
committerThomas Gleixner <tglx@linutronix.de>2024-08-13 11:40:09 +0300
commitc0ece64497992473aabbcbb007e2afecc8d750a2 (patch)
tree789929816b48794e2b136c4e2597884aa0ffd09c /tools/perf/scripts/python/syscall-counts.py
parent46c3e31cb0f805f8329756b3d6fc2809839f172e (diff)
downloadlinux-c0ece64497992473aabbcbb007e2afecc8d750a2.tar.xz
irqdomain: Clarify checks for bus_token
The code uses if (bus_token) and if (bus_token == DOMAIN_BUS_ANY). Since bus_token is an enum, the latter is more robust against changes. Convert all !bus_token checks to explicitely check for DOMAIN_BUS_ANY. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lore.kernel.org/all/20240812193101.1266625-2-andriy.shevchenko@linux.intel.com
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions