Re: [PATCH v4] char: xillybus: Replace deprecated MSI API
From: Greg Kroah-Hartman
Date: Sun Jul 20 2025 - 05:07:57 EST
On Sun, Jul 20, 2025 at 09:56:29AM +0100, Salah Triki wrote:
> On Sun, Jul 20, 2025 at 10:33:47AM +0200, Greg Kroah-Hartman wrote:
> >
> > This says what you are doing, but not _WHY_ you are doing it.
> >
>
> I did the replacement because pci_enable_msi() is deprecated, isn't that
> enough ?
If it was a simple search/replace, why wouldn't have been done already?
Again, you need to prove why this is ok at all. pci_enable_msi()
shouldn't be used in new drivers, but what's wrong with it being in
existing drivers? Especially in ones that you can't test to verify it
still works after changing the code?
thanks,
greg k-h