aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gart.h
diff options
context:
space:
mode:
authorMikulas Patocka <[email protected]>2021-07-12 19:35:46 +0000
committerMasahiro Yamada <[email protected]>2021-07-18 14:48:14 +0000
commit5df99bec210a2cf89dd91e52f0d0a714bf4cd96a (patch)
tree0b8a2df1f728e0758d8238aaf81ae5f32559fd18 /drivers/gpu/drm/amd/amdgpu/amdgpu_gart.h
parentLinux 5.14-rc1 (diff)
downloadkernel-5df99bec210a2cf89dd91e52f0d0a714bf4cd96a.tar.gz
kernel-5df99bec210a2cf89dd91e52f0d0a714bf4cd96a.zip
scripts/setlocalversion: fix a bug when LOCALVERSION is empty
The commit 042da426f8eb ("scripts/setlocalversion: simplify the short version part") reduces indentation. Unfortunately, it also changes behavior in a subtle way - if the user has empty "LOCALVERSION" variable, the plus sign is appended to the kernel version. It wasn't appended before. This patch reverts to the old behavior - we append the plus sign only if the LOCALVERSION variable is not set. Fixes: 042da426f8eb ("scripts/setlocalversion: simplify the short version part") Signed-off-by: Mikulas Patocka <[email protected]> Signed-off-by: Masahiro Yamada <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gart.h')
0 files changed, 0 insertions, 0 deletions