diff options
author | 2024-08-12 22:29:39 +0300 | |
---|---|---|
committer | 2024-08-13 10:40:09 +0200 | |
commit | c0ece64497992473aabbcbb007e2afecc8d750a2 (patch) | |
tree | 789929816b48794e2b136c4e2597884aa0ffd09c /lib/irq_poll.c | |
parent | Merge tag 'irq-domain-24-08-09' into irq/core (diff) | |
download | wireguard-linux-c0ece64497992473aabbcbb007e2afecc8d750a2.tar.xz wireguard-linux-c0ece64497992473aabbcbb007e2afecc8d750a2.zip |
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 'lib/irq_poll.c')
0 files changed, 0 insertions, 0 deletions