docs/core-api: memory-allocation: mention size helpers
authorChris Packham <chris.packham@alliedtelesis.co.nz>
Thu, 24 Oct 2019 19:50:16 +0000 (08:50 +1300)
committerJonathan Corbet <corbet@lwn.net>
Tue, 29 Oct 2019 10:45:40 +0000 (04:45 -0600)
commit1c16b3d58681b583157a1b74c4c4dd96a08f5931
tree7d6cbcc5cc8712cd9b1208fcc5abd0a8de5e5d84
parent094ef1c9fbeac0e4404d66a053ace6d909386507
docs/core-api: memory-allocation: mention size helpers

Mention struct_size(), array_size() and array3_size() in the same place
as kmalloc() and friends.

Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Acked-by: Mike Rapoport <rppt@linux.ibm.com>
Reviewed-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/core-api/memory-allocation.rst