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 EBF37426B2; Tue, 3 Oct 2023 22:46:27 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7F6CA40A71; Tue, 3 Oct 2023 22:46:23 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id E9C694064A for ; Tue, 3 Oct 2023 22:46:21 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 393FPGIN022325; Tue, 3 Oct 2023 13:46:21 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type; s=pfpt0220; bh=4PZSACuUMDJKrpyeOF4jsffihdxFjlgf57pvSNupD0Y=; b=BQeOFVOpO5nevU3gkxSuayOwsI3COLS703wRaAMOCCTlyHBkGuiHQu4pl4SAA05vXhh/ QEiN4INyb3DG7u42sMpcPX/KoNGSGNFIZng/QYs4r2ImK/lvTYk7gjjD8bNu+zdWV4iY X4KFVkZ4M4sW501lCEin0txQcwv+qNqY12PPAtBv/Daygr3D4CW+FnrVuGxdCSMeO0Xr rBJtfJNTFlM1P7EgT+os2fLc228O9sjUlmQSZgv1G4TP5AhyxDfKVf2R3I//aYS1KRFV IYRl18mJ97nHJMB0TOkmOr9bFJMZukOwlgd9Iz2hh6nCpjCAwR2Xcd64xUVyzUseXiHu Lw== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3tgbasbjvg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Tue, 03 Oct 2023 13:46:20 -0700 Received: from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.48; Tue, 3 Oct 2023 13:46:19 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.48 via Frontend Transport; Tue, 3 Oct 2023 13:46:19 -0700 Received: from cavium-DT10.. (unknown [10.28.34.39]) by maili.marvell.com (Postfix) with ESMTP id 5D8153F70A6; Tue, 3 Oct 2023 13:46:13 -0700 (PDT) From: Tomasz Duszynski To: , Jakub Palider , Tomasz Duszynski CC: , Subject: [PATCH 2/2] raw/cnxk_gpio: add bunch of newlines Date: Tue, 3 Oct 2023 22:46:03 +0200 Message-ID: <20231003204603.3377509-2-tduszynski@marvell.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231003204603.3377509-1-tduszynski@marvell.com> References: <20231003204603.3377509-1-tduszynski@marvell.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-ORIG-GUID: FlZgvDtYiNIhZsmA0XlVC2AsVAg0HlPv X-Proofpoint-GUID: FlZgvDtYiNIhZsmA0XlVC2AsVAg0HlPv X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.980,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-10-03_18,2023-10-02_01,2023-05-22_02 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 Improve log output by adding some newlines. Signed-off-by: Tomasz Duszynski Reviewed-by: Jerin Jacob Kollanukkaran Tested-by: Jerin Jacob Kollanukkaran --- drivers/raw/cnxk_gpio/cnxk_gpio.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/raw/cnxk_gpio/cnxk_gpio.c b/drivers/raw/cnxk_gpio/cnxk_gpio.c index dcd646397e..6c4e4f5eae 100644 --- a/drivers/raw/cnxk_gpio/cnxk_gpio.c +++ b/drivers/raw/cnxk_gpio/cnxk_gpio.c @@ -713,7 +713,7 @@ cnxk_gpio_probe(struct rte_vdev_device *dev) cnxk_gpio_format_name(name, sizeof(name)); rawdev = rte_rawdev_pmd_allocate(name, sizeof(*gpiochip), rte_socket_id()); if (!rawdev) { - RTE_LOG(ERR, PMD, "failed to allocate %s rawdev", name); + RTE_LOG(ERR, PMD, "failed to allocate %s rawdev\n", name); return -ENOMEM; } @@ -753,7 +753,7 @@ cnxk_gpio_probe(struct rte_vdev_device *dev) snprintf(buf, sizeof(buf), "%s/gpiochip%d/base", CNXK_GPIO_CLASS_PATH, gpiochip->num); ret = cnxk_gpio_read_attr_int(buf, &gpiochip->base); if (ret) { - RTE_LOG(ERR, PMD, "failed to read %s", buf); + RTE_LOG(ERR, PMD, "failed to read %s\n", buf); goto out; } @@ -761,7 +761,7 @@ cnxk_gpio_probe(struct rte_vdev_device *dev) snprintf(buf, sizeof(buf), "%s/gpiochip%d/ngpio", CNXK_GPIO_CLASS_PATH, gpiochip->num); ret = cnxk_gpio_read_attr_int(buf, &gpiochip->num_gpios); if (ret) { - RTE_LOG(ERR, PMD, "failed to read %s", buf); + RTE_LOG(ERR, PMD, "failed to read %s\n", buf); goto out; } gpiochip->num_queues = gpiochip->num_gpios; @@ -774,7 +774,7 @@ cnxk_gpio_probe(struct rte_vdev_device *dev) gpiochip->gpios = rte_calloc(NULL, gpiochip->num_gpios, sizeof(struct cnxk_gpio *), 0); if (!gpiochip->gpios) { - RTE_LOG(ERR, PMD, "failed to allocate gpios memory"); + RTE_LOG(ERR, PMD, "failed to allocate gpios memory\n"); ret = -ENOMEM; goto out; } -- 2.34.1