Re: Declare i386's pci_intr_map_msix() as function

2020-03-20 Thread Mark Kettenis
> Date: Fri, 20 Mar 2020 12:50:58 +0100 > From: Martin Pieuchot > > On 20/03/20(Fri) 12:01, Mark Kettenis wrote: > > > Date: Fri, 20 Mar 2020 11:54:59 +0100 > > > From: Martin Pieuchot > > > > > > As explained in my recent ix(4) diff, using a define when an arch > > > doesn't support a given

Re: Declare i386's pci_intr_map_msix() as function

2020-03-20 Thread Martin Pieuchot
On 20/03/20(Fri) 12:01, Mark Kettenis wrote: > > Date: Fri, 20 Mar 2020 11:54:59 +0100 > > From: Martin Pieuchot > > > > As explained in my recent ix(4) diff, using a define when an arch > > doesn't support a given function makes the compiler complain that > > the arguments are unused: > > > >

Re: Declare i386's pci_intr_map_msix() as function

2020-03-20 Thread Mark Kettenis
> Date: Fri, 20 Mar 2020 11:54:59 +0100 > From: Martin Pieuchot > > As explained in my recent ix(4) diff, using a define when an arch > doesn't support a given function makes the compiler complain that > the arguments are unused: > > /sys/dev/pci/if_ix.c:1789:21: error: unused variable

Declare i386's pci_intr_map_msix() as function

2020-03-20 Thread Martin Pieuchot
As explained in my recent ix(4) diff, using a define when an arch doesn't support a given function makes the compiler complain that the arguments are unused: /sys/dev/pci/if_ix.c:1789:21: error: unused variable 'dummy' [-Werror,-Wunused-variable] pci_intr_handle_t