]> git.baikalelectronics.ru Git - 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)
commit7875f18f00d9b1c911ab392ed78ce8c7452858ab
tree802aa6870a881f28a4851a79b8240892ca2ef301
parent9dcf42af1c9869a6e38e25e0cee561804b79793c
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