x86/guest: rename a local variable

... shadowing a file scope one, thuis violating Misra C:2012 rule 5.3
("An identifier declared in an inner scope shall not hide an identifier
declared in an outer scope"). No difference in generated code.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Nicola Vetrini <nicola.vetrini@bugseng.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
This commit is contained in:
Jan Beulich committed 2026-05-18 09:00:23 +02:00
1 parent c7e442938e
commit 920985c313
1 file changed
+3 -3
+3 -3
View File
@@ -203,11 +203,11 @@ static void __init init_memmap(void)
static void cf_check xen_evtchn_upcall(void)
{
struct vcpu_info *vcpu_info = this_cpu(vcpu_info);
struct vcpu_info *vi = this_cpu(vcpu_info);
unsigned long pending;
vcpu_info->evtchn_upcall_pending = 0;
pending = xchg(&vcpu_info->evtchn_pending_sel, 0);
vi->evtchn_upcall_pending = 0;
pending = xchg(&vi->evtchn_pending_sel, 0);
while ( pending )
{
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.