From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-lj1-f178.google.com (mail-lj1-f178.google.com [209.85.208.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 047DD1BF309 for ; Fri, 2 Aug 2024 12:45:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.178 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722602745; cv=none; b=cWOJUwmcyKHMHsOx3tOKI+yXeRcr0tupfuMieTf2+3Sec4jk3nsp0bPtWBxZTcBfMoX/TUMcJM0jalFpP+Zy/gIeXmxqTuiQ8+B1UFQRRn5WYxKHxByLiMwa6vIEKLhU6k9SPk989exSiOPtFdN0jtL9/iLKfZ+eEWHdCxGcYDo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722602745; c=relaxed/simple; bh=tiHV62W1WLgEASnBkRMbzZagftzo0qxoQXN58XE/beQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=RcWwGiwHY5sXbmm9fzIMMOcVybW6TA3ffDN2f4JqnzaP/5uSIG4w94YGa7yyqBfl0R53MkVfH9hFqeYNnLXzeJrOzP6EL2zqcIPGc38Dvr5BDM/OM06TEpzE8I2kvNFwQuGofp3xQzDj79PBEb07XSJLXmEPCwjBq19nRtPpjhg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=BDHU9Iws; arc=none smtp.client-ip=209.85.208.178 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="BDHU9Iws" Received: by mail-lj1-f178.google.com with SMTP id 38308e7fff4ca-2f149845d81so47096741fa.0 for ; Fri, 02 Aug 2024 05:45:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1722602740; x=1723207540; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=kQadfcLj0dbMeA91m7FGzai+vkUYG1DvlG0x0uq/CWQ=; b=BDHU9IwsyPc8Kxp6Shf6D8mk5SRsKDOGAWneg8zYgzdz5YTHBLQGRjGuxaDas1svgF Doj6+F/qllxfgLvKESC/OnZQYBpRsCOsfNvrn9pfLNmwjyD50+8Olnu6EGmw57aK6vnL DXtWkTWmKWJ9RTsYE2/wW9PasY0/UsUEN5F8JUAJA2j55E80ctkj+HcWH7SXQxWrNMUc 1MyHfVByzmIJQcrNNtq4scXxfaT3gOM6vnIG6wsCH5MwU3ArARUyOS7s/ERt7Q0LQt7T zRCOGzn+imRxRyrqyBE1E9uSsRx5BWIJd4CYEXH9EnA7gZHbBUONxdcUgbCPALAWM73/ dTFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722602740; x=1723207540; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=kQadfcLj0dbMeA91m7FGzai+vkUYG1DvlG0x0uq/CWQ=; b=tl3yXPGiE0R+xlTf9KHHALCDnNJan9P84I8zr2EYN3ZB3WmqUheCZbqvh3raCfrBvY 9Y4RduS5i0DDHjK6GbYKVuCdd+Giy3cMBOW2fKKdYAE5COmmGriHSgaw71N0J0+SQRC4 gr0jvI1hP8zSLVsP75taDBuAIXxGYyLaAOO6RWhD5eo4HKaq6ZqyIT87IOQ55UKLYWbt Q2PMuYcI8ZAkCwzJLRgvwEX3R2ZNcsrN9GYK8sn/zEhifyAjWQOklH3ojcyvtxcWlpQF vqJgn/WFA4Xuth0StJGeOHY79lZCeqzYdOkJK/vUmin57FF0WsKW5vM6Sl52C2sxM92H Yksg== X-Forwarded-Encrypted: i=1; AJvYcCXXqShPB4eb+9t9uO4//ry+qGVGRQvcDq2dm/arzccaX+lxBho6H2cdTk7VauaQ6ZV5iSnpRv0/gfJfvO+QJ5gAEvjhQ4tiYkchvKEE X-Gm-Message-State: AOJu0YzDeLQa69CPOsumKYmrIQshNnGAe637tVSTYsyWByB0sRsPVYHT SJ22aeBqzXg0T9R8R0KT+Mz+mUAhKlBIRx1oG17zvcRkSct1hMnVQDKbIW7spn8= X-Google-Smtp-Source: AGHT+IGPr/cTRmNKJixkMUcjn1GhBezt4VMjTUceJqHStS9ST6UWMb+IoVyz7mZbggjMOS71BVFYIA== X-Received: by 2002:a05:6512:3e15:b0:52c:e0fb:92c0 with SMTP id 2adb3069b0e04-530bb385315mr1973294e87.34.1722602739950; Fri, 02 Aug 2024 05:45:39 -0700 (PDT) Received: from localhost (c-9b0ee555.07-21-73746f28.bbcust.telenor.se. [85.229.14.155]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-530bba07e6fsm218765e87.39.2024.08.02.05.45.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Aug 2024 05:45:39 -0700 (PDT) From: Anders Roxell To: ojeda@kernel.org, alex.gaynor@gmail.com, wedsonaf@gmail.com, shuah@kernel.org Cc: rust-for-linux@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, Anders Roxell Subject: [PATCH 1/2] selftests: rust: config: add trailing newline Date: Fri, 2 Aug 2024 14:45:35 +0200 Message-ID: <20240802124536.2905797-1-anders.roxell@linaro.org> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 wont 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 --- tools/testing/selftests/rust/config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/rust/config b/tools/testing/selftests/rust/config index b4002acd40bc..fa06cebae232 100644 --- a/tools/testing/selftests/rust/config +++ b/tools/testing/selftests/rust/config @@ -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 -- 2.43.0