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 E297A41CB0; Thu, 16 Feb 2023 10:28:23 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 87ACF40EE3; Thu, 16 Feb 2023 10:28:23 +0100 (CET) Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2085.outbound.protection.outlook.com [40.107.20.85]) by mails.dpdk.org (Postfix) with ESMTP id 5D94640E0F for ; Thu, 16 Feb 2023 10:28:22 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cfOlucW6+4qVTtXSqRRstPCm+5v/g8ut+2Y0udDSpOT9jmM42KmgNsqgTQE8PciSjvNDddRXLk5yhziDnkE75jV+9i9IUpWGGYFUYyV6Y7L9IpDuqXEOKqprTRrjUn39MJ08TUXsYbVbj1GeH4iAf1FG6wEmOgt203EmbttemFejWFWYyEozPIbsenRs6X/svR2gKJqosUdEz8R+97qbwiiy99N0lE1KfYRWQR8Yb8hVq7E+5k1AzGer3Qa/rFqTWpa40N9GO1W6muktWZWfxnZN51bRFfC/XqFKaAvrhmI+D2Ksn/xrQGTMtvp5a91xOe24/eNbdm5FrgiYdyOmeQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=JnO7gIobrMYfDr3IAsNTiZts/LerXQQfzRdCluM3EXQ=; b=ifMgEzMsHbnTCPghmnMvQ23AY+H2aGOHb8Ng+/SZj5k8q3+s+xkvLJM8VWe/Ot6Zhfe7fkyiUNQOhRrQRjNWZj0/zT5aKTpYkDpO/kylbgnTcNa3xtJC0uGf2t/FOOPlhc6khBlJa8LMF1KdyOBOm28dXlsBgb/jk9U7/eMkYasISqjsaudIBk7VbhXqS8wehQLHmZm3M3VCloTOTnQtMtXf4k+Mq3AjYKihvQ6oz6cyPb8Qfcid6u+FYn6mY9MooZYhwbl7WAGYxPoT7beTLZQtrGu/dLWWFb0xRKUkXfplCMYcO14bgp4rfR//cesFkVbNuFVYo6adyAjbfwgoog== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=JnO7gIobrMYfDr3IAsNTiZts/LerXQQfzRdCluM3EXQ=; b=ljMfow2/nVmsXKZQ7tZ2Chj+SjpSAlRZbMjXzi0JN0xY34qqhsPhnqTBnWaB1JMX0/PUVqb2bVoQSsDPMpM/QUufh5wVr0dh9yftP3Y5071oL+i1alcSI4ns+gPtZhITE1SjXE+p4HYVtchWqyCQME0nUv2rI2UtrWjVF89w0po= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from AS8PR04MB9064.eurprd04.prod.outlook.com (2603:10a6:20b:447::17) by DBBPR04MB7500.eurprd04.prod.outlook.com (2603:10a6:10:1f4::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6086.19; Thu, 16 Feb 2023 09:28:20 +0000 Received: from AS8PR04MB9064.eurprd04.prod.outlook.com ([fe80::5430:ce3c:47b4:55cf]) by AS8PR04MB9064.eurprd04.prod.outlook.com ([fe80::5430:ce3c:47b4:55cf%9]) with mapi id 15.20.6111.013; Thu, 16 Feb 2023 09:28:20 +0000 Message-ID: <2f98a10d-0be8-5164-b213-97553ea76209@oss.nxp.com> Date: Thu, 16 Feb 2023 14:57:23 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Subject: Re: [PATCH 2/2] drivers: replace printf with fprintf for debug functions To: Thomas Monjalon , Hemant Agrawal Cc: dev@dpdk.org References: <20230215102905.22767-1-hemant.agrawal@nxp.com> <20230215102905.22767-2-hemant.agrawal@nxp.com> <10101166.0AQdONaE2F@thomas> Content-Language: en-US From: Hemant Agrawal In-Reply-To: <10101166.0AQdONaE2F@thomas> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: SG3P274CA0010.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:be::22) To AS8PR04MB9064.eurprd04.prod.outlook.com (2603:10a6:20b:447::17) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS8PR04MB9064:EE_|DBBPR04MB7500:EE_ X-MS-Office365-Filtering-Correlation-Id: 96761144-84c4-41a6-b91a-08db10002401 X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: sVTz9bMMhglvhpGPluE4k5OPyZCPwV9T92lwbaKJpdGHUZFiwJOJAL0ar2ZGowcjINeTO6DeSYiZpKc6yVVbo8nVgatHOuSxHd9qkOCDHFPs0i0Ug0+Vb6PXKDa3KsC8gQAMwxK5AqaX/thSn0uWZD4XtFfRODKOt0cIDvAc3xQCYazxgA4AqelyUa4sBnaTnitPE42OZtvlX6KVYB9XGFtojPEtSFyuo5Pqz7Gx/4DRrxhyjMn0vkkNCOYfk3OQhzjF3JScBeMaAs3atEDR/P2GPjbwJIHoZQGjjM7VOxGItSjblxcNjOGrd+HpgTdAwbcUBDtNoeZog5ma7rnOOVF3fwquDneZCBXDjp+9uLIge43KKbVUp4jBE2wDobnOhD7z5ZoPA8CYun4EvZnDHJmtRESi+CbGn9ElTqzAdEUGRliLu9O6LnbYf5PApK9sOE0aQnc1MyGcmxYl3svt1p+43LO1xjQb5x2a0AbG8UFcpTM97ZJzJhdaVZaBosqcCUE+g/OW5QIDseN3+FJHvi9CpgrrFu1pqKWkbXXrRuijRyoxmF6FKtDggQdr3Khxu14cBUn9UZAOZiVErMnV7vxEZzeLH1PFsZqVJKaP40873ZEo9C7cuerWICoHSX803flgpVt3yKZtxsqQ6t60amhl/g27WJ4mSf5LWYKO+HNsnGDrY9UzwcnlLnqlganrLi61TLmyKJuz5yvxl1x+tgikvOzmRZhynpvOPfNG3Pk= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AS8PR04MB9064.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230025)(4636009)(366004)(39860400002)(396003)(376002)(346002)(136003)(451199018)(66946007)(66476007)(41300700001)(110136005)(6486002)(316002)(4326008)(478600001)(83380400001)(5660300002)(8936002)(66556008)(6506007)(26005)(31696002)(2616005)(53546011)(6512007)(186003)(8676002)(4744005)(2906002)(38100700002)(86362001)(31686004)(44832011)(43740500002)(45980500001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?KzcwQmJIajBjMGZMUEtZME1kNFNCVUtlSmRaRmJwOHBKcEswMHl1dTJjTUdI?= =?utf-8?B?M3VFQUVXdUdKTmU4bytYZFlaNUhaaUM1UzRtQVFhS0VlTXVORHFqczBUcldM?= =?utf-8?B?eWFTbXVxN0ZFTXFWT2xEamdjQi9RQ2Z3SE9qc1lYejJicktYWktWbUVIemxr?= =?utf-8?B?cDJzMXBqd3NOSlZzUTJXd0dFZFBYRHJWZythRnNVV0FyTzZTQS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yS09hNVBEMEF1ekFhTUEwSC8xcEhsaTYr?= =?utf-8?B?dFAwbVhoaDBXUUdmUlNpeXBLVlZZdFhwdjZhRHZDVlp0UWptMXRwRlUrTVhL?= =?utf-8?B?MjVUY0orOGhDY2d2ZGdsUmNZS252VFB5WFNWZnkwbU9FTk5Ja3N2TnFDRDlr?= =?utf-8?B?dWc9PQ==?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 96761144-84c4-41a6-b91a-08db10002401 X-MS-Exchange-CrossTenant-AuthSource: AS8PR04MB9064.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Feb 2023 09:28:20.3976 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: hwcM8p7i9LDvSoYWBaIcseB6bZEXpP+5m4RENlnQYu7btCOfDyYpAoV6sL5syulJW1RRrAVBRKu87AOnS3WhOQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR04MB7500 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: , Reply-To: hemant.agrawal@nxp.com Errors-To: dev-bounces@dpdk.org On 15-Feb-23 8:46 PM, Thomas Monjalon wrote: > 15/02/2023 11:29, Hemant Agrawal: >> This patch replaces simple printf with fprintf for debug dump >> related functions for various NXP dpaaX related drivers. > Why replacing with fprintf(stdout)? > > Would it be better to provide a FILE* parameter to the functions? yes, I will update. > > >