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: sta...@dpdk.org
> 
> Signed-off-by: Min Hu (Connor) <humi...@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 via email to