Skip to content
Commit 78d3bb44 authored by Michal Marek's avatar Michal Marek
Browse files

kbuild: Fix <linux/version.h> for empty SUBLEVEL or PATCHLEVEL



expr treats all numbers as decimals, so prepending a zero is safe. Note
that the KERNEL_VERSION() macro still takes three arguments, 3.0 has to be
written as KERNEL_VERSION(3,0,0).

Signed-off-by: default avatarMichal Marek <mmarek@suse.cz>
parent cacd54ef
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment