On 02-Sep-26 08:32, Jan Beulich wrote: > We want to patch the original call site, which memory-wise is unrelated > to the struct alt_instr * that we start from. > > No functional change intended. > > Signed-off-by: Jan Beulich <[email protected]> > > --- a/xen/arch/arm/alternative.c > +++ b/xen/arch/arm/alternative.c > @@ -134,7 +134,7 @@ static int __apply_alternatives(const st > BUG_ON(alt->repl_len != alt->orig_len); > > origptr = ALT_ORIG_PTR(alt); > - updptr = (void *)origptr + update_offset; > + updptr = (void *)(long)origptr + update_offset; NIT: Why long and not unsigned long like other places in this file? Reviewed-by: Michal Orzel <[email protected]> ~Michal
- [PATCH 00/14] address half the remaining Misra rule 11.8 ... Jan Beulich
- [PATCH 04/14] x86/boot: don't cast away const-ness Jan Beulich
- Re: [PATCH 04/14] x86/boot: don't cast away cons... Roger Pau Monné
- [PATCH 05/14] x86/altcall: hide casting away of cons... Jan Beulich
- Re: [PATCH 05/14] x86/altcall: hide casting away... Roger Pau Monné
- [PATCH 06/14] Arm/alternative: hide casting away of ... Jan Beulich
- Re: [PATCH 06/14] Arm/alternative: hide casting ... Orzel, Michal
- Re: [PATCH 06/14] Arm/alternative: hide cast... Jan Beulich
- [PATCH 08/14] Arm/guestcopy: deviate copy_guest() us... Jan Beulich
- Re: [PATCH 08/14] Arm/guestcopy: deviate copy_gu... Orzel, Michal
- Re: [PATCH 08/14] Arm/guestcopy: deviate copy_gu... Nicola Vetrini
- Re: [PATCH 08/14] Arm/guestcopy: deviate cop... Jan Beulich
- [PATCH 12/14] gnttab: don't cast away constness Jan Beulich
- Re: [PATCH 12/14] gnttab: don't cast away constn... Roger Pau Monné
- Re: [PATCH 12/14] gnttab: don't cast away co... Jan Beulich
- Re: [PATCH 12/14] gnttab: don't cast awa... Jan Beulich
- [PATCH 13/14] passthrough/PCI: rework (s,b,d,f) init... Jan Beulich
