mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-23 10:14:55 +00:00
Silence warning by casting vxintr to correct type
This commit is contained in:
parent
38acda90ba
commit
e7ece43271
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=42555
|
@ -126,7 +126,7 @@ vx_pci_attach(
|
|||
*/
|
||||
at_shutdown(vx_pci_shutdown, sc, SHUTDOWN_POST_SYNC);
|
||||
|
||||
pci_map_int(config_id, vxintr, (void *) sc, &net_imask);
|
||||
pci_map_int(config_id, (void (*)(void *)) vxintr, (void *) sc, &net_imask);
|
||||
}
|
||||
|
||||
static struct pci_device vxdevice = {
|
||||
|
|
|
@ -126,7 +126,7 @@ vx_pci_attach(
|
|||
*/
|
||||
at_shutdown(vx_pci_shutdown, sc, SHUTDOWN_POST_SYNC);
|
||||
|
||||
pci_map_int(config_id, vxintr, (void *) sc, &net_imask);
|
||||
pci_map_int(config_id, (void (*)(void *)) vxintr, (void *) sc, &net_imask);
|
||||
}
|
||||
|
||||
static struct pci_device vxdevice = {
|
||||
|
|
Loading…
Reference in a new issue