aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/depmod.sh
diff options
context:
space:
mode:
authorMichal Marek <mmarek@suse.cz>2011-05-30 13:37:20 +0200
committerMichal Marek <mmarek@suse.cz>2011-06-09 23:05:54 +0200
commit78d3bb4483ba1b206dbaaf209219ed517b01f7da (patch)
tree9d4ca72627ad986231f7605d421e30addba02d3b /scripts/depmod.sh
parentkbuild: Fix KERNELVERSION for empty SUBLEVEL or PATCHLEVEL (diff)
downloadlinux-dev-78d3bb4483ba1b206dbaaf209219ed517b01f7da.tar.xz
linux-dev-78d3bb4483ba1b206dbaaf209219ed517b01f7da.zip
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: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'scripts/depmod.sh')
0 files changed, 0 insertions, 0 deletions