x86/vpic: rename irq to pin in vpic_ioport_write
authorRoger Pau Monné <roger.pau@citrix.com>
Mon, 24 Aug 2020 13:36:44 +0000 (15:36 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 24 Aug 2020 13:36:44 +0000 (15:36 +0200)
commite8f9d219657d28d3403660f70156c2a20cbbb4bb
treeb8f195251cb4c21261d520d8075471baf5b9d47e
parent888dd66ea65688f2257ed01d509087fc3a97dcae
x86/vpic: rename irq to pin in vpic_ioport_write

The irq variable is wrongly named, as it's used to store the pin on
the 8259 chip, but not the global irq value. While renaming reduce
it's scope and make it unsigned.

No functional change intended.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/hvm/vpic.c