Commit 1eafe075 authored by Asif Rasheed's avatar Asif Rasheed Committed by Paul E. McKenney
Browse files

list.h: Update comment to explicitly note circular lists



The students in the Operating System Lecture Section at the
American University of Sharjah were confused by the header comment
in include/linux/list.h, which says "Simple doubly linked list
implementation".  This comment means "simple" as in "not complex",
but "simple" is often used in this context to mean "not circular".
This commit therefore avoids this ambiguity by explicitly calling out
"circular".

Signed-off-by: default avatarAsif Rasheed <b00073877@aus.edu>
Signed-off-by: default avatarPaul E. McKenney <paulmck@kernel.org>
parent dfe56404
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -9,7 +9,7 @@
#include <linux/kernel.h>

/*
 * Simple doubly linked list implementation.
 * Circular doubly linked list implementation.
 *
 * Some of the internal functions ("__xxx") are useful when
 * manipulating whole lists rather than single entries, as