Received: by 2002:ab2:7a55:0:b0:1f4:4a7d:290d with SMTP id u21csp693169lqp; Fri, 5 Apr 2024 06:18:31 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWCttkYX8t+9vo+G9Eq/Q1kzKbgQcbmmEJI+yZDcz9fe7oNeKOl4lvB8eg8HXH8QFIjb69rvnZwqpLeI+rYvD6zC99R0b8N1ucgs02R+A== X-Google-Smtp-Source: AGHT+IGTVfOh42gEvSYyHOuzhZ6e2gSuPItgWQj4nMztZcinu00Llekl5xVgpG2/8eCmpSD4g0D9 X-Received: by 2002:a05:6358:8597:b0:17f:89f2:5c18 with SMTP id l23-20020a056358859700b0017f89f25c18mr1532814rwk.6.1712323110676; Fri, 05 Apr 2024 06:18:30 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712323110; cv=pass; d=google.com; s=arc-20160816; b=LjWGpTMJqnbi6AR/8HE1JYOmy2QapI/JDRbSMkKdqarF+JXCTbaF8KlT9mZwyg9XNH H4SBRbB04p4bhcb2QUQxZgNLagsb49cjqaaRQ4lGa+WGZ4gQ9YpOQloLbAJITfwCstnR hDkIjoATNNsTO/ucf1Pk/H9y26un45H6oe0p+y8BHaMbO01LNk6qKLVMVW5sH7riszcu PcRQhnyI5JCbqBTtea5mKdimMhnDNmQfaWyuXoqxuGzeKRZkMnLzcUkCpXH6FI0FdNE6 9uR8AEl4Iq0CRMTr5tuZACehT/ub2EctBVQg8hgpuvncZWPISKsom7RFUWihGY9KnaHa a4Gw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=0rpP1b9ywzeBVaIjeTitxCbUcmIJSm+jrrHMh0zIUvo=; fh=WPfUtVPhyhy9Zth7y4kycJxgEcOZ3mPevy+8jdz5FHI=; b=X5e0M1ohCy31O0xHkg3DN0nbyVbkZSJr02oSnaSKJMrfa/btF9UTZuXhXXRjKRFFsC UcyMBNVFeB0nBmn0iMNPh0lBsxOS9MP6gvxEjqbyvZu66yJiWJQrPJTdSrK09s1LRQid DbdhRywEeG2z5BQc8BFDhknNcMvw8U9MgGLVozS+gZe5mwMqAgeB44u7avt8Kny+0tFe tNylI41ro4zzpGFajn2VGp6eb7+Vgt4ZbSdQ2ZuWdWdeVnyH3kozGPGBt+GSWg6+tFkG qiXxB0nt02Fb4Mm+Qzyl9QVSXNCZNh27RKtYHJVNQ9qxc8rhmow7+2r3aJ+QXH02MspS A9jw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=4kK09E5y; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-133057-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-133057-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 23-20020a630d57000000b005dc892e61d3si1346143pgn.657.2024.04.05.06.18.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Apr 2024 06:18:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-133057-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=4kK09E5y; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-133057-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-133057-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 666E5283411 for ; Fri, 5 Apr 2024 13:18:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7EE8C16D4F1; Fri, 5 Apr 2024 13:18:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="4kK09E5y" Received: from madrid.collaboradmins.com (madrid.collaboradmins.com [46.235.227.194]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 32D361649A7; Fri, 5 Apr 2024 13:18:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.235.227.194 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712323095; cv=none; b=BoKSA5+coaCq67+2Dhy9KOeWp32oXcdwS/LTCRxgj/U2T7NBUyca0L9ws9U3eBrFmk9If9pJyplZVUMqkZDRfDWs3u/6sd/GK7fBtwX9M/9TOfYG6s6fbw9txwki2EDk45lYTvicsiCQ+RPZW0eEZxtUZQDPvlYAgixzPzjA/7o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712323095; c=relaxed/simple; bh=BK5hFtNFiolnEtNNhwHZpqgolDF4VaR+KUumWAMdM1A=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=o2uJmWKXU8HjhPLdKKBl0o2VU70uLpEBOc1DZsFCdM4IyPGynHF1K5LMEbo5ecqv6HkAGCVM4qa2vNhLHrwt3kVJo3bwGH5/70RpSC/xKzXj7+JCPonBNVt8SdpquKsQaZIplYoCUGDoSnz1V+tnmF0TjLwgXlg9uSAH2IBfbps= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com; spf=pass smtp.mailfrom=collabora.com; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b=4kK09E5y; arc=none smtp.client-ip=46.235.227.194 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=collabora.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1712323092; bh=BK5hFtNFiolnEtNNhwHZpqgolDF4VaR+KUumWAMdM1A=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=4kK09E5yM/N5Y46oRwtZvG0xaYdNBBoY3Ta/kCD2Dd8fITbqzSB5MwLHdpIW7s4AH JzH0nrhZbvvcMIrGOvKMvQnlWM61Nd5OFA/gzFVjQz3Jnyvtyd19UsH/kpWJksWxM4 +sPw0Z0FyE7PMG0VFYXfkpdg1Sw8rEQNABIfAAJ7io5IPY5NmRJJfK2nZq/wxO0l+x lbcrt+IIdt6A5qXttc/8wQVlTDxGijbu/zXutjxLKHYU4aOn1TLPfX5jK6LVD32K7l PzdCEJHiehqOONBXTYyclHJS2hzL4CPES0e+64R/YKbXqGL883xWem24jsls29s614 h/cQQDqJcwqUg== Received: from localhost.localdomain (broslavsky.collaboradmins.com [68.183.210.73]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: usama.anjum) by madrid.collaboradmins.com (Postfix) with ESMTPSA id EDDEA3782131; Fri, 5 Apr 2024 13:18:08 +0000 (UTC) From: Muhammad Usama Anjum To: Eric Biederman , Kees Cook , Shuah Khan , Andrew Morton , Muhammad Usama Anjum , linux-mm@kvack.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org Cc: kernel@collabora.com Subject: [PATCH 1/2] selftests: Replace "Bail out" with "Error" Date: Fri, 5 Apr 2024 18:17:47 +0500 Message-Id: <20240405131748.1582646-2-usama.anjum@collabora.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240405131748.1582646-1-usama.anjum@collabora.com> References: <20240405131748.1582646-1-usama.anjum@collabora.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit "Bail out! " is not descriptive. It rather should be: "Failed: " and then that added prefix doesn't need to be added everywhere. Usually in the logs, we are searching for "Failed" or "Error" instead of "Bail out". Suggested-by: Kees Cook Signed-off-by: Muhammad Usama Anjum --- tools/testing/selftests/kselftest.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/kselftest.h b/tools/testing/selftests/kselftest.h index 2cd93d220f434..9d1d8c5a73ab2 100644 --- a/tools/testing/selftests/kselftest.h +++ b/tools/testing/selftests/kselftest.h @@ -362,7 +362,7 @@ static inline __printf(1, 2) int ksft_exit_fail_msg(const char *msg, ...) va_list args; va_start(args, msg); - printf("Bail out! "); + printf("Error: "); errno = saved_errno; vprintf(msg, args); va_end(args); -- 2.39.2