[PATCH 2/2] test/hash: fix coverity warning

Stephen Hemminger stephen at networkplumber.org
Thu Nov 3 19:33:00 CET 2022


On Thu,  3 Nov 2022 18:13:38 +0000
Vladimir Medvedkin <vladimir.medvedkin at intel.com> wrote:

> +				if (ret != 0) {
> +					printf("rte_hash_lookup_with_hash_bulk"
> +						" failed with %d\n", ret);
> +					return -1;
> +				}

It makes it harder to search for error messages when they are split.
Ignore any checkpatch warnings about this.

Also, shouldn't test failures be printed on stderr rather than stdout?


More information about the stable mailing list