]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
checkpatch: add --fix option for a couple OPEN_BRACE misuses
authorJoe Perches <joe@perches.com>
Wed, 6 Aug 2014 23:11:12 +0000 (16:11 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 7 Aug 2014 01:01:28 +0000 (18:01 -0700)
commit8d1824780f2f1786db5e0e7a54bbae75340c655c
tree802aa6870a881f28a4851a79b8240892ca2ef301
parentbd474ca076af8ac6fa8c5f4167f6024b446a08c8
checkpatch: add --fix option for a couple OPEN_BRACE misuses

Style misuses of these types are corrected:

  typedef struct foo
  {
        int bar;
  };

  int foo(int bar) { return bar+1;
  }

  int foo(int bar) {
        return bar+1;
  }

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/checkpatch.pl