Thread (20 messages) 20 messages, 4 authors, 2021-02-26

Re: [PATCH v4 1/4] PCI: Introduce pcim_alloc_irq_vectors()

From: Robert Richter <rric@kernel.org>
Date: 2021-02-22 11:01:28
Also in: linux-i2c, linux-pci, lkml

On 19.02.21 17:15:50, Krzysztof Wilczyński wrote:
Hi Robert,

[...]
quoted
Obiously this is meant here:

	if (!pci_is_managed(dev))
[...]

A question to improve my understanding for future reference.  Was the
previous approach of checking for "enabled" flag from struct pci_devres
was not a good choice here?
Initially this was meant to just show the idea.

After careful review I don't see this additional check is required as
once the pci dev is managed, it will be always released with
pcim_release().

-Robert
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help