On Thu, 17 Oct 2019 15:08:05 -0500
Honnappa Nagarahalli <[email protected]> wrote:
> /* count must be a power of 2 */
> if ((!POWEROF2(count)) || (count > RTE_RING_SZ_MASK )) {
> RTE_LOG(ERR, RING,
> - "Requested size is invalid, must be power of 2, and "
> - "do not exceed the size limit %u\n", RTE_RING_SZ_MASK);
> + "Requested number of elements is invalid, must be "
> + "power of 2, and do not exceed the limit %u\n",
Error messages often go to syslog. Please don't use multi-line messages, syslog
doesn't handle it.
Better to be less wordy