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 8D306424E7; Wed, 13 Sep 2023 09:31:04 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 151314027E; Wed, 13 Sep 2023 09:31:04 +0200 (CEST) Received: from mail-ej1-f53.google.com (mail-ej1-f53.google.com [209.85.218.53]) by mails.dpdk.org (Postfix) with ESMTP id 5525340275 for ; Wed, 13 Sep 2023 09:31:02 +0200 (CEST) Received: by mail-ej1-f53.google.com with SMTP id a640c23a62f3a-9ad8bba8125so189206766b.3 for ; Wed, 13 Sep 2023 00:31:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1694590262; x=1695195062; 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=Ka5kv9yoHiFoC3p0q4STAdl1K7sHca3GHnEM/CrwTdk=; b=ZJ2myPYyybRTMxFlc221FqPICE3g87qcQg6pfHofG4RRhVZZqJkMDZ752axd/VPsQH wXVbcsnYwjh0O5Hl1rES3fFNV8lW7AFwhrCcaDMJ1HP1A0rO0CDsltUqHzkGTxfGfpfS UAACLbXbIt7UaVt2DYxjPwIKKTZNBkhyylDNavDBBKrjup1pX2sTDQ7D55s5G5GNAmNq s415A9CBo1n03aMmq28Ki5+eZcMe1qoJCT5ifKhNqY9Qjw6NP8/P9zttxa7jASQ/vqqC Gk0/lMflO1uj1KVIZzlPOwt54OXPk2P4e1FIRuzHacJ7Uxvq6U2nU3bUt9XRXLC5A8PK zXzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694590262; x=1695195062; 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=Ka5kv9yoHiFoC3p0q4STAdl1K7sHca3GHnEM/CrwTdk=; b=QoEl4+2aTrGZi3UMHsqcIXDTz0+e2nuHvN3zV+zLChHrDEw8Itw/tlwCCNvTQMGSJ5 zkdNojgCCFNUSDZRi8doGtQlVuEGLEp2ZBEI7gkE3RMf41OQDDSrEN0hrbo9N2zCRTY2 TK396ugcntAyxfv8X/zri+l75zEfpIWg9PeGgF3tfFY/nktYw94HSfAKj3vN8gDIltzW O1Ru4hLlDdaWKqAkB86UmcJJtnJTbTmNFd4t8FmG5zpTc48Za5Tl9aY98SgZD7v8isoX bRKNAy/SRitW0vyMDC+lbf2CBudJ8Ra1rAbSVH0W279i9GqPcXg1RDaqu9UN3GMsFHAa GkiA== X-Gm-Message-State: AOJu0YxFteNdLrhXa+hwgMGqSOj8gz5A+ugV35x9c/TUZ8BaLtYmWLHq Bg/2HCQM1CdQmO9YuJZgXBn49Q== X-Google-Smtp-Source: AGHT+IH/YVGWjhJc9O7Wd+ThGx+TCu4fGiDqo68XaRHUbQM6hF5PDgI0YVjuIQEaevb5qN2ge0yJ9Q== X-Received: by 2002:a17:906:535d:b0:9a1:f10d:9751 with SMTP id j29-20020a170906535d00b009a1f10d9751mr1246723ejo.23.1694590261756; Wed, 13 Sep 2023 00:31:01 -0700 (PDT) Received: from fedora ([79.140.208.123]) by smtp.gmail.com with ESMTPSA id v14-20020a17090690ce00b0099c53c44083sm7929442ejw.79.2023.09.13.00.31.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Sep 2023 00:31:01 -0700 (PDT) Date: Wed, 13 Sep 2023 00:30:57 -0700 From: Stephen Hemminger To: Min Zhou Cc: yipeng1.wang@intel.com, sameh.gobriel@intel.com, bruce.richardson@intel.com, vladimir.medvedkin@intel.com, pablo.de.lara.guarch@intel.com, dev@dpdk.org Subject: Re: [PATCH 1/1] test/hash: fix error log output Message-ID: <20230913003057.5f22f687@fedora> In-Reply-To: <20230912115239.861800-1-zhoumin@loongson.cn> References: <20230912115239.861800-1-zhoumin@loongson.cn> X-Mailer: Claws Mail 4.1.1 (GTK 3.24.38; x86_64-redhat-linux-gnu) 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, 12 Sep 2023 19:52:39 +0800 Min Zhou wrote: > diff --git a/app/test/test_hash_readwrite.c > b/app/test/test_hash_readwrite.c index 74ca13912f..4997a01249 100644 > --- a/app/test/test_hash_readwrite.c > +++ b/app/test/test_hash_readwrite.c > @@ -162,7 +162,7 @@ init_params(int use_ext, int use_htm, int rw_lf, > int use_jhash) > handle = rte_hash_create(&hash_params); > if (handle == NULL) { > - printf("hash creation failed"); > + printf("hash creation failed\n"); Errors should be writen to stderr, not stdout? It looks like the hash test doesn't do that anywhere though.