The range is (max - min + 1) because the kernel range is inclusive min and max. Let's fix that once and for all with a helper function. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
We only touch src and tools, imported headers from include are not ours to change. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>