]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
selftests: rust: config: add trailing newline
authorAnders Roxell <anders.roxell@linaro.org>
Fri, 2 Aug 2024 12:45:35 +0000 (14:45 +0200)
committerShuah Khan <skhan@linuxfoundation.org>
Sun, 11 Aug 2024 23:32:49 +0000 (17:32 -0600)
If adding multiple config files to the merge_config.sh script and
rust/config is the fist one, then the last config fragment in this file
and the first config fragment in the second file won't be set, since
there isn't a newline in this file, so those two fragements end up at
the same row like:
CONFIG_SAMPLE_RUST_PRINT=mCONFIG_FRAGMENT=y

And non of those will be enabled when running 'olddefconfig' after.

Fixing the issue by adding a newline to the file.

Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Acked-by: Miguel Ojeda <ojeda@kernel.org>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/testing/selftests/rust/config

index b4002acd40bc94a1ad82b7c32619fbd8c7c1b1fe..fa06cebae23268338cbd337dcbc6e5f42ec85f1a 100644 (file)
@@ -2,4 +2,4 @@ CONFIG_RUST=y
 CONFIG_SAMPLES=y
 CONFIG_SAMPLES_RUST=y
 CONFIG_SAMPLE_RUST_MINIMAL=m
-CONFIG_SAMPLE_RUST_PRINT=m
\ No newline at end of file
+CONFIG_SAMPLE_RUST_PRINT=m