I've been debugging an issue in my linux kernel and have found a fix for the issue. Checking cross reference, I can see that the fix was applied to that file between kernel version A and kernel version B.

What is the best way to find the patch the exact patch that this fix got checked in with? I would like to see if there are other issues that are fixed with the same patch.

Thing I know:

  • Exact file and line of code that changed
  • Kernel version where the bug was present and the version that it was fixed in


1 Answer 1


You might get somewhere browsing the torvalds git tree, eg for the file time/hrtimer.c. Click on blame and for each line number you see the last patch applied. You can also browse the history for older patches.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.