Re: unable to find function definition

2016-04-26 Thread Jay Aurabind
On 27 April 2016 at 07:05, John de la Garza wrote: > On Tue, Apr 26, 2016 at 02:00:02PM +0530, Jay Aurabind wrote: >> On 20 April 2016 at 12:56, Cihangir Akturk wrote: >> > On Wed, Apr 20, 2016 at 06:17:38AM +, Nijam Haider wrote: >> >> i was going through

Re: unable to find function definition

2016-04-26 Thread nizam haider
Thank you all for replies. sure these are helping a lot. On Wed 27 Apr, 2016 8:35 am Jay Aurabind, wrote: > On 27 April 2016 at 07:05, John de la Garza wrote: > > On Tue, Apr 26, 2016 at 02:00:02PM +0530, Jay Aurabind wrote: > >> On 20 April 2016 at

Re: unable to find function definition

2016-04-26 Thread John de la Garza
On Tue, Apr 26, 2016 at 02:00:02PM +0530, Jay Aurabind wrote: > On 20 April 2016 at 12:56, Cihangir Akturk wrote: > > On Wed, Apr 20, 2016 at 06:17:38AM +, Nijam Haider wrote: > >> i was going through the code leds-gpio.c. > >> i found a function "platform_gpio_blink_set"

Re: unable to find function definition

2016-04-26 Thread Silvan Jegen
On Tue, Apr 26, 2016 at 11:24:43AM -0400, valdis.kletni...@vt.edu wrote: > On Tue, 26 Apr 2016 15:31:51 +0200, Silvan Jegen said: > > > A simple but naive approach would be a grep command like this. > > > > grep "function_pointer =" `find . -iname '*.c' -o -iname '*.h'` > > Two better ways: > >

Re: unable to find function definition

2016-04-26 Thread Valdis . Kletnieks
On Tue, 26 Apr 2016 15:31:51 +0200, Silvan Jegen said: > A simple but naive approach would be a grep command like this. > > grep "function_pointer =" `find . -iname '*.c' -o -iname '*.h'` Two better ways: grep -r "function_pointer =' [A-Za-z]* find * -name '*.[ch]' | xargs grep 'function

Re: unable to find function definition

2016-04-26 Thread Silvan Jegen
Am 2016-04-26 14:56, schrieb Jay Aurabind: > On 26 April 2016 at 16:15, Silvan Jegen wrote: >> Am 2016-04-26 10:50, schrieb Gadre Nayan: >>> >>> Ctags can help. Ctags -R on the entire source. >> >> >> In the Kernel Makefile there is actually a target for this. It's >> called

Re: unable to find function definition

2016-04-26 Thread Jay Aurabind
On 26 April 2016 at 16:15, Silvan Jegen wrote: > Am 2016-04-26 10:50, schrieb Gadre Nayan: >> >> Ctags can help. Ctags -R on the entire source. > > > In the Kernel Makefile there is actually a target for this. It's called > either 'tags' or 'tag' so > > make tags [or tag] > >

Re: unable to find function definition

2016-04-26 Thread Silvan Jegen
Am 2016-04-26 10:50, schrieb Gadre Nayan: > Ctags can help. Ctags -R on the entire source. In the Kernel Makefile there is actually a target for this. It's called either 'tags' or 'tag' so make tags [or tag] should create the ctag file for you. Cheers, Silvan

Re: Contributing to Kernel Networking stack

2016-04-26 Thread Bjørn Mork
Shraddha kamat writes: > I have strong desire to contribute to kernel networking stack. What is the > most effective way to do some pretty significant changes (bug fixes, > feature addition) in less time. By providing high quality patches which improve Linux and require

Re: unable to find function definition

2016-04-26 Thread Gadre Nayan
Ctags can help. Ctags -R on the entire source. On 26 Apr 2016 2:19 p.m., "Jay Aurabind" wrote: > On 20 April 2016 at 12:56, Cihangir Akturk wrote: > > On Wed, Apr 20, 2016 at 06:17:38AM +, Nijam Haider wrote: > >> i was going through the code

Re: unable to find function definition

2016-04-26 Thread Jay Aurabind
On 20 April 2016 at 12:56, Cihangir Akturk wrote: > On Wed, Apr 20, 2016 at 06:17:38AM +, Nijam Haider wrote: >> i was going through the code leds-gpio.c. >> i found a function "platform_gpio_blink_set" declared under private data of >> "gpio_led_data",and was trying to get