kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* Difference between INIT_LIST_HEAD and LIST_HEAD_INIT
@ 2015-01-06  9:37 nawab
  2015-01-06 15:27 ` Valdis.Kletnieks at vt.edu
  2015-01-06 21:26 ` anish singh
  0 siblings, 2 replies; 5+ messages in thread
From: nawab @ 2015-01-06  9:37 UTC (permalink / raw)
  To: kernelnewbies

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??

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-01-06 22:31 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-06  9:37 Difference between INIT_LIST_HEAD and LIST_HEAD_INIT nawab
2015-01-06 15:27 ` 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).