On Tue, Aug 04, 2015 at 06:42:04AM -0700, Tadeusz Struk wrote:
On 08/04/2015 06:32 AM, Herbert Xu wrote:
quoted
What if someone calls adf_remove? For a software implementation
you can prevent the algorithm from going away by holding module
reference counts. But a device can always be removed and you're
not going to stop that no matter how many reference counts you
hold :)
No way! It is defined as static ;)
It's exported as a PCI device, no? PCI devices can be removed
at any time through sysfs.
Cheers,
--
Email: Herbert Xu [off-list ref]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt