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)
commitea83df73aaa3bded80e441d05ca2873c37f84e0a
tree6fa91bc8b8148ee9e75dcddecdc2338de58c79b0
parentcc84ac35d9fa3131179ed0805ddbd28bc5f262d6
genalloc: Fix a set of docs build warnings

Commit 795ee30648c7 ("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: 795ee30648c7 ("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