We often have the situation of testing or applying someones patch or to remove the changes made by a patch. It may happen that a patch is not correctly applied and result into to dirty source code. This simple bit of information will help you to carefully apply the patch to your source code and also revert the changes back to original state if required. I’m using linux kernel version 3.0.42+ as example and Elan Touch Screen patch file(patch-linux-3.0.42+_elan_ts.patch).
In this tutorial, we will upgrade linux kernel 2.6.36 to 18.104.22.168. And at the same time we will patch it with the bootsplash patch. We are not going in to details of kernel compilation here, you can find excellent tutorial available out there.