[CRIU] ✗ travis-ci: failure for log level cleanups (rev2)

Kir Kolyshkin kir at openvz.org
Sun Feb 12 03:18:06 PST 2017


On 02/10/2017 06:57 PM, Patchwork wrote:
> == Series Details ==
>
> Series: log level cleanups (rev2)
> URL   : https://patchwork.criu.org/series/1217/
> State : failure
>
> == Logs ==
>
> For more details see: https://travis-ci.org/criupatchwork/criu/builds/200559631

Amazing! This was caused by a missing comma (that I removed by mistake):

  #define pr_warn(fmt, ...)                                              \
compel_print_on_level(LOG_WARN,                                 \
-                      "Warn  (%s:%d): " LOG_PREFIX 
fmt,                        \
+                      "Warn  (%s:%d): " LOG_PREFIX fmt                 \
                        __FILE__, __LINE__, ##__VA_ARGS__)

The compiler should've catched it, but the compel_print_on_level()
prototype was not annotated with the printf attribute.

I will send the fixed/updated patches soon.


More information about the CRIU mailing list