Re: Difference between INIT_LIST_HEAD and LIST_HEAD_INIT

2015-01-06 Thread Chen Weixiang
> >
> > When we have to use INIT_LIST_HEAD and LIST_HEAD_INIT??
> 

I believe it's better to use macro LIST_HEAD(name) to define and
initialize a variable of type 'struct list_head'.

The method INIT_LIST_HEAD() is used to initialize a predefined variable
of type 'struct list_head'.

-- 
Best regards,
Chen Weixiang (Alex)


___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: Eudyptula Challenge Task 01

2014-06-16 Thread Chen Weixiang
On Mon, Jun 16, 2014 at 05:07:05PM +0530, sanjeev sharma wrote:
> is Really we need to use Email Client ? Don't we have another option
> using GMAIL ?

I met the same problem when I sent first mail to Eudyptula Challenge.
I thinke below two links are helpful for configuring mutt mail client:

http://nongeekshandbook.blogspot.fi/2009/02/mutt-email-client-that-sucks-less.html
http://nongeekshandbook.blogspot.fi/2009/03/mutt-color-configuration.html

> 
> Regards
> Sanjeev Sharma
> 
> On Sun, Jun 15, 2014 at 2:57 PM, Abhishek Sharma  wrote:
> >
> > On 13-06-2014 AM 04:10, Nada Saif wrote:
> >> Hi,
> >> Which email client is best to submit tasks . I use gmail , and I get a
> >> problem with attachment base64!?
> >>
> >> What you suggest me to use!
> >>
> >> Regards,
> >> N.G
> > Thunderbird
> >
> > Regards,
> > Abhishek Sharma
> >
> >> On Tue, Apr 29, 2014 at 6:34 PM, Pranay Srivastava  
> >> wrote:
> >>> On Tue, Apr 29, 2014 at 8:40 PM, me storage  
> >>> wrote:
> >>>> Hi i every one i am new to linux kernel programming .I am participating 
> >>>> in
> >>>> Eudyptula Challenge .Recently i submitted my solutions to Task 01 but i
> >>>> gives me reply like the below
> >>>>
> >>>> "Please read the requirements for the Makefile and allow the module to be
> >>>> built against any kernel source tree on the filesystem, not just those
> >>>> kernels that happened to be installed in /lib/ at some point in time."
> >>>>
> >>>> And my make file is like this
> >>>>
> >>>> ifneq ($(KERNELRELEASE),)
> >>>>   obj-m += helloworld.o
> >>>>   else
> >>>>   default
> >>> I hope you understand the -C switch
> >>> :
> >>>> make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules
> >>>>   clean:
> >>>> make -C /lib/modules/$(shell uname -r)/bulid M=$(PWD) clean
> >>>>   end
> >>>>
> >>> If not then find it out and see what you need to change.
> >>>
> >>>> So can any please tell me how to allow the module to be built against any
> >>>> kernel source tree on the filesystem?
> >>>> or can any one pleae tell me what does it mean?
> >>>> Thank you
> >>>>
> >>>> ___
> >>>> Kernelnewbies mailing list
> >>>> Kernelnewbies@kernelnewbies.org
> >>>> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
> >>>>
> >>>
> >>>
> >>> --
> >>>  ---P.K.S
> >>>
> >>> ___
> >>> Kernelnewbies mailing list
> >>> Kernelnewbies@kernelnewbies.org
> >>> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
> >> ___
> >> Kernelnewbies mailing list
> >> Kernelnewbies@kernelnewbies.org
> >> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
> >
> >
> > ---
> > This email is free from viruses and malware because avast! Antivirus 
> > protection is active.
> > http://www.avast.com
> >
> >
> > ___
> > Kernelnewbies mailing list
> > Kernelnewbies@kernelnewbies.org
> > http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
> 
> ___
> Kernelnewbies mailing list
> Kernelnewbies@kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

-- 
Best regards,
Chen Weixiang (Alex)


___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies