Skip to content

Commit

Permalink
docs/core-api: memory-allocation: fix typo
Browse files Browse the repository at this point in the history
"on the safe size" should be "on the safe side".

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>
  • Loading branch information
Chris Packham authored and Jonathan Corbet committed Oct 29, 2019
1 parent 822bbba commit ef8330f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Documentation/core-api/memory-allocation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ Selecting memory allocator
==========================

The most straightforward way to allocate memory is to use a function
from the :c:func:`kmalloc` family. And, to be on the safe size it's
from the :c:func:`kmalloc` family. And, to be on the safe side it's
best to use routines that set memory to zero, like
:c:func:`kzalloc`. If you need to allocate memory for an array, there
are :c:func:`kmalloc_array` and :c:func:`kcalloc` helpers.
Expand Down

0 comments on commit ef8330f

Please sign in to comment.