[PATCH 1/2 v2] Documentation: add Sorting section to kernel-api

From: Randy Dunlap
Date: Wed Nov 29 2017 - 15:32:47 EST


From: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>

Add sort() and list_sort() to the kernel API documentation in a
new "Sorting" section.

Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
---
Documentation/core-api/kernel-api.rst | 9 +++++++++
1 file changed, 9 insertions(+)

v2: updated to apply cleanly.

--- linux-next-20171129.orig/Documentation/core-api/kernel-api.rst
+++ linux-next-20171129/Documentation/core-api/kernel-api.rst
@@ -139,6 +139,15 @@ Division Functions
.. kernel-doc:: lib/gcd.c
:export:

+Sorting
+-------
+
+.. kernel-doc:: lib/sort.c
+ :export:
+
+.. kernel-doc:: lib/list_sort.c
+ :export:
+
Memory Management in Linux
==========================