Understanding merge window and next-tree

2021-09-10 Thread Lafan Mining
I'm trying to understand how Linux Kernel development works and reading the relevant documentation at https://www.kernel.org/doc/html/latest/process/2.Process.html So there is the so called next-tree accumulating all the patches from all the subsystems ready for merge and the mainline tree. The

When to use torvalds/linux.git and next/linux-next.git

2021-09-10 Thread Lafan Mining
I recently came across a situation when [https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/](https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/input_system.c#n1649) contained a code that was failed t

Re: Kernel upstream compile error at drivers/staging/media

2021-09-10 Thread Lafan Mining
On Wednesday, September 8th, 2021 at 7:19 PM, Lukas Bulwahn wrote: > integration tree, and hence in linux-next So generally to get the latest kernel version that is going to be merged into master soon is using linux-next's master? I looked at the https://git.kernel.org/pub/scm/linux/kernel/gi

Re: Kernel upstream compile error at drivers/staging/media

2021-09-08 Thread Lafan Mining
On Wednesday, September 8th, 2021 at 12:50, Greg KH wrote: > Please update your kernel version, this should already be fixed. It's not. There have been sent several patches already to fix this issue. Here are 2 of them: 1. https://lkml.org/lkml/2021/9/5/146 2. https://lore.kernel.org/lkml/2021

Re: Kernel upstream compile error at drivers/staging/media

2021-09-08 Thread Lafan Mining
On Wednesday, September 8th, 2021 at 1:06 PM, Greg KH wrote: > What exactly is the tree you are pulling from? Here is my output of the clone repo $ git remote show origin * remote origin Fetch URL: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git Push URL: git://git.kernel.

Re: Kernel upstream compile error at drivers/staging/media

2021-09-08 Thread Lafan Mining
On Wednesday, September 8th, 2021 at 12:50 PM, Greg KH wrote: > Please update your kernel version, this should already be fixed. > > What version exactly are you trying to build? I tried to build the latest source code available in master. Judging by the latest tag name it's v5.14-rc7. When pu

Kernel upstream compile error at drivers/staging/media

2021-09-08 Thread Lafan Mining
Hello! I'm learning the Linux Kernel and currently faced troubles with building the upstream. I git clone'd source code of master and tried to make deb-pkg. I faced compile error: drivers/staging/media/atomisp/pci/hive_isp_css_common/host/input_system.c: In function ‘input_system_configure_cha