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 358A54554D; Tue, 2 Jul 2024 17:11:18 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2174A40A6F; Tue, 2 Jul 2024 17:11:18 +0200 (CEST) Received: from mail-pf1-f174.google.com (mail-pf1-f174.google.com [209.85.210.174]) by mails.dpdk.org (Postfix) with ESMTP id CA39F402AD for ; Tue, 2 Jul 2024 17:11:16 +0200 (CEST) Received: by mail-pf1-f174.google.com with SMTP id d2e1a72fcca58-70683d96d0eso2605981b3a.0 for ; Tue, 02 Jul 2024 08:11:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1719933076; x=1720537876; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=5Q+43YPogq2nC6aPcTwwDgLQ+2N38Kb/stiPssf/uT4=; b=uXXAq5oHATYWJVBv2AxVQBknqQFeWHRK9p6CyGvG1aLSeBr8tVKnG2JKs5jUOYCnPX izZtrldFgSmHKKy91sIF9LzZf5rUy8U2KXG9Oeu93JMJIVFzt5rov75iG8CMb18LOldu B75E2whKWb0Gk/Xomgi4JBqKnYFtOuVwzZq+vL2Smu8K1FY4pQqcYp3r+WC0mvXPJUON Nb41lwQjDFFmegP6uqOpASOSUts0RQhoUSFO+oSytzmftHPMJci+9jElzOqz1XIvuRSi pY/Ep61SKVjGwsOBkjx4oP915RpSUkBa/PvXDbnDVi36VgFFexQj7PwncQbAQ3MP5OVc kq/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719933076; x=1720537876; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=5Q+43YPogq2nC6aPcTwwDgLQ+2N38Kb/stiPssf/uT4=; b=rOJ4ji/FuDQfLXqQzxKkO3hh+Wmu0y7exqsNPUfbwgqqKiVoHFI+l42ZoPi2sxNbXK ZGCAXA1kTm5l/5H3MASvjOikQ0Dbj3KsqWti6eIRrdEVUQb6C983FPCSol76SbsUtEbI 4PN3j5HBbK2sEZHYOAnbZOJFUkoS6H4cgi5+AMmISQfkzXpEWilWtrgURZ5m1lyrE/N9 wFvKtOWM6YYCHXpj6iuG40YoLwT3+0Luk/9FTyqCy2TaOI0ZGz6uvzQ6BnaGBx2AwNLV zVMiNlq+l6bVCArZ8fBRXCf6kotwFATzkJCsl0RUGWmTKX9/C8lo8Ear3ju38ZzAuB2x vQ7A== X-Gm-Message-State: AOJu0Yyb2QHTKPLYiBhXhXxQ8bgRo6Dylb+kMP0XFQOgcgZkuyZ/06ZO 3oSpPBBFyICVLG4MtFt1+TFhTb70N9YOOuMSt7RMEZksaWNoYJ+tY7sBqMxTJFACGq15Cim3yJG gzMo= X-Google-Smtp-Source: AGHT+IE2VuOvCTTZFpu7QRGCHy/Nggyh86qaInIHovyXrqU/zYRfkvLKkOJ1XzWrzVK+UcogS7OYOQ== X-Received: by 2002:a05:6a00:80f:b0:706:6408:7917 with SMTP id d2e1a72fcca58-70aaadd1018mr9544098b3a.26.1719933075870; Tue, 02 Jul 2024 08:11:15 -0700 (PDT) Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-70803ecf757sm8625589b3a.104.2024.07.02.08.11.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Jul 2024 08:11:15 -0700 (PDT) Date: Tue, 2 Jul 2024 08:11:12 -0700 From: Stephen Hemminger To: Hemant Agrawal Cc: dev@dpdk.org, thomas@monjalon.net, david.marchand@redhat.com Subject: Re: [PATCH v2 2/2] drivers: replace printf with fprintf for debug functions Message-ID: <20240702081112.530a5f11@hermes.local> In-Reply-To: <20240702104013.3813272-2-hemant.agrawal@nxp.com> References: <20230215102905.22767-1-hemant.agrawal@nxp.com> <20240702104013.3813272-1-hemant.agrawal@nxp.com> <20240702104013.3813272-2-hemant.agrawal@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 On Tue, 2 Jul 2024 16:10:13 +0530 Hemant Agrawal wrote: > > - printf("\n JD before conversion\n"); > + fprintf(stdout, "\n JD before conversion\n"); > for (i = 0; i < 12; i++) > - printf("\n 0x%08x", ctx->jobdes.desc[i]); > + fprintf(stdout, "\n 0x%08x", ctx->jobdes.desc[i]); Don't see the point of this change, printf() and fprintf(stdout) are same thing.