Re: regarding const variables/structures

2018-09-17 Thread inventsekar
On Mon, Sep 17, 2018 at 12:59 PM Shakthi Kannan wrote: > > >>> You should always use trimmed, interleaved, bottom-posting. See, how I > have quoted your message, and replied below it (similar to how you answer > below a question in an exam). > Sure, i got it, SK. thanks. > You might also

Re: regarding const variables/structures

2018-09-17 Thread valdis . kletnieks
On Sat, 15 Sep 2018 01:19:24 +0530, inventsekar said: > I didnt get you... I thanked Valdis for his detailed mail.. A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in

Re: regarding const variables/structures

2018-09-17 Thread Shakthi Kannan
Hi, ‐‐‐ Original Message ‐‐‐ On Saturday, September 15, 2018 1:19 AM, inventsekar wrote: | I didnt get you... \-- You should always use trimmed, interleaved, bottom-posting. See, how I have quoted your message, and replied below it (similar to how you answer below a question in an

Re: regarding const variables/structures

2018-09-14 Thread Kenneth Adam Miller
Don't be discouraged! So, if you only read the code, it may appear to you that "in the small" you are understanding the code. But, the possible states and paths are a large combinatorial, and lots of things can happen at runtime that you will not be able to predict, even after only reading the

Re: regarding const variables/structures

2018-09-14 Thread inventsekar
Hi, for the past three years I have been trying hard to do Linux kernel development, but, with No success. I don't know what is the exact reason...maybe, I didn't do much practical, all the times I was only reading reading reading... so you can understand my frustration, that I wanted to submit

Re: regarding const variables/structures

2018-09-14 Thread inventsekar
I didnt get you... I thanked Valdis for his detailed mail.. On Thu 13 Sep, 2018, 3:20 PM Tobin C. Harding, wrote: > On Wed, Sep 12, 2018 at 11:53:57PM +0530, inventsekar wrote: > > Thanks a ton, Valdis. > > Another tip for you, read up on what 'top posting' is and don't do it :) > > Shamelessly

Re: regarding const variables/structures

2018-09-13 Thread Tobin C. Harding
On Wed, Sep 12, 2018 at 11:53:57PM +0530, inventsekar wrote: > Thanks a ton, Valdis. Another tip for you, read up on what 'top posting' is and don't do it :) Shamelessly stealing Greg's 'top posting' link: https://daringfireball.net/2007/07/on_top Good luck, Tobin.

Re: regarding const variables/structures

2018-09-13 Thread Nicholas Mc Guire
On Thu, Sep 13, 2018 at 09:12:32AM +0530, inventsekar wrote: > >>> A brute force grep in the kernel shows that there are 130493 " const " > in there > Hi Hofrat, > 1. may i know the command to do this above grep please.. $ grep -cre " const " * | more will give you the " const " count per file -

Re: regarding const variables/structures

2018-09-12 Thread inventsekar
>>> A brute force grep in the kernel shows that there are 130493 " const " in there Hi Hofrat, 1. may i know the command to do this above grep please.. 2. (and the opposite) may i know the command to grep other type of variables/structures thanks again.. your points and Greg's points are very

Re: regarding const variables/structures

2018-09-12 Thread inventsekar
Thanks a ton, Valdis. On Wed 12 Sep, 2018, 11:23 PM , wrote: > On Wed, 12 Sep 2018 22:40:50 +0530, inventsekar said: > > > So, please suggest some subsystems or some small puedes of code, where i > > can "dwell" sometimes and submit my first patch. > > 0) subsystems? Anything under

Re: regarding const variables/structures

2018-09-12 Thread valdis . kletnieks
On Wed, 12 Sep 2018 22:40:50 +0530, inventsekar said: > So, please suggest some subsystems or some small puedes of code, where i > can "dwell" sometimes and submit my first patch. 0) subsystems? Anything under drivers/staging is fair game and certain to provide hours of amusement... 1) Install

Re: regarding const variables/structures

2018-09-12 Thread inventsekar
Thx Hofrat and Greg.. Kindly suggest me one more thing...(for newbies like me)... I hope she didn't complete that job (Converting all structs/variables to const) (As she did that in last Dec, some new code may be written in the old style, ...Or, she may not have converted 100% structs, variables)

Re: regarding const variables/structures

2018-09-12 Thread Nicholas Mc Guire
On Wed, Sep 12, 2018 at 11:50:35AM +0530, inventsekar wrote: > Hi All... > One curious question.. > > Linux Foundation tweeted this - > Meet Bhumika Goyal, age 22, from India. She has had more 340 patches > accepted into the Linux kernel, which helped her land one of our two Linux > Kernel Guru

Re: regarding const variables/structures

2018-09-12 Thread Greg KH
On Wed, Sep 12, 2018 at 11:50:35AM +0530, inventsekar wrote: > the question is that, how these many const variable issues are left/missed > by the previous developers?!?! Because we never realized the benifit of doing so when we created the code to start with. And then others copied previous

regarding const variables/structures

2018-09-12 Thread inventsekar
Hi All... One curious question.. Linux Foundation tweeted this - Meet Bhumika Goyal, age 22, from India. She has had more 340 patches accepted into the Linux kernel, which helped her land one of our two Linux Kernel Guru LiFT scholarships: