Contribute

Greg KH greg at kroah.com
Sat Jul 22 09:13:17 EDT 2017


On Sat, Jul 22, 2017 at 12:21:15PM +0200, nunojsa wrote:
> On 22.07.2017 11:56, Greg KH wrote:
> > On Sat, Jul 22, 2017 at 11:39:45AM +0200, nunojsa wrote:
> >> Hi all,
> >>
> >> Im fairly new to linux kernel and would like to start with some staging work (seems like the best way to start).
> >> Basically what i would like to know is which tree should i clone for this? My understanding is that one should never work directly on top of the mainline tree, instead (for this case) on top of the linux staging tree. The same goes, for example, for USB subsystem development in which case i should just clone the usb development tree (and the same for all subsystems).
> >>
> >> Is my understanding correct?
> > 
> > Yes it is, make sure you work off of the correct branch as well.  For> the staging tree, working off of the staging-next is best.
> 
> This would be my next question. Regarding the linux-next tree, the
> same as i wrote before also applies? So, I should not work directly in
> the linux-next tree but instead in the correspondent branch
> (subsystem-next) of the specific subsystem I'm working on? 

You can use linux-next just fine, as it includes the staging-next
branch, along with all other subsystem's development trees.

Just be careful, linux-next rebases every day, you might have a harder
time doing development on it if you don't really know what you are doing
with git.

hope this helps,

greg k-h



More information about the Kernelnewbies mailing list