diff options
| author | Andy Whitcroft <apw@canonical.com> | 2009-01-15 13:51:04 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-01-15 16:39:38 -0800 |
| commit | a27506459c5e6ccc8437fca0adb6d3759c883c28 (patch) | |
| tree | 7ebce7fae5d7d989952bbc152aa270043445ab1c /scripts/checkstack.pl | |
| parent | nbd: do not allow two clients at the same time (diff) | |
| download | linux-a27506459c5e6ccc8437fca0adb6d3759c883c28.tar.gz linux-a27506459c5e6ccc8437fca0adb6d3759c883c28.zip | |
checkpatch: handle missing #if open in context
If the #if opening statement is not in the context then the context stack
can be empty. Handle this by ensuring there is always a blank entry in
the stack.
Signed-off-by: Andy Whitcroft <apw@canonical.com>
Tested-by: Dhaval Giani <dhaval@linux.vnet.ibm.com>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts/checkstack.pl')
0 files changed, 0 insertions, 0 deletions
