Linux kernel patch and development source tree

linux-kernelpatch

We are using linux3.12 and its led driver has a bug which got fixed in later version of Linux. We see that driver change in Linux 3.15 see Linux Cross Reference

Now my question is how can I find a patch which induced this change ?

Another question is how can I get access to development kernel source tree e.g. kernel-3.14.18 tree ?

Best Answer

how can I find a patch which induced this change

Use cgit, go here and click on tree. Navigate to the file you're looking for and then click log. You can then see the changes to the file.

https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/log/drivers/leds/led-core.c

To download the Linux kernel sources, go to kernel.org and choose your version.

The unstable development tree is here: https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/

Related Question