[CRIU] [PATCH 00/14 v2] Spring '17 cleaning

Andrei Vagin avagin at virtuozzo.com
Thu Mar 23 15:45:10 PDT 2017


Applied

On Thu, Mar 23, 2017 at 03:01:57PM -0700, Kir Kolyshkin wrote:
> I saw a single case of \n used in pr_perror() in some recent patch,
> took a look, one thing led to another ... and here it is.
> 
> NOTE there are many similar errors in tests, which I decided not to
> touch (yet?).
> 
> [v2: no patch changed, just resend in a proper way to not confuse patchwork;
>      added reviewed-by; year fixed (huge thanks to Mike!)]
> 
> Kir Kolyshkin (14):
>   criu/img-remote-proto.c: use static mutex init
>   criu/img-remote-proto.c: error printing fixes
>   prepare_pstree_ids(): improve an error message
>   can_dump_inet_sk(): improve an error message
>   Use pr_perror() on open() failure
>   pr_err(): don't forget a newline
>   Correct an error message after waitpid
>   criu/namespaces.c: fix pr_perror usage
>   criu/namespaces.c: correct pr_err vs pr_perror usage
>   criu/img-remote.c: use xmalloc
>   criu/img-remote.c: use pr_err not pr_perror
>   copy_file: rm extra error message
>   No \n in pr_perror
>   Spring whitespace cleanup
> 
>  compel/arch/ppc64/src/lib/cpu.c    |   2 +-
>  compel/arch/x86/src/lib/infect.c   |   2 +-
>  compel/src/lib/infect.c            |   2 +-
>  criu/arch/ppc64/cpu.c              |  38 ++++-----
>  criu/arch/ppc64/crtools.c          |  98 +++++++++++-----------
>  criu/arch/x86/include/asm/compat.h |   3 +-
>  criu/arch/x86/restorer.c           |   4 +-
>  criu/cgroup.c                      |   6 +-
>  criu/cr-restore.c                  |   6 +-
>  criu/crtools.c                     |   3 +-
>  criu/files-reg.c                   |   2 +-
>  criu/filesystems.c                 |   2 +-
>  criu/image.c                       |   2 +-
>  criu/img-remote-proto.c            | 167 +++++++++++++++++--------------------
>  criu/img-remote.c                  |  39 ++++-----
>  criu/lsm.c                         |   4 +-
>  criu/mem.c                         |  22 ++---
>  criu/mount.c                       |   2 +-
>  criu/namespaces.c                  |  21 ++---
>  criu/net.c                         |   2 +-
>  criu/page-xfer.c                   |   2 +-
>  criu/pstree.c                      |   6 +-
>  criu/sk-inet.c                     |   2 +-
>  criu/sk-netlink.c                  |   4 +-
>  criu/sk-packet.c                   |   8 +-
>  criu/sk-unix.c                     |   4 +-
>  criu/sockets.c                     |   2 +-
>  criu/tty.c                         |   5 +-
>  criu/uffd.c                        |   2 +-
>  criu/util.c                        |  11 ++-
>  soccr/soccr.c                      |  28 +++----
>  31 files changed, 244 insertions(+), 257 deletions(-)
> 
> -- 
> 2.9.3
> 


More information about the CRIU mailing list