PCI/VGA: Correct vga_str_to_iostate() io_state parameter type
authorSui Jingfeng <suijingfeng@loongson.cn>
Tue, 8 Aug 2023 22:34:02 +0000 (06:34 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 23 Aug 2023 22:19:04 +0000 (17:19 -0500)
commit04c1c3c4e62a22b424c07d8b03ca6f6aac2dfa7f
treebdca60954d0304aba545690f252bbbed0b18f0b2
parent06c2afb862f9da8dc5efa4b6076a0e48c3fbaaa5
PCI/VGA: Correct vga_str_to_iostate() io_state parameter type

Previously vga_str_to_iostate() took "int *io_state", but vga_arb_write()
is the only caller and it passes "unsigned int *".  Make the
vga_str_to_iostate() parameter type "unsigned int *" to match.

[bhelgaas: commit log]
Link: https://lore.kernel.org/r/20230808223412.1743176-2-sui.jingfeng@linux.dev
Signed-off-by: Sui Jingfeng <suijingfeng@loongson.cn>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/pci/vgaarb.c