From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E2C70E7D0B3 for ; Thu, 21 Sep 2023 21:50:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232890AbjIUVue (ORCPT ); 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> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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