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 6B09A42F36 for ; Mon, 24 Jul 2023 15:37:04 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 649034324B; Mon, 24 Jul 2023 15:37:04 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 75F0C43067; Mon, 24 Jul 2023 15:37:01 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 36OBD2pW001237; Mon, 24 Jul 2023 06:37:00 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=pfpt0220; bh=SPwfzYNwfJK0/VYtx5tiJE+/tAi1Fm4XQnN87mYrpFg=; b=G+Pi8K6u1DxV+pOpnsuKmaqFKfiNVWtTHAsmw/LBC1uDJPoBWvaBv5Ro+YqujYdgmsk5 Mh+POttaU+D+OWfOMIGT1KgB146fBh8RiOGMO/Qj6bvD/PBwq1N+dmOORI+Pt2JVmfN1 Ca1edKZp1XtlOvJeaVukK0/JfOlGAtK+cZVZhfCNJMrEbiGd9GWncXLR3VpJdcyZFsjW 8nsEpcMidbj/zELtDWfsaO+gCnifChBshVSnQrPSjNFToyP4n4L6QtftynDLX9adRn5O 6y2MaQFVMXvuNQQKB8kmKQKiJlYBicI33WU8MaAnRu8Rrd0c2isZ/AFGBKZSb6AFP+c+ Lw== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3s18r22b4s-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Mon, 24 Jul 2023 06:37:00 -0700 Received: from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.48; Mon, 24 Jul 2023 06:36:58 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server id 15.0.1497.48 via Frontend Transport; Mon, 24 Jul 2023 06:36:58 -0700 Received: from cavium-DT10.. (unknown [10.28.34.39]) by maili.marvell.com (Postfix) with ESMTP id BC6E03F7084; Mon, 24 Jul 2023 06:36:55 -0700 (PDT) From: Tomasz Duszynski To: , Sachin Saxena , Hemant Agrawal , Shreyansh Jain CC: , , Tomasz Duszynski , Subject: [PATCH] rawdev: fix device naming Date: Mon, 24 Jul 2023 15:36:46 +0200 Message-ID: <20230724133646.1385487-1-tduszynski@marvell.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-GUID: wgKpbsQwZYKnE0b-EqPkpm5cyFYPiVry X-Proofpoint-ORIG-GUID: wgKpbsQwZYKnE0b-EqPkpm5cyFYPiVry X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-07-24_10,2023-07-24_01,2023-05-22_02 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 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 Use proper naming when dealing with a raw device. Fixes: c88b3f2558ed ("rawdev: introduce raw device library") Cc: shreyansh.jain@nxp.com Cc: stable@dpdk.org Signed-off-by: Tomasz Duszynski --- lib/rawdev/rte_rawdev.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/rawdev/rte_rawdev.c b/lib/rawdev/rte_rawdev.c index dacaa60e22..474bdc9540 100644 --- a/lib/rawdev/rte_rawdev.c +++ b/lib/rawdev/rte_rawdev.c @@ -505,8 +505,7 @@ rte_rawdev_pmd_allocate(const char *name, size_t dev_priv_size, int socket_id) uint16_t dev_id; if (rte_rawdev_pmd_get_named_dev(name) != NULL) { - RTE_RDEV_ERR("Event device with name %s already allocated!", - name); + RTE_RDEV_ERR("Raw device with name %s already allocated!", name); return NULL; } -- 2.34.1