]> 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)
commita8cbeaaadf89f6e8f50d456ece3e280ce55a5f8b
tree6fa91bc8b8148ee9e75dcddecdc2338de58c79b0
parentce120e3a0b489e9d8967f79d488a97fee85c65ab
genalloc: Fix a set of docs build warnings

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