]> git.droids-corp.org - dpdk.git/commit
compressdev: fix missing space in log macro
authorBruce Richardson <bruce.richardson@intel.com>
Fri, 11 Mar 2022 20:05:21 +0000 (20:05 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 15 Mar 2022 01:13:57 +0000 (02:13 +0100)
commitdfb90fbe6b2b11ecf3535286c8d418ba8cc5485c
tree0aacf59625b3710f6eaf49fb19cc63fbb0a9e0ed
parentb98d1dc0fb0e49b94858501d88512e6354b0e9de
compressdev: fix missing space in log macro

Building with clang on FreeBSD with chkincs enabled, we get the
following error about a missing space:

lib/compressdev/rte_compressdev_internal.h:25:58: error:
invalid suffix on literal;
C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal]
        rte_log(RTE_LOG_ ## level, compressdev_logtype, "%s(): "fmt "\n", \

Adding in a space between the '"' and 'fmt' removes the error.

Fixes: ed7dd94f7f66 ("compressdev: add basic device management")
Cc: stable@dpdk.org
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
lib/compressdev/rte_compressdev_internal.h