All of lore.kernel.org
 help / color / mirror / Atom feed
From: nawablinux@gmail.com (nawab)
To: kernelnewbies@lists.kernelnewbies.org
Subject: Difference between INIT_LIST_HEAD and LIST_HEAD_INIT
Date: Tue, 06 Jan 2015 15:07:17 +0530	[thread overview]
Message-ID: <54ABACCD.9080207@gmail.com> (raw)

hi friends ,

i have a simple doubt when i was looking on linux/list.h

I have seen that   INIT_LIST_HEAD and LIST_HEAD_INIT are performing the 
same functionality,the major difference is
the argument passed.

When we have to use INIT_LIST_HEAD and LIST_HEAD_INIT??

             reply	other threads:[~2015-01-06  9:37 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-06  9:37 nawab [this message]
2015-01-06 15:27 ` Difference between INIT_LIST_HEAD and LIST_HEAD_INIT Valdis.Kletnieks at vt.edu
2015-01-06 16:26   ` Chen Weixiang
2015-01-06 21:26 ` anish singh
2015-01-06 22:31   ` Greg KH

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=54ABACCD.9080207@gmail.com \
    --to=nawablinux@gmail.com \
    --cc=kernelnewbies@lists.kernelnewbies.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.