mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Asif Rasheed <b00073877@aus.edu>
To: paulmck@kernel.org
Cc: linux-kernel@vger.kernel.org, b00073877@aus.edu
Subject: [PATCH] Staging list.h: Modified comment
Date: Sun, 20 Sep 2020 17:31:54 +0400	[thread overview]
Message-ID: <20200920133154.71514-1-b00073877@aus.edu> (raw)

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@aus.edu>
---
 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)


             reply	other threads:[~2020-09-20 13:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-20 13:31 Asif Rasheed [this message]
2020-09-20 15:18 ` Paul E. McKenney
2020-09-20 17:00   ` Asif Rasheed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200920133154.71514-1-b00073877@aus.edu \
    --to=b00073877@aus.edu \
    --cc=linux-kernel@vger.kernel.org \
    --cc=paulmck@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®