[PATCH] common/mlx5: decrease log level for hlist creation

Stephen Hemminger stephen at networkplumber.org
Tue Nov 16 22:33:26 CET 2021


On Tue, 16 Nov 2021 21:33:54 +0100
David Marchand <david.marchand at redhat.com> wrote:

>  		act_size = rte_align32pow2(size);
> -		DRV_LOG(WARNING, "Size 0x%" PRIX32 " is not power of 2, will "
> +		DRV_LOG(DEBUG, "Size 0x%" PRIX32 " is not power of 2, will "
>  			"be aligned to 0x%" PRIX32 ".", size, act_size);

Splitting log message mid sentence is bad practice, why not fix it?

		DRV_LOG(DEBUG,
			"Size %#" PRIX32 " is not power of 2, will be aligned to %#" PRIX32
		         size, act_size);


More information about the dev mailing list