Re: [android-kernel] Regarding coding standards for GPL license device drivers code

2010-06-30 Thread Dwi Sasongko Supriyadi
On Wed, Jun 30, 2010 at 10:49 PM, Raj Kumar wrote: > Hi, > > ok thats great. But kernel code will go under GPL but user space code will > not. > > But again question is if the kernel side driver is released under GPL, then do > > we need to follow coding styles like /linuxsrc/Documentation/Coding

Re: [android-kernel] Regarding coding standards for GPL license device drivers code

2010-06-30 Thread Greg KH
On Wed, Jun 30, 2010 at 8:49 AM, Raj Kumar wrote: > Hi, > > ok thats great. But kernel code will go under GPL but user space code will > not. Be careful about the "derivative works" part, if your userspace is tied very closely to kernelspace, then both need to have the same license. A lawyer can

Re: [android-kernel] Regarding coding standards for GPL license device drivers code

2010-06-30 Thread Raj Kumar
Hi, ok thats great. But kernel code will go under GPL but user space code will not. But again question is if the kernel side driver is released under GPL, then do we need to follow coding styles like /linuxsrc/Documentation/CodingStyle? regards Raj On Wed, Jun 30, 2010 at 5:28 PM, Greg KH wro

Re: [android-kernel] Regarding coding standards for GPL license device drivers code

2010-06-30 Thread Greg KH
On Wed, Jun 30, 2010 at 8:21 AM, Raj Kumar wrote: > Ok. thats great. because i was thinking if we have proprietary driver whose > some parts are under GPL and some parts under proprietary license, Wait right there. You can not have such a thing, that violates the GPL, so it is impossible, sorry.

Re: [android-kernel] Regarding coding standards for GPL license device drivers code

2010-06-30 Thread Raj Kumar
Ok. thats great. because i was thinking if we have proprietary driver whose some parts are under GPL and some parts under proprietary license, then it means GPL does not enforce any coding standards so then proprietary license company can define its code style for its driver code but not strictly a

Re: [android-kernel] Regarding coding standards for GPL license device drivers code

2010-06-30 Thread Greg KH
On Wed, Jun 30, 2010 at 2:39 AM, Raj Kumar wrote: > Hi, > > I have question regarding coding standards for drivers. I know that > kernel code follows the coding standard > defined by Kernelsrc/Documentation/CodingStyle. > > But if we have to release the code (drivers) under GPL license, Does > GPL

[android-kernel] Regarding coding standards for GPL license device drivers code

2010-06-30 Thread Raj Kumar
Hi, I have question regarding coding standards for drivers. I know that kernel code follows the coding standard defined by Kernelsrc/Documentation/CodingStyle. But if we have to release the code (drivers) under GPL license, Does GPL License forces the coding styles as per Kernelsrc/Documentation/