]> git.baikalelectronics.ru Git - kernel.git/commit
mkcompile_h: git rid of UTS_TRUNCATE from LINUX_COMPILE_{BY,HOST}
authorMasahiro Yamada <masahiroy@kernel.org>
Fri, 6 Dec 2019 13:03:01 +0000 (22:03 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Sat, 14 Dec 2019 06:53:04 +0000 (15:53 +0900)
commitae2eb0af33e8102bd7e4d5caf91f2052447ad2cc
tree8644c9798233ef2dc31d2b20c41f77f195dc106d
parent880ac4fc95166eb68b3d0b79311ad6a198baec94
mkcompile_h: git rid of UTS_TRUNCATE from LINUX_COMPILE_{BY,HOST}

UTS_VERSION is set to struct uts_namespace, hence a too long string
should be truncated so it fits in 64 characters.

On the other hand, LINUX_COMPILE_BY/HOST are not set to uts_namespace.
They are just used in the banners, which do not have specific length
limitation.

I dug into the git history, but I could not find the reason why
these two strings must fit in 64 characters. Remove them.

Now that UTS_VERSION is the only user of UTS_TRUNCATE, I squashed it.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
scripts/mkcompile_h