diff options
author | Naman Jain <namjain@linux.microsoft.com> | 2025-07-07 14:13:22 +0530 |
---|---|---|
committer | Wei Liu <wei.liu@kernel.org> | 2025-07-09 23:24:36 +0000 |
commit | b0871aa0f8df55dbf0aad55d2ab2100c23071b4b (patch) | |
tree | 8aac8e001e5e600a14e02b4ed1df7d26efd9f836 /scripts/lib/kdoc/kdoc_files.py | |
parent | 0d86a8d65c1e69610bfe1a7a774f71ff111ed8c1 (diff) |
Drivers: hv: Fix the check for HYPERVISOR_CALLBACK_VECTOR
__is_defined(HYPERVISOR_CALLBACK_VECTOR) would return 1, only if
HYPERVISOR_CALLBACK_VECTOR macro is defined as 1. However its value is
0xf3 and this leads to __is_defined() returning 0. The expectation
was to just check whether this MACRO is defined or not and get 1 if
it's defined. Replace __is_defined with #ifdef blocks instead to
fix it.
Fixes: 1dc5df133b98 ("Drivers: hv: vmbus: Get the IRQ number from DeviceTree")
Cc: stable@kernel.org
Signed-off-by: Naman Jain <namjain@linux.microsoft.com>
Reviewed-by: Roman Kisel <romank@linux.microsoft.com>
Link: https://lore.kernel.org/r/20250707084322.1763-1-namjain@linux.microsoft.com
Signed-off-by: Wei Liu <wei.liu@kernel.org>
Message-ID: <20250707084322.1763-1-namjain@linux.microsoft.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions