DPDK patches and discussions
 help / color / mirror / Atom feed
From: Thomas Monjalon <thomas@monjalon.net>
To: "Min Hu (Connor)" <humin29@huawei.com>
Cc: dev@dpdk.org, ferruh.yigit@intel.com, nipun.gupta@nxp.com,
	hemant.agrawal@nxp.com
Subject: Re: [dpdk-dev] [PATCH] raw/skeleton: fix return value check
Date: Wed, 12 May 2021 16:29:23 +0200	[thread overview]
Message-ID: <2432315.0YYthSTycW@thomas> (raw)
In-Reply-To: <1619072506-48243-1-git-send-email-humin29@huawei.com>

22/04/2021 08:21, Min Hu (Connor):
> This patch adds return value check for setting an attribute.
> 
> Fixes: 88a81bcecb7b ("raw/skeleton: remove compile-time constant for device id")
> Cc: stable@dpdk.org
> 
> Signed-off-by: Min Hu (Connor) <humin29@huawei.com>
> ---
>  	ret = rte_rawdev_set_attr(test_dev_id, "Test2", (uintptr_t)dummy_value);
> +	RTE_TEST_ASSERT(!ret, "Unable to set an attribute (Test2)");

Applied with title
"raw/skeleton: add missing check after setting attribute"
thanks




      reply	other threads:[~2021-05-12 14:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-22  6:21 Min Hu (Connor)
2021-05-12 14:29 ` Thomas Monjalon [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2432315.0YYthSTycW@thomas \
    --to=thomas@monjalon.net \
    --cc=dev@dpdk.org \
    --cc=ferruh.yigit@intel.com \
    --cc=hemant.agrawal@nxp.com \
    --cc=humin29@huawei.com \
    --cc=nipun.gupta@nxp.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).