> On Jan 6, 1:19am, matthew green wrote: > } > } would device_lookup() and device_lookup_private() take a reference > } on this count automatically? or maybe some new API that does it, > } to avoid the need to audit every driver at once. > > What would release the reference in that case? Or, would the > count just keep incrementing thus preventing the driver from detaching > until it is audited?
right. that's why the new API to switch to on a per-device basis would help avoid an all-drivers-at-once audit. .mrg.
