On Mon, Jul 07, 2025 at 10:58:03AM -0700, Roman Kisel wrote:
> 
> 
> On 7/7/2025 1:43 AM, Naman Jain wrote:
> > __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: [email protected]
> > Signed-off-by: Naman Jain <[email protected]>
> > ---
> 
> [...]
> 
> Appreciate fixing that! From what I learned from you, x86 was broken.
> Very likely I did a smoke test there only while focusing on arm64. Sorry
> about that, thanks again!!
> 
> LGTM.
> Reviewed-by: Roman Kisel <[email protected]
> 

Applied to hyperv-fixes. Thanks!


Reply via email to