Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp2310073rdb; Thu, 21 Sep 2023 15:03:00 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF+VmJqyUDIMje4hjmyPf1na4hkIYGWwnVmzone+H0oql0lGJYgbrJz/+fZC7RycK6CIdx0 X-Received: by 2002:aca:2109:0:b0:3ad:f8ea:ef5 with SMTP id 9-20020aca2109000000b003adf8ea0ef5mr4693906oiz.7.1695333779786; Thu, 21 Sep 2023 15:02:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695333779; cv=none; d=google.com; s=arc-20160816; b=l3GqjNDMFLNKWkY9EtvrpW8sYLreE3wTichEyELpTBJq0E0hatM6i8kdpu0kx3VzZc duurTSWItxwbagvi0mp6RReKV+T28Nq5o6IVTikxf3YVTbpCLEdORyDil5zxHrGWlTAF xOaKn62PzHgXJILhzFAjPfvoKPexmxpD3FwoN3ZwvngJSSj83cTY4ADxn17Dc54JBQeh a8bhtuzKjCHlEwJfuMP6FDtfrUHC/r+8d3c6DEsTxTTE0MLbiwinlpel0y6m0StdkGhX w533RKa7KxSwMrgXSyu0AieTTZdYDvNVR0f5Hyg4VhCYUmXrhNKxcp7P0lh3yYa+EDyw unpw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=pQyhVUfSk4Wz/3YwSWO6rjBEVXAeLvOGTAc/GYJMrqY=; fh=R/2ln05gGGmjTGz0CKj7b+mqrarK96aF5T4bAOo2z2w=; b=W1/SeG+VD22S9UOot2196FUQabfea+TIyy9uCUPc1YWJ9zKqwgK7UijT4kc5VhmGvh etOh0Htp8hscBElChJYhW3AhQ1QVdpY0jqK3egzHXLFqtahmaiBvvaT+d4MAZTbgN4mc ZhVpcbho4fY9bs16yObM8sGpU/zFN/PKJEUN2+AzhRx/6Y3W9aOkYGJ6LK6woyqwJ0v+ 1mYRng7kvCTjInK1ckivl4a3ZI9p4L5SL6zZUV2U8jbqcAiBbgd9dsiwHR+ZEuLbMEzN VgYXHnKkVyq/LUxISdcIZJErNqb/wqPSTHvuly4MOhBujx3RWiYDFEAbRGvanx0cyMMq HDdg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id a7-20020a056a000c8700b00690f8edee16si2363348pfv.275.2023.09.21.15.02.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Sep 2023 15:02:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id A1B36802456F; Thu, 21 Sep 2023 14:50:57 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232878AbjIUVue (ORCPT + 99 others); Thu, 21 Sep 2023 17:50:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47428 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231865AbjIUVuU (ORCPT ); Thu, 21 Sep 2023 17:50:20 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 2410D7EA2E for ; Thu, 21 Sep 2023 10:37:38 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id C107B153B; Thu, 21 Sep 2023 02:52:26 -0700 (PDT) Received: from arm.com (RQ4T19M611.cambridge.arm.com [10.1.27.31]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 980C13F59C; Thu, 21 Sep 2023 02:51:47 -0700 (PDT) Date: Thu, 21 Sep 2023 10:51:45 +0100 From: Catalin Marinas To: Florent Revest Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, akpm@linux-foundation.org, anshuman.khandual@arm.com, joey.gouly@arm.com, mhocko@suse.com, keescook@chromium.org, david@redhat.com, peterx@redhat.com, izbyshev@ispras.ru, broonie@kernel.org, szabolcs.nagy@arm.com, kpsingh@kernel.org, gthelen@google.com, toiwoton@gmail.com, ayush.jain3@amd.com Subject: Re: [PATCH v4 3/6] kselftest: vm: Check errnos in mdwe_test Message-ID: References: <20230828150858.393570-1-revest@chromium.org> <20230828150858.393570-4-revest@chromium.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230828150858.393570-4-revest@chromium.org> X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Thu, 21 Sep 2023 14:50:57 -0700 (PDT) On Mon, Aug 28, 2023 at 05:08:55PM +0200, Florent Revest wrote: > Invalid prctls return a negative code and set errno. It's good practice > to check that errno is set as expected. > > Signed-off-by: Florent Revest Acked-by: Catalin Marinas