Re: What happen when a hardware is connected to Linux kernel

2014-05-18 Thread Real Name
On Mon, May 19, 2014 at 09:44:54AM +0530, Saurabh Jain wrote: > Hello everyone ! > > Can anybody tell me the sequence of common events when a hardware (Lets > say USB stick/ keyboard) is connected to a machine running Linux kernel ? > Actually i am new to this Device Driver field and i want to kn

What happen when a hardware is connected to Linux kernel

2014-05-18 Thread Saurabh Jain
Hello everyone ! Can anybody tell me the sequence of common events when a hardware (Lets say USB stick/ keyboard) is connected to a machine running Linux kernel ? Actually i am new to this Device Driver field and i want to know what happen in common when a device is connected to a machine running

Re: Where to base my patches on?

2014-05-18 Thread Valdis . Kletnieks
On Sun, 18 May 2014 11:20:39 -0700, Greg KH said: > On Sun, May 18, 2014 at 07:20:03PM +0200, Matthias Beyer wrote: > > > > Besides, I received this mail about 10 times. Maybe something went > > wrong somewhere? > > The joys of sending email over a cell phone while on a ferry in the > middle of the

Re: Where to base my patches on?

2014-05-18 Thread Greg KH
On Sun, May 18, 2014 at 07:20:03PM +0200, Matthias Beyer wrote: > > Besides, I received this mail about 10 times. Maybe something went > wrong somewhere? The joys of sending email over a cell phone while on a ferry in the middle of the puget sound, sorry about that. greg k-h ___

Re: Where to base my patches on?

2014-05-18 Thread Matthias Beyer
Hi, thanks, this helps a lot. I'm doing checkpatch.pl cleanup patches for the staging stuff. Besides, I received this mail about 10 times. Maybe something went wrong somewhere? On 18-05-2014 10:09:11, Greg KH wrote: > On Sun, May 18, 2014 at 06:31:15PM +0200, Matthias Beyer wrote: > > Hi, > > >

Re: Where to base my patches on?

2014-05-18 Thread Greg KH
On Sun, May 18, 2014 at 06:31:15PM +0200, Matthias Beyer wrote: > Hi, > > quick question: > > Greg K-H said[0] that drivers/staging/*/TODO help is appreciated, and > that's where I want to start from. I already submitted patches, based > on Linus Torvalds master, but I guess this is not really ho

Where to base my patches on?

2014-05-18 Thread Matthias Beyer
Hi, quick question: Greg K-H said[0] that drivers/staging/*/TODO help is appreciated, and that's where I want to start from. I already submitted patches, based on Linus Torvalds master, but I guess this is not really how to do it? So where to base my patches on? I just fetched the branches from

Re: Boot Custom Kernel

2014-05-18 Thread Lucas Tanure
if you use arch linux you can: https://wiki.archlinux.org/index.php/Kernels/Compilation/Traditional after I copy all the needed files, and do a make modules_install, I simply run grub-mkconfig -o /boot/grub/grub.conf and fix the initrd problem -- Lucas Tanure +55 (19) 988176559 On Sun, May 18,

Re: Boot Custom Kernel

2014-05-18 Thread Michael J. Astrauskas
On 5/18/2014 6:56 AM, me storage wrote: > Hai all > Can any one please tell me how to boot custom kernel with out making > any changes in the grub.That means i don't to use the custom kernel as > default one.just i want to run it once. > Thanks > When the GRUB (GRUB 1, I'm assuming) menu appears,

Re: Boot Custom Kernel

2014-05-18 Thread Valdis . Kletnieks
On Sun, 18 May 2014 19:26:19 +0530, me storage said: > Can any one please tell me how to boot custom kernel with out making any > changes in the grub.That means i don't to use the custom kernel as default > one.just i want to run it once. Add it to grub but don't make it the default entry. Easy.

Re: Boot Custom Kernel

2014-05-18 Thread Lucas Tanure
Distro please. -- Lucas Tanure +55 (19) 988176559 On Sun, May 18, 2014 at 10:56 AM, me storage wrote: > Hai all > Can any one please tell me how to boot custom kernel with out making any > changes in the grub.That means i don't to use the custom kernel as default > one.just i want to run it onc

Boot Custom Kernel

2014-05-18 Thread me storage
Hai all Can any one please tell me how to boot custom kernel with out making any changes in the grub.That means i don't to use the custom kernel as default one.just i want to run it once. Thanks ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.o

Re: [PATCH RFC] Remove useless return variables

2014-05-18 Thread Peter Senna Tschudin
Added CC: triv...@vger.kernel.org On Sun, May 18, 2014 at 7:04 AM, Andi Kleen wrote: > Peter Senna Tschudin writes: > >> This patch remove variables that are initialized with a constant, >> are never updated, and are only used as parameter of return. >> Return the constant instead of using a var

Re: [PATCH RFC] Remove useless return variables

2014-05-18 Thread Dan Carpenter
On Sat, May 17, 2014 at 10:04:35PM -0700, Andi Kleen wrote: > Peter Senna Tschudin writes: > > > This patch remove variables that are initialized with a constant, > > are never updated, and are only used as parameter of return. > > Return the constant instead of using a variable. > > This ret va