[lvc-project] [PATCH 2/2] [v3] wifi: brcmfmac: handle possible PCIE irq handling errors
Arend Van Spriel
arend.vanspriel at broadcom.com
Wed Jan 24 10:03:17 MSK 2024
On January 24, 2024 7:22:58 AM Dmitry Antipov <dmantipov at yandex.ru> wrote:
> On 1/22/24 21:20, Bjorn Helgaas wrote:
>
>> If you have occasion to update this, possibly s/PCIE/PCI/ in the
>> subject, since this is generic to PCI and PCIe.
>
> OK. BTW if we're touching this anyway, shouldn't we hook into the generic
> device
> framework and switch to devm_request_threaded_irq()/devm_free_irq() as well?
Hi Dmitry,
Those are not generic device functions. They create device managed resource
so devm_free_irq() is implicitly invoked upon device detach. So replacing
free_irq() with devm_free_irq() is not very meaningful. There are some
devm_*() usages in the driver, but it's not used commonly. However, feel
free to add it.
Regards,
Arend
> Dmitry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4219 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://linuxtesting.org/pipermail/lvc-project/attachments/20240124/6d8bd1fc/attachment.bin>
More information about the lvc-project
mailing list