From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id B2937A0032; Sat, 2 Oct 2021 16:42:13 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3BC90411DB; Sat, 2 Oct 2021 16:42:13 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id 6A94F40042 for ; Sat, 2 Oct 2021 16:42:11 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1633185730; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=lakO2mdiVOke0KVV6eggAg/piM+KqzoRTUDgZ2YGexM=; b=iOG+kQ6uM5zBtRHYZhnvfQ2SzAhPnmpx4Xy5okqzpoe2mS5tDJOnYcsQ7HUvMveGVHUPJn 8ZS1ON72K501rU+/RmdHxa5223XgarJi5R6MZJe1CwRMlQIAwRIPuEy/9bitwQ3XF/Nb+V qXHDz6tyMOOWYrGeSVhRUoCPB1GYC80= Received: from mail-lf1-f71.google.com (mail-lf1-f71.google.com [209.85.167.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-12-PF8a-wYbOVqoT0MQfFlYtw-1; Sat, 02 Oct 2021 10:42:09 -0400 X-MC-Unique: PF8a-wYbOVqoT0MQfFlYtw-1 Received: by mail-lf1-f71.google.com with SMTP id z9-20020a0565120c0900b003fce36c1f74so10971366lfu.9 for ; Sat, 02 Oct 2021 07:42:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=lakO2mdiVOke0KVV6eggAg/piM+KqzoRTUDgZ2YGexM=; b=k3OVOIFvAT0+G3WLlujkTyt2zoQ8yG6Rw6p2RMnivxOpIqsMnwCA9eE1AJNGSlYz8K SzNjDBqGGzWhsyiPiXH69sWshBUstuntpmLxmQ/kQxk7Dw1lRwB2vjffWBoXhWZqcicp DlSFNzjlepdyznBdxwuFOLaUDhKFAOIq4mIAzUxLBvZtnRLcBn20A902hglV4d6qmUJa E3LSSvmRz0pJjgBa9sl5t8GeYhLB8P3XzdiWZGBxUcoYOcWTg5yM6iCoEqfQAYcyzBJr ygJcUykUTPMPfzVcjkYb4XGGqUVDlTC2sS7xIanJLBXO5k9FYfECJAvkAhYMKarl0ou2 bM7w== X-Gm-Message-State: AOAM532p9I7IZHgT88Y5lfNxHFWuTmP59CaOxT+yQHY0BLLzqE8LjFbA N1KLt1n32ozep0p0WakGHiHcVE/p9pN3i8VAIN3FbgLPWQAK8O35rR6ziBLeiOWblP6G/xyhWaB eGAONXU2ynHfIMbtUYKs= X-Received: by 2002:a05:6512:a8e:: with SMTP id m14mr4040291lfu.575.1633185728138; Sat, 02 Oct 2021 07:42:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwYLahvxOfk06SzTHNBDZTbpVvT3FX6ByIicV+b4AbmuBQRybsh4wHZl+1nroLVXi5hGwaalgdFkvTeM0ZmgVU= X-Received: by 2002:a05:6512:a8e:: with SMTP id m14mr4040277lfu.575.1633185727904; Sat, 02 Oct 2021 07:42:07 -0700 (PDT) MIME-Version: 1.0 References: <20210917150917.90892-1-bruce.richardson@intel.com> In-Reply-To: <20210917150917.90892-1-bruce.richardson@intel.com> From: David Marchand Date: Sat, 2 Oct 2021 16:41:56 +0200 Message-ID: To: Bruce Richardson Cc: dev , "Burakov, Anatoly" , Brandon Lo Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH] app/test: fix memory autotests on FreeBSD X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Fri, Sep 17, 2021 at 5:09 PM Bruce Richardson wrote: > > The memory autotests were failing on FreeBSD, due to an incorrect errno > variable being checked for ENOTSUP. The test checked "errno" while the > DPDK API sets "rte_errno". Changing to check the right variable makes > the test behave properly. > > Fixes: c3e35a0966b8 ("test/mem: check segment fd API") > > Reported-by: Brandon Lo > Signed-off-by: Bruce Richardson Reviewed-by: David Marchand Applied, thanks. -- David Marchand