Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp88365lqe; Fri, 5 Apr 2024 13:37:57 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUkUfacpQOp79KiJBovOcdwScVODrHzlmSLCvsxiVr7wS/JT3tYt7C8YXlpLADAQvM+VsR0eoY7abucE3XqiFrEEmZf03cFNwfUTnGtZA== X-Google-Smtp-Source: AGHT+IHmsEaF4BYbybQKNqJERkMSdlZgvcEQ4Q42jVASbLNPtf+Ythcw1nZVQHurVbbhw6KUHR+J X-Received: by 2002:a17:90a:9cb:b0:2a2:1eb3:6c6e with SMTP id 69-20020a17090a09cb00b002a21eb36c6emr2202705pjo.28.1712349476964; Fri, 05 Apr 2024 13:37:56 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712349476; cv=pass; d=google.com; s=arc-20160816; b=NR/a72KvOYoRhkinX26SJmA7rNAWs2KA0bpennGpSa3yInlVDP5u6VhQuydvkUw0+q rZBepcFUz3hjN+GWDek2j0xKeRev6e52TXESkGUSU1WW4lcgMskxKna1aTe1Lh2s6NI/ pdWPOo3TYXqIMcH2uTLcESdlBQjAONldRb0tDhBGz5ZYbDQ7ppUNbaJ2UhwNNy8lVM47 AsoImpcJv6gIkj7FbgBxAOpHk65RZAU3LKHVQw6pw9kbT57vPj2XXVw6QqwmMUNXuMes OGRGi1ysVPgdKK3BYjKiQwXUK8Av3CeWWsIHcpapu8FKGnOrC56O05TiCUJWiN5S+vqy o5MA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:cc:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=snpp9s/J3mH55/eauNtpL5oaMuK6HQQWr21+VcDnxYk=; fh=7SBWvnxNV9foiUroC3Lz8WKeqK/ZgZJawo8wqCRyQe4=; b=uTSWTeSw5IgI4J8OIvYxJJP5aibvr5zULqOQ9NM7PAi/ZSljOwvRLh9cd089yptfZj +bhf64X1TUTb1TidclltGpW8PuC6wtSfx2ZNoEprbUn2SxzKyDKJ0EURC7hfo4p5sDji 7afUIkZRMzWdX2sdhxP494bysILJ2z9ncU0s1fBySiAId5IZqJ+T8vcdGAE/eBtU6CVJ kxXcB+5i6aabdVrSYsvuJSSiflZ214jC99SbBwqiZKS8LTdUky7GCzckA/0xPFJpnwjB RM7rdwxTr8ajHstXkhgU/tE3fxznvsxqp7VHQvMBj7fv/l2krTCljUGZrIH4U+y5fBz9 zykQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=qVNO4XF2; 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-133567-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-133567-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. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id o22-20020a17090ab89600b002a2fe9fdb9fsi2052691pjr.176.2024.04.05.13.37.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Apr 2024 13:37:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-133567-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=qVNO4XF2; 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-133567-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-133567-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 9D8B3282EEA for ; Fri, 5 Apr 2024 20:37:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E7587174EDB; Fri, 5 Apr 2024 20:37:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="qVNO4XF2" 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 589C426ACF; Fri, 5 Apr 2024 20:37:48 +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=1712349470; cv=none; b=JlcdWqtfRLYOe0gPTLMulcc0TyJaRLmohzfKp5lRY9C56dETKE6tqaTrh5yBTQD/nmBfprS5jQdcOX3MMMxRPK3hdNZC/ryD0V759evioJ8KTCyqiOmDZwI2CNxwMW9GFEvXxapwqxpWg98b+gniECIa4iUWG5tUTBI7gkLcqdk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712349470; c=relaxed/simple; bh=TlGlGuV5AlXVHNKNLj1rE35qkDjG+kSQ0iD+td99z/Q=; h=Message-ID:Date:MIME-Version:Cc:Subject:To:References:From: In-Reply-To:Content-Type; b=m2PeX0d+SsJs3Px5uofaHCHCKj1G1GQCAPPTBSymlFLouCdZPzxf4sg+mf1ncyRV0SoHp8s6LF53O5ZxYnippOEDG3mITisuvjz7+kuS1fyDqffT2RxlL4uMXf6lnIo/u+NGsh6pX0YSX/5xR3fZkvxvgXkRd0Z4A4aKiYwppxs= 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=qVNO4XF2; 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=1712349466; bh=TlGlGuV5AlXVHNKNLj1rE35qkDjG+kSQ0iD+td99z/Q=; h=Date:Cc:Subject:To:References:From:In-Reply-To:From; b=qVNO4XF2L9KqxAGJJaGvGBGCKEVV3bFO4bcRdlwURbu4byJU4Pr+5fIb1uh70Icv0 TBHcro1iPw3pXn5WAwTKwHhbPykPnwrmzqlN/EsL1DosoOD/4KQAUhSFMfWPZfJ16n TzNCWuwkaUPd7Nht+4qFZTD4rSsYQMbTNQXCg/ku8xWZcc+62VzI2Lo/ZHXpEbz9f1 V3nd16CQCdMDTKlfc1bgWS03OQOaVKaFHxCFXm8AiK8OKOAyGheKPqg2zKYXQ1v3Nk q2HXHtes5qzm1SQYyaxnFgL3aMIWYaO7bC23qm/3E++nvrqMKt5xy3KotiYUWNEYVw Pot7kax3OiiBg== Received: from [10.193.1.1] (broslavsky.collaboradmins.com [68.183.210.73]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 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 1ACC737813DC; Fri, 5 Apr 2024 20:37:35 +0000 (UTC) Message-ID: Date: Sat, 6 Apr 2024 01:38:06 +0500 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Cc: Muhammad Usama Anjum , "kernel@collabora.com" , Shuah Khan , "linux-kselftest@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-mm@kvack.org" , Andrew Morton , Eric Biederman Subject: Re: [PATCH 0/2] selftests: Replace "Bail out" with "Error" in ksft_exit_fail_msg() To: "Bird, Tim" , Shuah Khan , Kees Cook References: <20240405131748.1582646-1-usama.anjum@collabora.com> <2a77adeb-ed22-4a9b-a1d9-ac5d29ae696d@linuxfoundation.org> Content-Language: en-US From: Muhammad Usama Anjum In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Hi Tim, On 4/6/24 12:36 AM, Bird, Tim wrote: > Sorry I didn't catch this on the original submission. > >> -----Original Message----- >> From: Shuah Khan >> >> On 4/5/24 07: 17, Muhammad Usama Anjum wrote: > "Bail out! " is not descriptive. It rather should be: "Failed: " and > then this added prefix >> doesn't need to be added everywhere. Usually in > the logs, we are searching for "Failed" >> ZjQcmQRYFpfptBannerStart >> Caution : This email originated from outside of Sony. >> Do not click links or open any attachments unless you recognize the sender and know the content is safe. Please report phishing if unsure. >> >> ZjQcmQRYFpfptBannerEnd >> On 4/5/24 07:17, Muhammad Usama Anjum wrote: >>> "Bail out! " is not descriptive. It rather should be: "Failed: " and >>> then this added prefix doesn't need to be added everywhere. Usually in >>> the logs, we are searching for "Failed" or "Error" instead of "Bail >>> out" so it must be replace. > > Bail out! is the wording in the original TAP spec. We should not change > it unless we plan to abandon compatibility with that spec. (which I > would advise against). > > See https://testanything.org/tap-specification.html I didn't know that exact words are coming from TAP. Thank you for catching it. We don't intend to move away from the spec. > > The reason "Bail out!" is preferred (IMO) is that it is less likely to be emitted > in other test output, and is more 'grepable'. Makes sense. > > This would get a NAK from me. Let's drop this series. > -- Tim > >>> >>> Remove Error/Failed prefixes from all usages as well. >>> >>> Muhammad Usama Anjum (2): >>> selftests: Replace "Bail out" with "Error" >>> selftests: Remove Error/Failed prefix from ksft_exit_fail*() usages >>> >>> tools/testing/selftests/exec/load_address.c | 8 +- >>> .../testing/selftests/exec/recursion-depth.c | 10 +- >>> tools/testing/selftests/kselftest.h | 2 +- >>> .../selftests/mm/map_fixed_noreplace.c | 24 +-- >>> tools/testing/selftests/mm/map_populate.c | 2 +- >>> tools/testing/selftests/mm/mremap_dontunmap.c | 2 +- >>> tools/testing/selftests/mm/pagemap_ioctl.c | 166 +++++++++--------- >>> .../selftests/mm/split_huge_page_test.c | 2 +- >>> 8 files changed, 108 insertions(+), 108 deletions(-) >>> >> >> Andrew, Kees, >> >> I will apply these to linux-kselftest next as a series since these >> changes depend on change to tools/testing/selftests/kselftest.h >> and need to go together. >> >> Are you okay with that? >> >> thanks, >> -- Shuah >> > -- BR, Muhammad Usama Anjum