Received: by 2002:a05:6500:1b45:b0:1f5:f2ab:c469 with SMTP id cz5csp304035lqb; Tue, 16 Apr 2024 17:04:57 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUqKMIuOQ//bGVu0CieOw1PXVg3Im7/FDYifBBWOhPDv7xAF1FzjtU3aXR+Kd5ujcT9MLw1t15p9DWjYdOavHfSZbBtBY/wJY/+SKBQig== X-Google-Smtp-Source: AGHT+IHoeeam0Ts/AfM2vTiZUmRVTFkvxcHEQATQow8MHikjwGSPYzu8gFPPA8NWDq3k/hc+3zXk X-Received: by 2002:a05:6358:2882:b0:17f:87fc:e0cc with SMTP id n2-20020a056358288200b0017f87fce0ccmr14635869rwb.14.1713312297612; Tue, 16 Apr 2024 17:04:57 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713312297; cv=pass; d=google.com; s=arc-20160816; b=SSbxITEX7nMox2KmsY0Cp+rCnxoit+l7Z8JZJj5U1SGZdPNbQTkQgf3URpZ+MBMWtW 4/x55+5k0gVfbHzFhGNaRfVj7TAOxFVkxyS0ghzRyseiV2x32a4HHgIx9YGwls0cBFwU spgtuBUoP25+7nxzyPuF+cMmOdVdrKiqRnKlUJgP5LSHEKfjL6uZrMq4K+LfDAaonerJ DWk42p2OFeh5d+iwYr3FmNl8UH8KD4ZMW3KfyQGWq6cEAjAKH2B3hkvG0+JfuW+TodLA Iy3OwwBgV9I94+OXWIz26gbWuSxmITjXWquYSiZGF6g9YaaEKEE+d4AyCW7zYDRv3Kwb zs5w== 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:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=8nEb596pNHjGRxwi+zHrhblVQCdUyfcBe4WmHdhpM9s=; fh=bTfi0Bw7tgK+xvHxVJ3WFPmN3Isu1cMnrGh+AxZ2SA4=; b=WbOP8GyZE9KvHNcgq4AVG4J1Tk+WJb2QVGo5rnAYuhEIY09/YHe5zyc/fqu/90UMnb yV2g66Y+sZT1bM+y5Ai/lzU31iZQUV2HShuUIq+MfIZPheNnbISWZpMCG1UHjRiJrOQu NSSZ96eSZjbDYYrnuVfSwyKbVMMqkPaZVwMIV29aJ1o7W0E7t9SEUNn2oAcml9LjC4WH SxCr4Q3/qIK+EIhk6a0+4X1AdNyWIBWX1agi6cbTdDGiRqVmRvroMNmyhMO47Z5eZ07+ cGmV2GD8YnwOw5gOWg6EBzBJK8J/q6Ot6YkUf8Om6rbsSmoLWlubKQmbNr16pRxq5Tfa T+rQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=OSCIzlH5; arc=pass (i=1 spf=pass spfdomain=linuxfoundation.org dkim=pass dkdomain=linuxfoundation.org dmarc=pass fromdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-147779-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-147779-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id q13-20020a0ce9cd000000b00699012dd6desi13221584qvo.588.2024.04.16.17.04.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Apr 2024 17:04:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-147779-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=OSCIzlH5; arc=pass (i=1 spf=pass spfdomain=linuxfoundation.org dkim=pass dkdomain=linuxfoundation.org dmarc=pass fromdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-147779-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-147779-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 537461C223E5 for ; Wed, 17 Apr 2024 00:04:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5D9CC620; Wed, 17 Apr 2024 00:03:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="OSCIzlH5" Received: from mail-oo1-f41.google.com (mail-oo1-f41.google.com [209.85.161.41]) (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 16BC529CFB for ; Wed, 17 Apr 2024 00:03:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.161.41 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713312223; cv=none; b=Qv3L/i3I9ZPvAvPvKIFtiQEuPJXFSqixUfPtviiaswQnuVfMEpK9aBXQbfp63svNhQCqoHsZ2Ht/5AhnabOZnRRgn1xp5Hs61E3nB5yUYMPxZ/E/C8EZrbdE4P/BWVL+Dvsmhsw38o7UjSU+qmlrCXyESlNvmVfs1FVhY9447og= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713312223; c=relaxed/simple; bh=sAYUqJIp1cIswCUgE2SHPOCm/Go8GvaZkQnCVt6u2pY=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=Y2uJEOB/Vj6hWhFuZe0ljTEpowo9rQb2wREvG8pC09+6FprnOhqBklXOrbeSPMppqIBfnI4QA+S7GZ7/nNOT3CRYQmFVZChIlzVu+6zejENrHp19z77f2jSs4lUxJBBZpStjp072zuJrZ+PSQljwcqyu3nyJnzxeOhCRzDXm6Uk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linuxfoundation.org; spf=pass smtp.mailfrom=linuxfoundation.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=OSCIzlH5; arc=none smtp.client-ip=209.85.161.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linuxfoundation.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linuxfoundation.org Received: by mail-oo1-f41.google.com with SMTP id 006d021491bc7-5acdbfa6e94so133122eaf.2 for ; Tue, 16 Apr 2024 17:03:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; t=1713312221; x=1713917021; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=8nEb596pNHjGRxwi+zHrhblVQCdUyfcBe4WmHdhpM9s=; b=OSCIzlH5T+ape9XZzsDrsG5kxO9pF0qdJIncA2i5gKLUtvIZ7EnJ54BNtZOB8Ldrbu 0dKbA58OO7efduI+EvO0kZWeH/+yLG2FgfmY9psc6VsvfNLHvUe9ycz00Ea5/BvZStUA iIOl4ZqPESHb8XiGB96NVahJkpjBSA5yEBf8o= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713312221; x=1713917021; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=8nEb596pNHjGRxwi+zHrhblVQCdUyfcBe4WmHdhpM9s=; b=IZ4qIJhNFDuE9hs4MKL9BpBzkklhTZ4kGgSQ9W83cm0mbZVw0HTRugfAHYLXyDnPv3 eqXemHur+FASUuOZYYRYPIG+OQ1xg2cPN3bZPx7/SYMyRXVsJ4PoLkA8kAG16Vqg1PFV pbcNpA7KBWM4vOA6PTKeTWxTLGrcII51CjPGRnsu2efTIpglnOH7EvZzzNuFRdzCNVZg cy6pJO5xCa08a3MQC1oDmItaRuniKpCGC0/J9oepAlhyC2Pktq7kAAf3V+PU3SDF2Dfz l4PSSaztikqANlGwC1BCcR1A0p/OsbCxcdjY0AoSTsYsbuPV0bWHcMj8f7/ETJsui2xI CIHQ== X-Forwarded-Encrypted: i=1; AJvYcCXKycDvq+hP8epEcVIwh91x5SJ0twJWHolJvJEHxTrMPWXQySapWpR+x8KyLHhrghlY2lGqbBRM+RjNzUgmn3a5MZ9mB6sHaH/rM0kr X-Gm-Message-State: AOJu0Yw8nY+p7X2XUe6lyL6S4BSrJbEpQSxLufXqMzUdV6epd3rL3zk2 cZe05/Z5+oKxkw6xkKpak0V17O8SXb6Cm64qbx1ZRdnZllHCDGP9XpZE7FXSGL8= X-Received: by 2002:a05:6820:4187:b0:5ac:6fc1:c2cb with SMTP id fk7-20020a056820418700b005ac6fc1c2cbmr14358895oob.0.1713312221119; Tue, 16 Apr 2024 17:03:41 -0700 (PDT) Received: from [192.168.1.128] ([38.175.170.29]) by smtp.gmail.com with ESMTPSA id x4-20020a056820104400b005a4dc7abc01sm2796107oot.11.2024.04.16.17.03.40 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 16 Apr 2024 17:03:40 -0700 (PDT) Message-ID: <3c4ab12f-caf5-456f-8a8c-d4211d843f33@linuxfoundation.org> Date: Tue, 16 Apr 2024 18:03:39 -0600 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] selftests: Mark ksft_exit_fail_perror() as __noreturn To: Nathan Chancellor , Muhammad Usama Anjum Cc: Shuah Khan , Nick Desaulniers , Bill Wendling , Justin Stitt , kernel@collabora.com, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, llvm@lists.linux.dev, Shuah Khan References: <20240414062653.666919-1-usama.anjum@collabora.com> <20240415154107.GA1538232@dev-arch.thelio-3990X> Content-Language: en-US From: Shuah Khan In-Reply-To: <20240415154107.GA1538232@dev-arch.thelio-3990X> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 4/15/24 09:41, Nathan Chancellor wrote: > On Sun, Apr 14, 2024 at 11:26:53AM +0500, Muhammad Usama Anjum wrote: >> Let the compilers (clang) know that this function would just call >> exit() and would never return. It is needed to avoid false positive >> static analysis errors. All similar functions calling exit() >> unconditionally have been marked as __noreturn. >> >> Signed-off-by: Muhammad Usama Anjum > > Reviewed-by: Nathan Chancellor > Thank you both. Applied to linux-kselftest next for Linux 6.10-rc1. thanks, -- Shuah