On Fri, Aug 02, 2024 at 02:58:56PM +0100, Jonathan Cameron wrote: > On Fri, 29 Mar 2024 16:48:48 -0700 > Dan Williams <dan.j.williams@xxxxxxxxx> wrote: > > > When proposing that PCI grow some new cleanup helpers for pci_dev_put() > > and pci_dev_{lock,unlock} [1], Bjorn had some fundamental questions > > about expectations and best practices. Upon reviewing an updated > > changelog with those details he recommended adding them to documentation > > in the header file itself. > > > > Add that documentation and link it into the rendering for > > Documentation/core-api/. > > > > Link: http://lore.kernel.org/r/20240104183218.GA1820872@bhelgaas [1] > > Cc: Bjorn Helgaas <bhelgaas@xxxxxxxxxx> > > Cc: Ira Weiny <ira.weiny@xxxxxxxxx> > > Cc: Jesse Brandeburg <jesse.brandeburg@xxxxxxxxx> > > Cc: Ilpo Järvinen <ilpo.jarvinen@xxxxxxxxxxxxxxx> > > Cc: Lukas Wunner <lukas@xxxxxxxxx> > > Cc: Peter Zijlstra <peterz@xxxxxxxxxxxxx> > > Cc: Jonathan Corbet <corbet@xxxxxxx> > > Reviewed-by: Jonathan Cameron <Jonathan.Cameron@xxxxxxxxxx> > > Signed-off-by: Dan Williams <dan.j.williams@xxxxxxxxx> > > --- > > Changes since v2: > > * remove the unnecessary newlines around code examples further reducing > > the visual interruption of RST metadata (Jon) > > * Fix a missing FILO=>LIFO conversion > > * Fix a bug in the example > > * Collect Jonathan's reviewed-by > > > > Review has been quiet on this thread for a few days so I think is the > > final rev. Let me know if anything else to fix up. > > Would be good to either get more review, or this applied. > > Currently I'm pointing people at the email. Would much rather > point them at the upstream docs! > > Jon, would you consider picking this up? I suppose I can stick it in tip/locking/core, I think that's how we all ended up with this nonsense anyway :-)