[PATCH] Staging list.h: Modified comment

From: Asif Rasheed
Date: Sun Sep 20 2020 - 09:32:03 EST


We (everyone from my Operating System Lecture Section) were confused on whether the list is circular or not (because no one bothered to look at the implementation). Modified the comment on top for clarification.

Signed-off-by: Asif Rasheed <b00073877@xxxxxxx>
---
include/linux/list.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/list.h b/include/linux/list.h
index 0d0d17a10d25..796975c3c35c 100644
--- a/include/linux/list.h
+++ b/include/linux/list.h
@@ -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
--
2.24.3 (Apple Git-128)