From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 7A7E7A0096 for ; Wed, 5 Jun 2019 09:31:44 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 386E11B99A; Wed, 5 Jun 2019 09:31:44 +0200 (CEST) Received: from mail-vs1-f66.google.com (mail-vs1-f66.google.com [209.85.217.66]) by dpdk.org (Postfix) with ESMTP id 755061B95D for ; Wed, 5 Jun 2019 09:31:41 +0200 (CEST) Received: by mail-vs1-f66.google.com with SMTP id u124so4573743vsu.2 for ; Wed, 05 Jun 2019 00:31:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=cA5WSB4jp0UoKG8MFeQI+K1YEtyM6qxT9exh0ZA1FuA=; b=X5KmyQBhwowt84zNGCb1R4pwECQpLK/ewML+TtTIivt1HBuNWnO488hEn5L70JbAEm zwqcmTmuZrdCyDCGT9KgCvRl315ih4Ox9O/kixwO/i3lsJjkwds5NUPMiJN4EC5Kevfu eBKoaWsM1HlcSiEdv1H5YnAUkibta+VgRh3Nqzyth+BldwJvgcEVuc6HGW+QzX2jgJHA 0b6VFxyOtaOXHoEPO0tnrDBK6dNXzYZ6aVMw2xHA2bBtEr4qnH9+gZTvxGngflCX17td cCvA7ejJOF0RlOhQb62lcCxiPtabEM/WLTydlGucZEuP3nPS3Uo0o5rb5polvSpGNNep C6Ig== X-Gm-Message-State: APjAAAVdNTK8dkO31orWHliFDrl79BXy7u5zeCupc5woC7BYiImrBuiA uuVQdym+HEN7N+79EfDi0qXWT1SdjkyWsAIVZHIhdQ== X-Google-Smtp-Source: APXvYqyYpOIr8v9WAnzhOBNx8dcDqMp8EcpTxGW36srpkACdVfP9ha+H/FC/KbULJiaK1HOb9k4ykrGoQuCYiraZoWU= X-Received: by 2002:a67:f998:: with SMTP id b24mr9028870vsq.180.1559719900926; Wed, 05 Jun 2019 00:31:40 -0700 (PDT) MIME-Version: 1.0 References: <20190604163147.105791-1-xiaolong.ye@intel.com> <20190605071829.113385-1-xiaolong.ye@intel.com> In-Reply-To: <20190605071829.113385-1-xiaolong.ye@intel.com> From: David Marchand Date: Wed, 5 Jun 2019 09:31:29 +0200 Message-ID: To: Xiaolong Ye Cc: Ferruh Yigit , Bruce Richardson , dev , dpdk stable Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-stable] [PATCH v2] eal: correct error log for alarm X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" On Wed, Jun 5, 2019 at 9:28 AM Xiaolong Ye wrote: > Fixes: af75078fece3 ("first public release") > Fixes: 764bf26873b9 ("add FreeBSD support") > Cc: stable@dpdk.org > > Signed-off-by: Xiaolong Ye > --- > > v2: > > add freebsd fix suggested by David > > lib/librte_eal/freebsd/eal/eal.c | 2 +- > lib/librte_eal/linux/eal/eal.c | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/lib/librte_eal/freebsd/eal/eal.c > b/lib/librte_eal/freebsd/eal/eal.c > index c6ac9028f..a3b664125 100644 > --- a/lib/librte_eal/freebsd/eal/eal.c > +++ b/lib/librte_eal/freebsd/eal/eal.c > @@ -663,7 +663,7 @@ rte_eal_init(int argc, char **argv) > } > > if (rte_eal_alarm_init() < 0) { > - rte_eal_init_alert("Cannot init interrupt-handling > thread"); > + rte_eal_init_alert("Cannot init alarm"); > /* rte_eal_alarm_init sets rte_errno on failure. */ > return -1; > } > diff --git a/lib/librte_eal/linux/eal/eal.c > b/lib/librte_eal/linux/eal/eal.c > index 161399619..10e2887ca 100644 > --- a/lib/librte_eal/linux/eal/eal.c > +++ b/lib/librte_eal/linux/eal/eal.c > @@ -1006,7 +1006,7 @@ rte_eal_init(int argc, char **argv) > } > > if (rte_eal_alarm_init() < 0) { > - rte_eal_init_alert("Cannot init interrupt-handling > thread"); > + rte_eal_init_alert("Cannot init alarm"); > /* rte_eal_alarm_init sets rte_errno on failure. */ > return -1; > } > -- > 2.17.1 > > Reviewed-by: David Marchand -- David Marchand