mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
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:
1 parent
c7e442938e
commit
920985c313
1 file changed
+3
-3
@@ -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 )
|
||||
{
|
||||
|
||||