I am trying to track down a trackpad bug that started after the 2.6.35-22 kernel in 10.10 and before the 2.6.38-8 kernel in 11.04. I am told that to bisect the kernel is the way to go.

In the bisection instructions an example is given:

Code:
git log --oneline Ubuntu-2.6.35-24.42..Ubuntu-2.6.35-25.43
How do I calculate the right values for git based on the two known kernels (2.6.35-22 and 2.6.38-8) I have?