Commit 60b4925
PCI/VGA: Correct vga_update_device_decodes() parameter type
Previously vga_update_device_decodes() took "int new_decodes", but the
callers pass "unsigned int new_decodes". Correct the
vga_update_device_decodes() parameter type to "unsigned int" to match.
In vga_arbiter_notify_clients(), the return from vgadev->set_decode() is
"unsigned int" but was stored as "uint32_t new_decodes". Correct the
new_decodes type to "unsigned int".
[bhelgaas: use correct type for ->set_decode() return, commit log]
Link: https://lore.kernel.org/r/20230808223412.1743176-5-sui.jingfeng@linux.dev
Signed-off-by: Sui Jingfeng <suijingfeng@loongson.cn>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>1 parent 04c1c3c commit 60b4925
1 file changed
Lines changed: 12 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
864 | 864 | | |
865 | 865 | | |
866 | 866 | | |
867 | | - | |
868 | | - | |
869 | | - | |
| 867 | + | |
| 868 | + | |
| 869 | + | |
870 | 870 | | |
871 | 871 | | |
872 | | - | |
| 872 | + | |
| 873 | + | |
| 874 | + | |
873 | 875 | | |
874 | | - | |
875 | | - | |
876 | | - | |
877 | 876 | | |
878 | 877 | | |
879 | | - | |
880 | | - | |
881 | | - | |
882 | | - | |
| 878 | + | |
| 879 | + | |
| 880 | + | |
| 881 | + | |
883 | 882 | | |
884 | | - | |
| 883 | + | |
885 | 884 | | |
886 | 885 | | |
887 | 886 | | |
| |||
1472 | 1471 | | |
1473 | 1472 | | |
1474 | 1473 | | |
1475 | | - | |
| 1474 | + | |
1476 | 1475 | | |
1477 | 1476 | | |
1478 | 1477 | | |
| |||
0 commit comments