Message ID | 20230613030151.216625-2-15330273260@189.cn (mailing list archive) |
---|---|
State | Accepted |
Commit | 04c1c3c4e62a22b424c07d8b03ca6f6aac2dfa7f |
Delegated to: | Bjorn Helgaas |
Headers | show |
Series | PCI/VGA: Introduce is_boot_device function callback to vga_client_register | expand |
diff --git a/drivers/pci/vgaarb.c b/drivers/pci/vgaarb.c index 5a696078b382..c1bc6c983932 100644 --- a/drivers/pci/vgaarb.c +++ b/drivers/pci/vgaarb.c @@ -77,7 +77,7 @@ static const char *vga_iostate_to_str(unsigned int iostate) return "none"; } -static int vga_str_to_iostate(char *buf, int str_size, int *io_state) +static int vga_str_to_iostate(char *buf, int str_size, unsigned int *io_state) { /* we could in theory hand out locks on IO and mem * separately to userspace but it can cause deadlocks */