* one more new Bie
@ 2016-08-06 16:13 Anurag Ranjan
2016-08-06 16:24 ` Saket Sinha
0 siblings, 1 reply; 8+ messages in thread
From: Anurag Ranjan @ 2016-08-06 16:13 UTC (permalink / raw)
To: kernelnewbies
Hi All,
I am new to this list. Please help me with any new bie helper guide.
How do we get work assigned here? or this is just a query forum.
Regards,
Anurag
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20160806/d52945b7/attachment.html
^ permalink raw reply [flat|nested] 8+ messages in thread
* one more new Bie
2016-08-06 16:13 Anurag Ranjan
@ 2016-08-06 16:24 ` Saket Sinha
2016-08-06 16:48 ` François
2016-08-06 17:02 ` Giedrius Statkevičius
0 siblings, 2 replies; 8+ messages in thread
From: Saket Sinha @ 2016-08-06 16:24 UTC (permalink / raw)
To: kernelnewbies
Hi Anurag,
Welcome to the list. This is a query forum but we can surely help you with
getting started.
Take up Eucalyptus challenge or the TODOs in the staging area driver if
you're interested in kernel development.
Let me know if you're looking for something specific.
Regards,
Saket Sinha
On 06-Aug-2016 9:47 PM, "Anurag Ranjan" <anurag.eee@gmail.com> wrote:
> Hi All,
>
> I am new to this list. Please help me with any new bie helper guide.
>
> How do we get work assigned here? or this is just a query forum.
>
> Regards,
> Anurag
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20160806/7be1684e/attachment.html
^ permalink raw reply [flat|nested] 8+ messages in thread
* one more new Bie
2016-08-06 16:24 ` Saket Sinha
@ 2016-08-06 16:48 ` François
2016-08-06 17:02 ` Giedrius Statkevičius
1 sibling, 0 replies; 8+ messages in thread
From: François @ 2016-08-06 16:48 UTC (permalink / raw)
To: kernelnewbies
On Sat, Aug 06, 2016 at 09:54:59PM +0530, Saket Sinha wrote:
> Hi Anurag,
>
> Welcome to the list. This is a query forum but we can surely help you with
> getting started.
>
> Take up Eucalyptus challenge or the TODOs in the staging area driver if
> you're interested in kernel development.
I think you're talking about eudyptula [1], unfortunayelly, it seems that little
has been out of business for quite a while now.
[1] http://eudyptula-challenge.org/
@Anurag: welcome here :)
--
Fran?ois
^ permalink raw reply [flat|nested] 8+ messages in thread
* one more new Bie
2016-08-06 16:24 ` Saket Sinha
2016-08-06 16:48 ` François
@ 2016-08-06 17:02 ` Giedrius Statkevičius
1 sibling, 0 replies; 8+ messages in thread
From: Giedrius Statkevičius @ 2016-08-06 17:02 UTC (permalink / raw)
To: kernelnewbies
Hi Saket,
On Sat, Aug 06, 2016 at 09:54:59PM +0530, Saket Sinha wrote:
> Hi Anurag,
>
> Welcome to the list. This is a query forum but we can surely help you with
> getting started.
>
> Take up Eucalyptus challenge or the TODOs in the staging area driver if
> you're interested in kernel development.
>
> Let me know if you're looking for something specific.
>
> Regards,
> Saket Sinha
Heh... it's called the eudyptula challenge, not the eucalyptus challenge. Also,
please don't top-post.
A: Because this is annoying
Q: Why?
>
> On 06-Aug-2016 9:47 PM, "Anurag Ranjan" <anurag.eee@gmail.com> wrote:
>
> > Hi All,
> >
> > I am new to this list. Please help me with any new bie helper guide.
> >
> > How do we get work assigned here? or this is just a query forum.
> >
> > Regards,
> > Anurag
> >
--
Giedrius
^ permalink raw reply [flat|nested] 8+ messages in thread
* one more new Bie
@ 2016-08-08 9:11 Madhu K
2016-08-08 17:10 ` Saket Sinha
2016-08-08 21:53 ` Dennis Semakin
0 siblings, 2 replies; 8+ messages in thread
From: Madhu K @ 2016-08-08 9:11 UTC (permalink / raw)
To: kernelnewbies
Hi Saket Sinha,
I am also kernel newbie, I started Eucalyptula challenge challenge 4 months
back, till now I have completed 4 tasks and submitted result for 5th task
two months back, till now I have not received any response from little.
So during this time I wanted occupy with other kernel stuff, can please
share how to proceed with "TODOs in the staging area drive" you mentioned
below.It will be more helpful for me and other newbies to involve in kernel
development activity.
Thanks®ards,
Madhu
On Sun, Aug 7, 2016 at 8:24 PM, <kernelnewbies-request@kernelnewbies.org>
wrote:
> Send Kernelnewbies mailing list submissions to
> kernelnewbies at kernelnewbies.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
> or, via email, send a message with subject or body 'help' to
> kernelnewbies-request at kernelnewbies.org
>
> You can reach the person managing the list at
> kernelnewbies-owner at kernelnewbies.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Kernelnewbies digest..."
>
>
> Today's Topics:
>
> 1. one more new Bie (Anurag Ranjan)
> 2. Re: one more new Bie (Saket Sinha)
> 3. Re: one more new Bie (Fran?ois)
> 4. Re: one more new Bie (Giedrius Statkevi?ius)
> 5. Linux Coding style template (Charls D. Chap)
> 6. Re: Linux Coding style template (Greg KH)
> 7. Re: Are these books outdated? (John Chludzinski)
> 8. Re: Linux Coding style template (Charls D. Chap)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sat, 6 Aug 2016 21:43:47 +0530
> From: Anurag Ranjan <anurag.eee@gmail.com>
> Subject: one more new Bie
> To: kernelnewbies at kernelnewbies.org
> Message-ID:
> <CANeted3zQ8vMbk4Nzk77OSz8jaPFRB28bymJh-egSg-SCRcerA@mail.
> gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Hi All,
>
> I am new to this list. Please help me with any new bie helper guide.
>
> How do we get work assigned here? or this is just a query forum.
>
> Regards,
> Anurag
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/
> attachments/20160806/d52945b7/attachment-0001.html
>
> ------------------------------
>
> Message: 2
> Date: Sat, 6 Aug 2016 21:54:59 +0530
> From: Saket Sinha <saket.sinha89@gmail.com>
> Subject: Re: one more new Bie
> To: Anurag Ranjan <anurag.eee@gmail.com>
> Cc: kernelnewbies <kernelnewbies@kernelnewbies.org>
> Message-ID:
> <CAK25hWN6Pets=e9HDFTyah9LF6CkB8gXX50JNLjmwG1wd-tb1g@mail.
> gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Hi Anurag,
>
> Welcome to the list. This is a query forum but we can surely help you with
> getting started.
>
> Take up Eucalyptus challenge or the TODOs in the staging area driver if
> you're interested in kernel development.
>
> Let me know if you're looking for something specific.
>
> Regards,
> Saket Sinha
>
> On 06-Aug-2016 9:47 PM, "Anurag Ranjan" <anurag.eee@gmail.com> wrote:
>
> > Hi All,
> >
> > I am new to this list. Please help me with any new bie helper guide.
> >
> > How do we get work assigned here? or this is just a query forum.
> >
> > Regards,
> > Anurag
> >
> > _______________________________________________
> > Kernelnewbies mailing list
> > Kernelnewbies at kernelnewbies.org
> > https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
> >
> >
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/
> attachments/20160806/7be1684e/attachment-0001.html
>
> ------------------------------
>
> Message: 3
> Date: Sat, 6 Aug 2016 18:48:28 +0200
> From: Fran?ois <fser@code-libre.org>
> Subject: Re: one more new Bie
> To: kernelnewbies at kernelnewbies.org
> Message-ID: <20160806164827.hf7wzw6wkzw5flb5@sith>
> Content-Type: text/plain; charset=iso-8859-1
>
> On Sat, Aug 06, 2016 at 09:54:59PM +0530, Saket Sinha wrote:
> > Hi Anurag,
> >
> > Welcome to the list. This is a query forum but we can surely help you
> with
> > getting started.
> >
> > Take up Eucalyptus challenge or the TODOs in the staging area driver if
> > you're interested in kernel development.
>
> I think you're talking about eudyptula [1], unfortunayelly, it seems that
> little
> has been out of business for quite a while now.
>
> [1] http://eudyptula-challenge.org/
>
> @Anurag: welcome here :)
>
> --
> Fran?ois
>
>
>
> ------------------------------
>
> Message: 4
> Date: Sat, 6 Aug 2016 20:02:28 +0300
> From: Giedrius Statkevi?ius <giedrius.statkevicius@gmail.com>
> Subject: Re: one more new Bie
> To: Saket Sinha <saket.sinha89@gmail.com>
> Cc: Anurag Ranjan <anurag.eee@gmail.com>, kernelnewbies
> <kernelnewbies@kernelnewbies.org>
> Message-ID: <20160806170228.GB20321@tyrael>
> Content-Type: text/plain; charset=us-ascii
>
> Hi Saket,
>
> On Sat, Aug 06, 2016 at 09:54:59PM +0530, Saket Sinha wrote:
> > Hi Anurag,
> >
> > Welcome to the list. This is a query forum but we can surely help you
> with
> > getting started.
> >
> > Take up Eucalyptus challenge or the TODOs in the staging area driver if
> > you're interested in kernel development.
> >
> > Let me know if you're looking for something specific.
> >
> > Regards,
> > Saket Sinha
>
> Heh... it's called the eudyptula challenge, not the eucalyptus challenge.
> Also,
> please don't top-post.
>
> A: Because this is annoying
> Q: Why?
>
> >
> > On 06-Aug-2016 9:47 PM, "Anurag Ranjan" <anurag.eee@gmail.com> wrote:
> >
> > > Hi All,
> > >
> > > I am new to this list. Please help me with any new bie helper guide.
> > >
> > > How do we get work assigned here? or this is just a query forum.
> > >
> > > Regards,
> > > Anurag
> > >
>
>
> --
> Giedrius
>
>
>
> ------------------------------
>
> Message: 5
> Date: Sun, 7 Aug 2016 00:22:03 +0300
> From: "Charls D. Chap" <chapcharls@gmail.com>
> Subject: Linux Coding style template
> To: kernelnewbies at kernelnewbies.org
> Message-ID:
> <CAA6eV_ThVicvXa_c+EKH_gVMrm57OEKoKeAK65J5Z7d=+WykkQ@
> mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> I want to transform some C source files. following Linux kernel coding
> style.
>
> - Does script/Lindent STRICTLY follows all linux kernel coding style rules?
> - What scripts/templates do you use/suggest for elegant code style
> with the fact that
> we are talking about Linux Kernel Coding?
>
>
> The GNU guys suggest indent with the following parameters:
> -nbad -bap -nbc -bbo -hnl -br -brs -c33 -cd33 -ncdb -ce -ci4
> -cli0 -d0 -di1 -nfc1 -i8 -ip0 -l80 -lp -npcs -nprs -npsl -sai
> -saf -saw -ncs -nsc -sob -nfca -cp33 -ss -ts8 -il1
>
> On the other hand:
> Linux/script/Lindent contains:
> -npro -kr -i8 -ts8 -sob -l80 -ss -ncs -cp1
>
> Differences so far:
> 1)
> indent with gnu parameters inserts a space on labels eg.
> err: vs
> err:
>
> 2)
> indent with gnu parameters inserts 26 spaces
> #endif /*
> something like this*/
>
>
> So probably gnu site is outdated?
>
>
> Also, I have noticed that they both fail theyto leave the empty line
> of a label empty
> For example, err: code
> to
> err:
> code
>
> What does the coding style suggests in this case?
>
> Have you found, other cases such the above?
>
>
>
> ------------------------------
>
> Message: 6
> Date: Sun, 7 Aug 2016 06:39:48 +0200
> From: Greg KH <greg@kroah.com>
> Subject: Re: Linux Coding style template
> To: "Charls D. Chap" <chapcharls@gmail.com>
> Cc: kernelnewbies at kernelnewbies.org
> Message-ID: <20160807043948.GA7711@kroah.com>
> Content-Type: text/plain; charset=us-ascii
>
> On Sun, Aug 07, 2016 at 12:22:03AM +0300, Charls D. Chap wrote:
> > I want to transform some C source files. following Linux kernel coding
> style.
> >
> > - Does script/Lindent STRICTLY follows all linux kernel coding style
> rules?
> > - What scripts/templates do you use/suggest for elegant code style
> > with the fact that
> > we are talking about Linux Kernel Coding?
> >
> >
> > The GNU guys suggest indent with the following parameters:
> > -nbad -bap -nbc -bbo -hnl -br -brs -c33 -cd33 -ncdb -ce -ci4
> > -cli0 -d0 -di1 -nfc1 -i8 -ip0 -l80 -lp -npcs -nprs -npsl -sai
> > -saf -saw -ncs -nsc -sob -nfca -cp33 -ss -ts8 -il1
> >
> > On the other hand:
> > Linux/script/Lindent contains:
> > -npro -kr -i8 -ts8 -sob -l80 -ss -ncs -cp1
> >
> > Differences so far:
> > 1)
> > indent with gnu parameters inserts a space on labels eg.
> > err: vs
> > err:
> >
> > 2)
> > indent with gnu parameters inserts 26 spaces
> > #endif /*
> > something like this*/
> >
> >
> > So probably gnu site is outdated?
>
> Probably, start with running Lindent, and then fix up the mess it leaves
> by hand. Shouldn't take more than a day to do it.
>
> good luck!
>
> greg k-h
>
>
>
> ------------------------------
>
> Message: 7
> Date: Sun, 07 Aug 2016 09:29:01 -0400
> From: John Chludzinski <john.chludzinski@vivaldi.net>
> Subject: Re: Are these books outdated?
> To: Aleksander Alekseev <afiskon@devzen.ru>
> Cc: Kernelnewbies at kernelnewbies.org
> Message-ID: <156b7e5e8149927ea9f25e2c12d46aac@mail.vivaldi.net>
> Content-Type: text/plain; charset=US-ASCII; format=flowed
>
> Linux Kernel Development by Robert Love
>
> On 2016-07-14 07:01, Aleksander Alekseev wrote:
> > Hello
> >
> > I'm a full-time *nix C developer. I have a pretty good idea how
> > operating systems work. Still I would like learn more about Linux
> > internals in particular, write a few device drivers, maybe some
> > patches to kernel itself, etc. Here are a few books I've found:
> >
> > * Linux Kernel Development, 3rd Edition (2010)
> > * Understanding the Linux Kernel, 3rd Edition (2005)
> > * Linux Device Drivers, 3rd Edition (2005)
> >
> > Could you tell me please, are these books considered worth reading in
> > year 2016 or they are completely out of date? Perhaps there are some
> > newer books and/or tutorials you could recommend?
>
>
>
> ------------------------------
>
> Message: 8
> Date: Sun, 7 Aug 2016 17:53:15 +0300
> From: "Charls D. Chap" <chapcharls@gmail.com>
> Subject: Re: Linux Coding style template
> To: Greg KH <greg@kroah.com>
> Cc: kernelnewbies at kernelnewbies.org
> Message-ID:
> <CAA6eV_RiN0wZKA12PKHHiR3s5gzgj7p56Q4T
> d4qGS+WYN+ohiw at mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> On Sun, Aug 7, 2016 at 7:39 AM, Greg KH <greg@kroah.com> wrote:
> > On Sun, Aug 07, 2016 at 12:22:03AM +0300, Charls D. Chap wrote:
> >> I want to transform some C source files. following Linux kernel coding
> style.
>
> My questions are more generic, i am interesting in an automatic way for
> identation! And also, i am interesting to what kernel developers will
> do in the following cases, so i am forwarding again the email.
>
>
> please take a look to this example
> width is 90, what a kernel developer will do? spliti in two lines, or
> leave it us it is,
> cause i think it's more readable, in this way
> qq->run = mmap(NULL, mmap_size, PROT_READ | PROT_WRITE, MAP_SHARED,
> qq->vcpu, 0);
>
>
> Also, have you find a way to tell indent not to indent, struct definitions?
> In .h, when you have a huge structure definition, it's more readable,
> to have it's struct friend one below the other, aligned!
> struct kvm_mem_bank {
> struct list_head list;
> u64 guest_phys_addr;
> void *host_addr;
> u64 size;
> };
>
> This also counts for variables initiliazation
> int x = 0
> char *dog = animal->dog->name;
> char *cat = animal->cat->name;
> char * elephant = animal->elephant->name;
>
> Any ideas?
>
>
>
> - Does script/Lindent STRICTLY follows all linux kernel coding style rules?
> - What scripts/templates do you use/suggest for elegant code style
> with the fact that
> we are talking about Linux Kernel Coding?
>
>
> The GNU guys suggest indent with the following parameters:
> -nbad -bap -nbc -bbo -hnl -br -brs -c33 -cd33 -ncdb -ce -ci4
> -cli0 -d0 -di1 -nfc1 -i8 -ip0 -l80 -lp -npcs -nprs -npsl -sai
> -saf -saw -ncs -nsc -sob -nfca -cp33 -ss -ts8 -il1
>
> On the other hand:
> Linux/script/Lindent contains:
> -npro -kr -i8 -ts8 -sob -l80 -ss -ncs -cp1
>
> Differences so far:
> 1)
> indent with gnu parameters inserts a space on labels eg.
> err: vs
> err:
>
> 2)
> indent with gnu parameters inserts 26 spaces
> #endif /*
> something like this */
>
>
> So probably gnu site is outdated?
>
>
> Also, I have noticed that they both fail theyto leave the empty line
> of a label empty
> For example, err: code
> to
> err:
> code
>
> What does the coding style suggests in this case?
>
> Have you found, other cases such the above?
>
>
>
> ------------------------------
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
>
> End of Kernelnewbies Digest, Vol 69, Issue 11
> *********************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20160808/a60cd0a3/attachment-0001.html
^ permalink raw reply [flat|nested] 8+ messages in thread
* one more new Bie
2016-08-08 9:11 one more new Bie Madhu K
@ 2016-08-08 17:10 ` Saket Sinha
2016-08-09 9:16 ` François
2016-08-08 21:53 ` Dennis Semakin
1 sibling, 1 reply; 8+ messages in thread
From: Saket Sinha @ 2016-08-08 17:10 UTC (permalink / raw)
To: kernelnewbies
>
>
>
> I am also kernel newbie, I started Eucalyptula challenge challenge 4
> months back, till now I have completed 4 tasks and submitted result for 5th
> task two months back, till now I have not received any response from little.
>
> So during this time I wanted occupy with other kernel stuff, can please
> share how to proceed with "TODOs in the staging area drive" you mentioned
> below.It will be more helpful for me and other newbies to involve in kernel
> development activity.
>
> Thanks®ards,
> Madhu
>
>
Hi,
The ideal way to start is to write some basic kernel drivers. Look for the
tutorial at the following links -
1. Linux Device Drivers 3 examples updated to work in recent kernels
http://examples.oreilly.com/9780596005900/
2. http://opensourceforu.com/author/anil-kumar-pugalia/page/3/
Once you are done and want to pick up a real task -
1. Try to implement a TODO in staging area drivers -
http://lxr.free-electrons.com/source/drivers/staging/
Most of these folders have a TODO file and maintainer info.
2. Sign up for a coverity account and join the Linux project.
https://scan.coverity.com/
You would get regular Coverity scans of kernel. You can fix one of these
get started.
Heh... it's called the eudyptula challenge, not the eucalyptus challenge.
Also,
> please don't top-post.
>>
>>
Sorry for top-posting and the typo.
Regards,
Saket Sinha
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20160808/8b8f67d6/attachment.html
^ permalink raw reply [flat|nested] 8+ messages in thread
* one more new Bie
2016-08-08 9:11 one more new Bie Madhu K
2016-08-08 17:10 ` Saket Sinha
@ 2016-08-08 21:53 ` Dennis Semakin
1 sibling, 0 replies; 8+ messages in thread
From: Dennis Semakin @ 2016-08-08 21:53 UTC (permalink / raw)
To: kernelnewbies
I have the same situation.
Seems that Eudyptula maintainers forget about us )))...
08.08.2016, 12:14, "Madhu K" <madhu.sk89@gmail.com>:
> Hi?Saket Sinha,
>
> I am also kernel newbie, I started Eucalyptula challenge challenge 4 months back, till now I have completed 4 tasks and submitted result for 5th task two months back, till now I have not received any response from little.
>
> So during this time I wanted occupy with other kernel stuff, can please share how to proceed with "TODOs in the staging area drive" you mentioned below.It will be more helpful for me and other newbies to involve in kernel development activity.
>
> Thanks®ards,
> Madhu
>
> On Sun, Aug 7, 2016 at 8:24 PM, <kernelnewbies-request@kernelnewbies.org> wrote:
>> Send Kernelnewbies mailing list submissions to
>> ? ? ? ? kernelnewbies at kernelnewbies.org
>>
>> To subscribe or unsubscribe via the World Wide Web, visit
>> ? ? ? ? https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>> or, via email, send a message with subject or body 'help' to
>> ? ? ? ? kernelnewbies-request at kernelnewbies.org
>>
>> You can reach the person managing the list at
>> ? ? ? ? kernelnewbies-owner at kernelnewbies.org
>>
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of Kernelnewbies digest..."
>>
>> Today's Topics:
>>
>> ? ?1. one more new Bie (Anurag Ranjan)
>> ? ?2. Re: one more new Bie (Saket Sinha)
>> ? ?3. Re: one more new Bie (Fran?ois)
>> ? ?4. Re: one more new Bie (Giedrius Statkevi?ius)
>> ? ?5. Linux Coding style template (Charls D. Chap)
>> ? ?6. Re: Linux Coding style template (Greg KH)
>> ? ?7. Re: Are these books outdated? (John Chludzinski)
>> ? ?8. Re: Linux Coding style template (Charls D. Chap)
>>
>> ----------------------------------------------------------------------
>>
>> Message: 1
>> Date: Sat, 6 Aug 2016 21:43:47 +0530
>> From: Anurag Ranjan <anurag.eee@gmail.com>
>> Subject: one more new Bie
>> To: kernelnewbies at kernelnewbies.org
>> Message-ID:
>> ? ? ? ? <CANeted3zQ8vMbk4Nzk77OSz8jaPFRB28bymJh-egSg-SCRcerA@mail.gmail.com>
>> Content-Type: text/plain; charset="utf-8"
>>
>> Hi All,
>>
>> I am new to this list. Please help me with any new bie helper guide.
>>
>> How do we get work assigned here? or this is just a query forum.
>>
>> Regards,
>> Anurag
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>> URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20160806/d52945b7/attachment-0001.html
>>
>> ------------------------------
>>
>> Message: 2
>> Date: Sat, 6 Aug 2016 21:54:59 +0530
>> From: Saket Sinha <saket.sinha89@gmail.com>
>> Subject: Re: one more new Bie
>> To: Anurag Ranjan <anurag.eee@gmail.com>
>> Cc: kernelnewbies <kernelnewbies@kernelnewbies.org>
>> Message-ID:
>> ? ? ? ? <CAK25hWN6Pets=e9HDFTyah9LF6CkB8gXX50JNLjmwG1wd-tb1g@mail.gmail.com>
>> Content-Type: text/plain; charset="utf-8"
>>
>> Hi Anurag,
>>
>> Welcome to the list. This is a query forum but we can surely help you with
>> getting started.
>>
>> Take up Eucalyptus challenge or the TODOs in the staging area driver if
>> you're interested in kernel development.
>>
>> Let me know if you're looking for something specific.
>>
>> Regards,
>> Saket Sinha
>>
>> On 06-Aug-2016 9:47 PM, "Anurag Ranjan" <anurag.eee@gmail.com> wrote:
>>
>>> Hi All,
>>>
>>> I am new to this list. Please help me with any new bie helper guide.
>>>
>>> How do we get work assigned here? or this is just a query forum.
>>>
>>> Regards,
>>> Anurag
>>>
>>> _______________________________________________
>>> Kernelnewbies mailing list
>>> Kernelnewbies at kernelnewbies.org
>>> https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>>>
>>>
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>> URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20160806/7be1684e/attachment-0001.html
>>
>> ------------------------------
>>
>> Message: 3
>> Date: Sat, 6 Aug 2016 18:48:28 +0200
>> From: Fran?ois <fser@code-libre.org>
>> Subject: Re: one more new Bie
>> To: kernelnewbies at kernelnewbies.org
>> Message-ID: <20160806164827.hf7wzw6wkzw5flb5@sith>
>> Content-Type: text/plain; charset=iso-8859-1
>>
>> On Sat, Aug 06, 2016 at 09:54:59PM +0530, Saket Sinha wrote:
>>> Hi Anurag,
>>>
>>> Welcome to the list. This is a query forum but we can surely help you with
>>> getting started.
>>>
>>> Take up Eucalyptus challenge or the TODOs in the staging area driver if
>>> you're interested in kernel development.
>>
>> I think you're talking about eudyptula [1], unfortunayelly, it seems that little
>> has been out of business for quite a while now.
>>
>> [1]? http://eudyptula-challenge.org/
>>
>> @Anurag: welcome here :)
>>
>> --
>> Fran?ois
>>
>> ------------------------------
>>
>> Message: 4
>> Date: Sat, 6 Aug 2016 20:02:28 +0300
>> From: Giedrius Statkevi?ius <giedrius.statkevicius@gmail.com>
>> Subject: Re: one more new Bie
>> To: Saket Sinha <saket.sinha89@gmail.com>
>> Cc: Anurag Ranjan <anurag.eee@gmail.com>,? ? ? ?kernelnewbies
>> ? ? ? ? <kernelnewbies@kernelnewbies.org>
>> Message-ID: <20160806170228.GB20321@tyrael>
>> Content-Type: text/plain; charset=us-ascii
>>
>> Hi Saket,
>>
>> On Sat, Aug 06, 2016 at 09:54:59PM +0530, Saket Sinha wrote:
>>> Hi Anurag,
>>>
>>> Welcome to the list. This is a query forum but we can surely help you with
>>> getting started.
>>>
>>> Take up Eucalyptus challenge or the TODOs in the staging area driver if
>>> you're interested in kernel development.
>>>
>>> Let me know if you're looking for something specific.
>>>
>>> Regards,
>>> Saket Sinha
>>
>> Heh... it's called the eudyptula challenge, not the eucalyptus challenge. Also,
>> please don't top-post.
>>
>> A: Because this is annoying
>> Q: Why?
>>
>>>
>>> On 06-Aug-2016 9:47 PM, "Anurag Ranjan" <anurag.eee@gmail.com> wrote:
>>>
>>> > Hi All,
>>> >
>>> > I am new to this list. Please help me with any new bie helper guide.
>>> >
>>> > How do we get work assigned here? or this is just a query forum.
>>> >
>>> > Regards,
>>> > Anurag
>>> >
>>
>> --
>> ? ? ? ? Giedrius
>>
>> ------------------------------
>>
>> Message: 5
>> Date: Sun, 7 Aug 2016 00:22:03 +0300
>> From: "Charls D. Chap" <chapcharls@gmail.com>
>> Subject: Linux Coding style template
>> To: kernelnewbies at kernelnewbies.org
>> Message-ID:
>> ? ? ? ? <CAA6eV_ThVicvXa_c+EKH_gVMrm57OEKoKeAK65J5Z7d=+WykkQ@mail.gmail.com>
>> Content-Type: text/plain; charset=UTF-8
>>
>> I want to transform some C source files. following Linux kernel coding style.
>>
>> - Does script/Lindent STRICTLY follows all linux kernel coding style rules?
>> - What scripts/templates do you use/suggest for elegant code style
>> with the fact that
>> ? we are talking about Linux Kernel Coding?
>>
>> The GNU guys suggest indent with the following parameters:
>> -nbad -bap -nbc -bbo -hnl -br -brs -c33 -cd33 -ncdb -ce -ci4
>> -cli0 -d0 -di1 -nfc1 -i8 -ip0 -l80 -lp -npcs -nprs -npsl -sai
>> -saf -saw -ncs -nsc -sob -nfca -cp33 -ss -ts8 -il1
>>
>> On the other hand:
>> Linux/script/Lindent contains:
>> -npro -kr -i8 -ts8 -sob -l80 -ss -ncs -cp1
>>
>> Differences so far:
>> 1)
>> indent with gnu parameters inserts a space on labels eg.
>> ?err: vs
>> err:
>>
>> 2)
>> indent with gnu parameters inserts 26 spaces
>> #endif? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? /*
>> something like this*/
>>
>> So probably gnu site is outdated?
>>
>> Also, I have noticed? that they both fail theyto leave the empty line
>> of a label empty
>> For example, err: code
>> to
>> err:
>> ? ? ? ?code
>>
>> What does the coding style suggests in this case?
>>
>> Have you found, other cases such the above?
>>
>> ------------------------------
>>
>> Message: 6
>> Date: Sun, 7 Aug 2016 06:39:48 +0200
>> From: Greg KH <greg@kroah.com>
>> Subject: Re: Linux Coding style template
>> To: "Charls D. Chap" <chapcharls@gmail.com>
>> Cc: kernelnewbies at kernelnewbies.org
>> Message-ID: <20160807043948.GA7711@kroah.com>
>> Content-Type: text/plain; charset=us-ascii
>>
>> On Sun, Aug 07, 2016 at 12:22:03AM +0300, Charls D. Chap wrote:
>>> I want to transform some C source files. following Linux kernel coding style.
>>>
>>> - Does script/Lindent STRICTLY follows all linux kernel coding style rules?
>>> - What scripts/templates do you use/suggest for elegant code style
>>> with the fact that
>>>? ?we are talking about Linux Kernel Coding?
>>>
>>>
>>> The GNU guys suggest indent with the following parameters:
>>> -nbad -bap -nbc -bbo -hnl -br -brs -c33 -cd33 -ncdb -ce -ci4
>>> -cli0 -d0 -di1 -nfc1 -i8 -ip0 -l80 -lp -npcs -nprs -npsl -sai
>>> -saf -saw -ncs -nsc -sob -nfca -cp33 -ss -ts8 -il1
>>>
>>> On the other hand:
>>> Linux/script/Lindent contains:
>>> -npro -kr -i8 -ts8 -sob -l80 -ss -ncs -cp1
>>>
>>> Differences so far:
>>> 1)
>>> indent with gnu parameters inserts a space on labels eg.
>>>? err: vs
>>> err:
>>>
>>> 2)
>>> indent with gnu parameters inserts 26 spaces
>>> #endif? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? /*
>>> something like this*/
>>>
>>>
>>> So probably gnu site is outdated?
>>
>> Probably, start with running Lindent, and then fix up the mess it leaves
>> by hand.? Shouldn't take more than a day to do it.
>>
>> good luck!
>>
>> greg k-h
>>
>> ------------------------------
>>
>> Message: 7
>> Date: Sun, 07 Aug 2016 09:29:01 -0400
>> From: John Chludzinski <john.chludzinski@vivaldi.net>
>> Subject: Re: Are these books outdated?
>> To: Aleksander Alekseev <afiskon@devzen.ru>
>> Cc: Kernelnewbies at kernelnewbies.org
>> Message-ID: <156b7e5e8149927ea9f25e2c12d46aac@mail.vivaldi.net>
>> Content-Type: text/plain; charset=US-ASCII; format=flowed
>>
>> Linux Kernel Development by Robert Love
>>
>> On 2016-07-14 07:01, Aleksander Alekseev wrote:
>>> Hello
>>>
>>> I'm a full-time *nix C developer. I have a pretty good idea how
>>> operating systems work. Still I would like learn more about Linux
>>> internals in particular, write a few device drivers, maybe some
>>> patches to kernel itself, etc. Here are a few books I've found:
>>>
>>> * Linux Kernel Development, 3rd Edition (2010)
>>> * Understanding the Linux Kernel, 3rd Edition (2005)
>>> * Linux Device Drivers, 3rd Edition (2005)
>>>
>>> Could you tell me please, are these books considered worth reading in
>>> year 2016 or they are completely out of date? Perhaps there are some
>>> newer books and/or tutorials you could recommend?
>>
>> ------------------------------
>>
>> Message: 8
>> Date: Sun, 7 Aug 2016 17:53:15 +0300
>> From: "Charls D. Chap" <chapcharls@gmail.com>
>> Subject: Re: Linux Coding style template
>> To: Greg KH <greg@kroah.com>
>> Cc: kernelnewbies at kernelnewbies.org
>> Message-ID:
>> ? ? ? ? <CAA6eV_RiN0wZKA12PKHHiR3s5gzgj7p56Q4Td4qGS+WYN+ohiw@mail.gmail.com>
>> Content-Type: text/plain; charset=UTF-8
>>
>> On Sun, Aug 7, 2016 at 7:39 AM, Greg KH <greg@kroah.com> wrote:
>>> On Sun, Aug 07, 2016 at 12:22:03AM +0300, Charls D. Chap wrote:
>>>> I want to transform some C source files. following Linux kernel coding style.
>>
>> My questions are more generic, i am interesting in an automatic way for
>> identation! And also, i am interesting to what kernel developers will
>> do in the following cases,? so i am? forwarding again the email.
>>
>> please take a look to this example
>> width is 90, what a kernel developer will do? spliti in two lines, or
>> leave it us it is,
>> cause i think it's more readable, in this way
>> qq->run = mmap(NULL, mmap_size, PROT_READ | PROT_WRITE, MAP_SHARED,
>> qq->vcpu, 0);
>>
>> Also, have you find a way to tell indent not to indent, struct definitions?
>> In .h, when you have a huge structure definition, it's more readable,
>> to have it's struct friend one below the other, aligned!
>> struct kvm_mem_bank {
>> ? ? ? ? ? struct list_head? ? ? ? ? ?list;
>> ? ? ? ? ?u64? ? ? ? ? ? ? ? ? ? ? ? ? ? ? guest_phys_addr;
>> ? ? ? ? ?void? ? ? ? ? ? ? ? ? ? ? ? ? ? ? *host_addr;
>> ? ? ? ? u64? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?size;
>> };
>>
>> This also counts for variables initiliazation
>> int x = 0
>> char? *dog? ? ? ? ?= animal->dog->name;
>> char? *cat? ? ? ? ? = animal->cat->name;
>> char * elephant = animal->elephant->name;
>>
>> Any ideas?
>>
>> - Does script/Lindent STRICTLY follows all linux kernel coding style rules?
>> - What scripts/templates do you use/suggest for elegant code style
>> with the fact that
>> ? we are talking about Linux Kernel Coding?
>>
>> The GNU guys suggest indent with the following parameters:
>> -nbad -bap -nbc -bbo -hnl -br -brs -c33 -cd33 -ncdb -ce -ci4
>> -cli0 -d0 -di1 -nfc1 -i8 -ip0 -l80 -lp -npcs -nprs -npsl -sai
>> -saf -saw -ncs -nsc -sob -nfca -cp33 -ss -ts8 -il1
>>
>> On the other hand:
>> Linux/script/Lindent contains:
>> -npro -kr -i8 -ts8 -sob -l80 -ss -ncs -cp1
>>
>> Differences so far:
>> 1)
>> indent with gnu parameters inserts a space on labels eg.
>> ?err: vs
>> err:
>>
>> 2)
>> indent with gnu parameters inserts 26 spaces
>> #endif? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? /*
>> something like this? ? ? ? ? ? ? ? ?*/
>>
>> So probably gnu site is outdated?
>>
>> Also, I have noticed? that they both fail theyto leave the empty line
>> of a label empty
>> For example, err: code
>> to
>> err:
>> ? ? ? ?code
>>
>> What does the coding style suggests in this case?
>>
>> Have you found, other cases such the above?
>>
>> ------------------------------
>>
>> _______________________________________________
>> Kernelnewbies mailing list
>> Kernelnewbies at kernelnewbies.org
>> https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>>
>> End of Kernelnewbies Digest, Vol 69, Issue 11
>> *********************************************
>
> ,
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
^ permalink raw reply [flat|nested] 8+ messages in thread
* one more new Bie
2016-08-08 17:10 ` Saket Sinha
@ 2016-08-09 9:16 ` François
0 siblings, 0 replies; 8+ messages in thread
From: François @ 2016-08-09 9:16 UTC (permalink / raw)
To: kernelnewbies
On Mon, Aug 08, 2016 at 10:40:08PM +0530, Saket Sinha wrote:
> Hi,
>
> The ideal way to start is to write some basic kernel drivers. Look for the
> tutorial at the following links -
>
>
> 1. Linux Device Drivers 3 examples updated to work in recent kernels
> http://examples.oreilly.com/9780596005900/
Not that recent obviously :(
For instance, in sbull, they use blk_fs_request which does not exist
anymore.
--
Fran?ois
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2016-08-09 9:16 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-08 9:11 one more new Bie Madhu K
2016-08-08 17:10 ` Saket Sinha
2016-08-09 9:16 ` François
2016-08-08 21:53 ` Dennis Semakin
-- strict thread matches above, loose matches on Subject: below --
2016-08-06 16:13 Anurag Ranjan
2016-08-06 16:24 ` Saket Sinha
2016-08-06 16:48 ` François
2016-08-06 17:02 ` Giedrius Statkevičius
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).