Received: by 2002:a89:48b:0:b0:1f5:f2ab:c469 with SMTP id a11csp540412lqd; Wed, 24 Apr 2024 09:30:55 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWC6uHkHtDhKIbXJQqdV+flrlauVRu4qG/IY4iEnRvaB7xKB3o1q187Gksjfhw/A81fV8DBoP1kRxTpaoveh505/cXisSNf2h1VRiDHAA== X-Google-Smtp-Source: AGHT+IE511vys5bZ1Egh7+RlZ+jWu6SdcCkeguSAh3fcpVx5u7QDMgmaqW928Kczf07lpUQM8bYk X-Received: by 2002:a17:90a:51a6:b0:2a5:2be6:3ff5 with SMTP id u35-20020a17090a51a600b002a52be63ff5mr2657535pjh.21.1713976255185; Wed, 24 Apr 2024 09:30:55 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713976255; cv=pass; d=google.com; s=arc-20160816; b=FcrwF6nkhqVJJ2Ys+J/HIf6LaGplsSWZVrJkl1T0S+MOjs9y1pEpvQ0ioEzcZ6kQsE E5ExTY+5y3fwS7xfwUSKBath6G+dcXloDGCtsD3LzEFCX2cQpw2TskFfLVDqkOuR2ovw E27eSJ2pjGMwroNR12bMBsW8gBBI8/QiV3A7H2RT5vD1YA9FPGNb6rlEKi0t0HWgd25/ +JB69xHLG0WjuBM+5CVeAFvzHYJWb1x7YgsyKucFQVDuu/0SWLgwmLfNAYuqx8H8ruKQ VfyZJXbwlvxeA+/wqUMySW1WroykjETFwB8Az9nMq1ckMjuO7+BDiRauZQOOTJJF/7t3 37qA== 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=Dt2KVRYxDBRXLbNK/m8PvF4OR+Oty/TNCiiqaQpoANU=; fh=yFtz9SK9SY7k9cZVY1fL4T//fpaGi8EJ41/cyGs39Rg=; b=WGBf43KuWHAHznLEcKhKq/b1U/eEryeObAlFPmtxk/L6NNXmtiDAaJj32/QqPS0wRn ILX8/HgNAiANVK69TqPFGdAn510M9lkPKqO9EaCPnQdwk7xbYcg+au15/ohoK+KF9DQj IrW7YMIsGhVzsfFIY1fgVAGS6e945ULePzhpplvjcafVy2+k8GIlTDfnHN9eGlD7IoXF /iyD8AeKk8Jenfqdi477lxIU5rn4d7F12C8IrwgCe54vJVjKW5TFwXYPVRHbU4p42v4L VuLB0QMcIuMkAys0gQHb9teC+2A81N3RgRYRyBPgV1lSQ5kysL1IaJ7zH7tyfsLtbkwR xLjA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=f6VcMYOv; 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-157320-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-157320-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id q3-20020a17090a2e0300b002a2bab50de7si13254064pjd.121.2024.04.24.09.30.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Apr 2024 09:30:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-157320-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=@linuxfoundation.org header.s=google header.b=f6VcMYOv; 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-157320-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-157320-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 2275328B136 for ; Wed, 24 Apr 2024 16:28:10 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B951B161338; Wed, 24 Apr 2024 16:28:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="f6VcMYOv" Received: from mail-pf1-f174.google.com (mail-pf1-f174.google.com [209.85.210.174]) (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 3E5D116190A for ; Wed, 24 Apr 2024 16:28:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.174 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713976085; cv=none; b=TMSXmTqHOTKJm2wSfBIoMnqx8FC24IsjG7nu+LOGfjIf6xkAWdSGsVARQWv1nqW+mrWHFeqsbOu20CMACZULhfivlv8VIfy6FK+8NJH384ef+59w7FbjefzaTpjWzrhjoGijoTVZPhXKDiKEBGScXCNEM56o5KfbK2OjEyiBYxU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713976085; c=relaxed/simple; bh=V74XErXb5mOshzhsLFALwFLRBHGhL6q3WN4ByroeZdw=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=BuP2sB3ic8k4+VIkicS0IAQ5aLrvhFEW9W67jaM5DpNHnd9DTZO4gilNwV3y+iB85gRUY17Sk14pfxwlJ2Kr+YzBxjelBAGduDUQ7M+/7U2pw2xF6OwjaeMfiVKB+BfzgFRyWDzKlIX+vDcOxhTBUiEGK6RolGRBXMPRgb8/6EQ= 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=f6VcMYOv; arc=none smtp.client-ip=209.85.210.174 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-pf1-f174.google.com with SMTP id d2e1a72fcca58-6f055602a7bso13022b3a.3 for ; Wed, 24 Apr 2024 09:28:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; t=1713976083; x=1714580883; 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=Dt2KVRYxDBRXLbNK/m8PvF4OR+Oty/TNCiiqaQpoANU=; b=f6VcMYOvL5uCOryEBMw9sLKprQ201cbcO6UMDm0li4CkuUHqswl+bHX9phTQ5/Y38n 8qnvxoaXtlJH9BDwob03RLA5SkohiK104hFodM6QotNogJEYyGsiraQZhF1e0X6ylgtI RK+d+lpmqwDcmfUzM8zglbqlPjHSxj9iVR5ks= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713976083; x=1714580883; 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=Dt2KVRYxDBRXLbNK/m8PvF4OR+Oty/TNCiiqaQpoANU=; b=CFB2TIKviYgrVPdZzjF6Bq4/8ZW0fM1we14WL4/3BcopFuvUZOYKfnhZoUALLnHMez pF18RwMOl01nU9HoLufA7y8TiOO81I+aXKM/Lm7p/DcOGrV93Huhs/vUQHEF4NC+Qbwr /ZarQnNfXUuD+RNSU7SspUMqFUCuiVBsh20/fqE0kWJkLYWh/6Lvv7A1hHlMHOShVJv7 CHBrNqQpfVXBZqSOMMerfgwbpKeuvIeLUqshyW0T3aD9I06tdv+2k/O1DHUFCepKSMBm KYJG0CBmxdgoAT+YC8FGjSd7sP7txQwk2cXO5FpUYtwL1MZIjtTtK1Nka3pVmfG6sabY 0bIw== X-Forwarded-Encrypted: i=1; AJvYcCXkfDTpfw0+qtvWSviGdHV5A6pRkRylKJDrNkEZ9pHgFW3N70ZT3YUM/j6eKMUUmtW8xNR5jmW8GKFcQlbDpP6ckFNRj9CW8tSqlfZr X-Gm-Message-State: AOJu0YyIkiRJmAa6uSUIBppuZLxEYSG8Od3dySuxZAfN1ZHsDKtrSxjZ XtDZlhZHz9LvDDsVRryORUw7lkEMCkf/fojthT2tjmRiUxPXtJGx+aOBr/AF2Hg= X-Received: by 2002:a05:6a00:898a:b0:6ea:b1f5:8aa with SMTP id hx10-20020a056a00898a00b006eab1f508aamr3276274pfb.3.1713976083513; Wed, 24 Apr 2024 09:28:03 -0700 (PDT) Received: from [192.168.43.82] ([223.185.79.208]) by smtp.gmail.com with ESMTPSA id a8-20020aa78648000000b006eade394613sm11622481pfo.198.2024.04.24.09.28.01 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 24 Apr 2024 09:28:03 -0700 (PDT) Message-ID: <9cceb519-e627-4041-bbd4-227e47d5d209@linuxfoundation.org> Date: Wed, 24 Apr 2024 10:27:59 -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: Make ksft_exit functions return void instead of int To: Nathan Chancellor Cc: shuah@kernel.org, tglx@linutronix.de, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, Shuah Khan References: <20240417-ksft-exit-int-to-void-v1-1-eff48fdbab39@kernel.org> <20240424150513.GA304587@dev-arch.thelio-3990X> <20240424161059.GA904896@dev-arch.thelio-3990X> Content-Language: en-US From: Shuah Khan In-Reply-To: <20240424161059.GA904896@dev-arch.thelio-3990X> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 4/24/24 10:10, Nathan Chancellor wrote: > On Wed, Apr 24, 2024 at 10:00:12AM -0600, Shuah Khan wrote: >>>>> Signed-off-by: Nathan Chancellor >>>>> --- clone patch >>>>> tools/testing/selftests/clone3/clone3_clear_sighand.c | 2 +- >>>>> tools/testing/selftests/clone3/clone3_set_tid.c | 4 +++- ipc patch >>>>> tools/testing/selftests/ipc/msgque.c | 11 +++++------ kselftest.h patch >>>>> tools/testing/selftests/kselftest.h | 12 ++++++------ membarrier patch etc... >>>>> .../selftests/membarrier/membarrier_test_multi_thread.c | 2 +- >>>>> .../selftests/membarrier/membarrier_test_single_thread.c | 2 +- >>>>> tools/testing/selftests/mm/compaction_test.c | 6 +++--- >>>>> tools/testing/selftests/mm/cow.c | 2 +- >>>>> tools/testing/selftests/mm/gup_longterm.c | 2 +- >>>>> tools/testing/selftests/mm/gup_test.c | 4 ++-- >>>>> tools/testing/selftests/mm/ksm_functional_tests.c | 2 +- >>>>> tools/testing/selftests/mm/madv_populate.c | 2 +- >>>>> tools/testing/selftests/mm/mkdirty.c | 2 +- >>>>> tools/testing/selftests/mm/pagemap_ioctl.c | 4 ++-- >>>>> tools/testing/selftests/mm/soft-dirty.c | 2 +- >>>>> tools/testing/selftests/pidfd/pidfd_fdinfo_test.c | 2 +- >>>>> tools/testing/selftests/pidfd/pidfd_open_test.c | 4 +++- >>>>> tools/testing/selftests/pidfd/pidfd_poll_test.c | 2 +- >>>>> tools/testing/selftests/pidfd/pidfd_test.c | 2 +- >>>>> tools/testing/selftests/resctrl/resctrl_tests.c | 6 +++--- >>>>> tools/testing/selftests/sync/sync_test.c | 3 +-- >>>>> tools/testing/selftests/timers/adjtick.c | 4 ++-- >>>>> tools/testing/selftests/timers/alarmtimer-suspend.c | 4 ++-- >>>>> tools/testing/selftests/timers/change_skew.c | 4 ++-- >>>>> tools/testing/selftests/timers/freq-step.c | 4 ++-- >>>>> tools/testing/selftests/timers/leap-a-day.c | 10 +++++----- >>>>> tools/testing/selftests/timers/leapcrash.c | 4 ++-- >>>>> tools/testing/selftests/timers/mqueue-lat.c | 4 ++-- >>>>> tools/testing/selftests/timers/posix_timers.c | 12 ++++++------ >>>>> tools/testing/selftests/timers/raw_skew.c | 6 +++--- >>>>> tools/testing/selftests/timers/set-2038.c | 4 ++-- >>>>> tools/testing/selftests/timers/set-tai.c | 4 ++-- >>>>> tools/testing/selftests/timers/set-timer-lat.c | 4 ++-- >>>>> tools/testing/selftests/timers/set-tz.c | 4 ++-- >>>>> tools/testing/selftests/timers/skew_consistency.c | 4 ++-- >>>>> tools/testing/selftests/timers/threadtest.c | 2 +- >>>>> tools/testing/selftests/timers/valid-adjtimex.c | 6 +++--- >>>>> tools/testing/selftests/x86/lam.c | 2 +- >>>>> 38 files changed, 81 insertions(+), 79 deletions(-) >>>>> >>>> >>>> Please generate separate patches for each test so it is easy to apply >>>> them and also reduce merge conflicts. >>> >>> Is applying 30+ patches easier than applying just one? It is not a >>> trivial amount of work for me to break this series up into individual >>> patches but I will do so if you really want me to. I based this on the >>> kselftest tree directly so that it would apply cleanly. >>> >> >> I am not asking each file to be a separate patch. > > What granularity would you like? One per folder in > tools/testing/selftest (i.e., clone3, ipc, membarrier, etc)? Correct. It will be 10 patches. Please see above for the split I have in mind. thanks, -- Shuah