* [PATCH] scripts: Make the code use consistent syntax
@ 2026-08-17 23:03 Bhaskar Chowdhury
2026-08-18 19:01 ` Nathan Chancellor
0 siblings, 1 reply; 2+ messages in thread
From: Bhaskar Chowdhury @ 2026-08-17 23:03 UTC (permalink / raw)
To: nathan, nsc, unixbhaskar, linux-kbuild, linux-kernel
The code was using a different form of syntax. So, make it more
consistent with a similar kind of syntax.
Signed-off-by: Bhaskar Chowdhury <unixbhaskar@gmail.com>
---
scripts/mkcompile_h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/mkcompile_h b/scripts/mkcompile_h
index 2596f78e52ef..bf0d5669d9bc 100755
--- a/scripts/mkcompile_h
+++ b/scripts/mkcompile_h
@@ -11,7 +11,7 @@ else
LINUX_COMPILE_BY=$KBUILD_BUILD_USER
fi
if test -z "$KBUILD_BUILD_HOST"; then
- LINUX_COMPILE_HOST=`uname -n`
+ LINUX_COMPILE_HOST=$(uname -n)
else
LINUX_COMPILE_HOST=$KBUILD_BUILD_HOST
fi
--
2.54.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] scripts: Make the code use consistent syntax
2026-08-17 23:03 [PATCH] scripts: Make the code use consistent syntax Bhaskar Chowdhury
@ 2026-08-18 19:01 ` Nathan Chancellor
0 siblings, 0 replies; 2+ messages in thread
From: Nathan Chancellor @ 2026-08-18 19:01 UTC (permalink / raw)
To: Bhaskar Chowdhury; +Cc: nathan, nsc, linux-kbuild, linux-kernel
> The code was using a different form of syntax. So, make it more
> consistent with a similar kind of syntax.
Please make the commit subject and message more descriptive for what is
being modified (scripts/mkcompile_h, not scripts in general) and how/why
it is being modified. What you have is just too generic in my opinion.
Maybe something like
scripts/mkcompile_h: Update LINUX_COMPILE_HOST command substitution syntax
The assignment of LINUX_COMPILE_HOST uses the classic backtick style
for its command substitution but the rest of the script uses the more
common '$()'. Update LINUX_COMPILE_HOST to match for consistency.
Otherwise, change itself seems fine. I will pick up your next revision
for 7.4 when 7.3-rc1 is out.
--
Cheers,
Nathan
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-08-18 19:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-17 23:03 [PATCH] scripts: Make the code use consistent syntax Bhaskar Chowdhury
2026-08-18 19:01 ` Nathan Chancellor
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox