]> git.baikalelectronics.ru Git - kernel.git/commit
genalloc: Fix a set of docs build warnings
authorJonathan Corbet <corbet@lwn.net>
Thu, 3 Oct 2019 18:40:30 +0000 (12:40 -0600)
committerJonathan Corbet <corbet@lwn.net>
Mon, 7 Oct 2019 15:10:38 +0000 (09:10 -0600)
commit6fd40dac0edbe8298ccf12fa302173310519f4d6
tree6fa91bc8b8148ee9e75dcddecdc2338de58c79b0
parentf35bf9b0553e98ee057a1d6405f72063a593c247
genalloc: Fix a set of docs build warnings

Commit 390edba3c7ec ("lib/genalloc: introduce chunk owners") made a number
of changes to the genalloc API and implementation but did not update the
documentation to match, leading to these docs build warnings:

  ./lib/genalloc.c:1: warning: 'gen_pool_add_virt' not found
  ./lib/genalloc.c:1: warning: 'gen_pool_alloc' not found
  ./lib/genalloc.c:1: warning: 'gen_pool_free' not found
  ./lib/genalloc.c:1: warning: 'gen_pool_alloc_algo' not found

Fix these by updating the docs to match new function locations and names,
and by completing the update of one kerneldoc comment.

Fixes: 390edba3c7ec ("lib/genalloc: introduce chunk owners")
Acked-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/core-api/genalloc.rst
lib/genalloc.c