Re: [PATCH] vdpa: solidrun: Free IRQs after request failure

Markus Elfring <[email protected]>
Newsgroups gmane.linux.kernel.virtualization,gmane.linux.kernel
Message-ID <[email protected]>
> Unwind any IRQs already requested by snet_request_irqs() before returning
> an error so a later retry starts from a clean state.

How good does a proposed snet_free_irqs(snet) call fit to previous devm_request_irq() calls?


I suggest to avoid duplicate exception handling code for affected cases.

Regards,
Markus
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.