[lxc-devel] [lxc/lxc] 27fdb6: cmd: Correctly indent switch statement

GitHub noreply at github.com
Thu Aug 16 08:40:12 UTC 2018


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 27fdb6bec5303a24e2f02693e7bd65dcf732ff6f
      https://github.com/lxc/lxc/commit/27fdb6bec5303a24e2f02693e7bd65dcf732ff6f
  Author: Tobin C. Harding <me at tobin.cc>
  Date:   2018-08-16 (Thu, 16 Aug 2018)

  Changed paths:
    M src/lxc/cmd/lxc_usernsexec.c

  Log Message:
  -----------
  cmd: Correctly indent switch statement

checkpatch.pl emits error

    ERROR: do not use assignment in if condition

Correctly indent switch statement.

Signed-off-by: Tobin C. Harding <me at tobin.cc>


  Commit: 3c84faa377c3f9b1c7aab781b132f63d7ae40263
      https://github.com/lxc/lxc/commit/3c84faa377c3f9b1c7aab781b132f63d7ae40263
  Author: Tobin C. Harding <me at tobin.cc>
  Date:   2018-08-16 (Thu, 16 Aug 2018)

  Changed paths:
    M src/lxc/cmd/lxc_init.c

  Log Message:
  -----------
  cmd: Do not initialise statics to 0

checkpatch.pl emits error

    ERROR: do not initialise statics to 0

Do not initialise statics to 0.

Signed-off-by: Tobin C. Harding <me at tobin.cc>


  Commit: 2db65c2187bd82f036034ded2cadaba92fbd9e1d
      https://github.com/lxc/lxc/commit/2db65c2187bd82f036034ded2cadaba92fbd9e1d
  Author: Tobin C. Harding <me at tobin.cc>
  Date:   2018-08-16 (Thu, 16 Aug 2018)

  Changed paths:
    M src/lxc/cmd/lxc_init.c
    M src/lxc/cmd/lxc_monitord.c
    M src/lxc/cmd/lxc_usernsexec.c

  Log Message:
  -----------
  cmd: Fix whitespace ERRORS

checkpatch.pl emits a bunch of warnings about various whitespace
issues.  Fix all these as a single patch since they are all whitespace
only changes.

Fix whitespace issues found by checkpatch.pl

Signed-off-by: Tobin C. Harding <me at tobin.cc>


  Commit: f0a86c6d1c8288870a5e1c05cc12459ef356c3df
      https://github.com/lxc/lxc/commit/f0a86c6d1c8288870a5e1c05cc12459ef356c3df
  Author: Tobin C. Harding <me at tobin.cc>
  Date:   2018-08-16 (Thu, 16 Aug 2018)

  Changed paths:
    M src/lxc/cmd/lxc_usernsexec.c

  Log Message:
  -----------
  cmd: Move assignment out of if statement

checkpatch.pl emits error

    ERROR: do not use assignment in if condition

Move assignment out of if statement.

Signed-off-by: Tobin C. Harding <me at tobin.cc>


  Commit: 7a8e91c1fcfb766899f44501151fb07a7dcba631
      https://github.com/lxc/lxc/commit/7a8e91c1fcfb766899f44501151fb07a7dcba631
  Author: Christian Brauner <christian at brauner.io>
  Date:   2018-08-16 (Thu, 16 Aug 2018)

  Changed paths:
    M src/lxc/cmd/lxc_init.c
    M src/lxc/cmd/lxc_monitord.c
    M src/lxc/cmd/lxc_usernsexec.c

  Log Message:
  -----------
  Merge pull request #2534 from tcharding/checkpatch

Checkpatch


Compare: https://github.com/lxc/lxc/compare/c5aca61506dd...7a8e91c1fcfb
      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the lxc-devel mailing list