From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 12A8DA04F9 for ; Thu, 9 Jan 2020 14:34:54 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0B4FD1DD83; Thu, 9 Jan 2020 14:34:54 +0100 (CET) Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [205.139.110.120]) by dpdk.org (Postfix) with ESMTP id 83DAC1DD83 for ; Thu, 9 Jan 2020 14:34:52 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1578576892; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=TeQOMLWo+GUOnnO0evPuTGstv5UIHHiOogldTSzudAs=; b=HxRYgwlDnJmILcprg+wxWkw2K+vvXd53OMvW+dpwAP+p9osuVxi4RcPw4VEi2Bih2QEvpy BvYU0xp4/Bm4xBLcuQtB6deCcv4S4gjtBNvSxW6z9fFboDbTkywgVWf5mMDU/AN5l/uusT cZW/gftXeGYe0RmMbPKVuWLtD4z64y4= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-160-13tQfMmNMOejz8feANQnEw-1; Thu, 09 Jan 2020 08:34:48 -0500 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 93203801E7A; Thu, 9 Jan 2020 13:34:47 +0000 (UTC) Received: from rh.redhat.com (unknown [10.36.118.12]) by smtp.corp.redhat.com (Postfix) with ESMTP id 82D597C3CF; Thu, 9 Jan 2020 13:34:46 +0000 (UTC) From: Kevin Traynor To: stable@dpdk.org Cc: ktraynor@redhat.com, Stephen Hemminger , Ferruh Yigit Date: Thu, 9 Jan 2020 13:34:28 +0000 Message-Id: <20200109133433.12494-3-ktraynor@redhat.com> In-Reply-To: <20200109133433.12494-1-ktraynor@redhat.com> References: <20200109133433.12494-1-ktraynor@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-MC-Unique: 13tQfMmNMOejz8feANQnEw-1 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Subject: [dpdk-stable] [18.11 2/7] eventdev: use same log macro for all unsupported calls 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" From: Stephen Hemminger [ upstream commit b5af9abaa74fc610726c631b58312cc8d77801df ] The driver already has RTE_EDEV_XXX log macros so use them in two more places. Signed-off-by: Stephen Hemminger Reviewed-by: Ferruh Yigit --- lib/librte_eventdev/rte_eventdev.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/librte_eventdev/rte_eventdev.c b/lib/librte_eventdev/rte_e= ventdev.c index 677850cd0..6396a9649 100644 --- a/lib/librte_eventdev/rte_eventdev.c +++ b/lib/librte_eventdev/rte_eventdev.c @@ -893,5 +893,5 @@ rte_event_port_link(uint8_t dev_id, uint8_t port_id, =20 =09if (*dev->dev_ops->port_link =3D=3D NULL) { -=09=09RTE_PMD_DEBUG_TRACE("Function not supported\n"); +=09=09RTE_EDEV_LOG_ERR("Function not supported\n"); =09=09rte_errno =3D ENOTSUP; =09=09return 0; @@ -952,5 +952,5 @@ rte_event_port_unlink(uint8_t dev_id, uint8_t port_id, =20 =09if (*dev->dev_ops->port_unlink =3D=3D NULL) { -=09=09RTE_PMD_DEBUG_TRACE("Function not supported\n"); +=09=09RTE_EDEV_LOG_ERR("Function not supported"); =09=09rte_errno =3D ENOTSUP; =09=09return 0; --=20 2.21.1