diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-07-25 16:56:39 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-07-25 16:56:39 -0400 |
commit | d3ec4844d449cf7af9e749f73ba2052fb7b72fc2 (patch) | |
tree | c515913e85f7e50878c83da2a88bc5a7269d087c /scripts | |
parent | 0003230e8200699860f0b10af524dc47bf8aecad (diff) | |
parent | df2e301fee3c2c2a87592151397ad7699bb14c37 (diff) |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (43 commits)
fs: Merge split strings
treewide: fix potentially dangerous trailing ';' in #defined values/expressions
uwb: Fix misspelling of neighbourhood in comment
net, netfilter: Remove redundant goto in ebt_ulog_packet
trivial: don't touch files that are removed in the staging tree
lib/vsprintf: replace link to Draft by final RFC number
doc: Kconfig: `to be' -> `be'
doc: Kconfig: Typo: square -> squared
doc: Konfig: Documentation/power/{pm => apm-acpi}.txt
drivers/net: static should be at beginning of declaration
drivers/media: static should be at beginning of declaration
drivers/i2c: static should be at beginning of declaration
XTENSA: static should be at beginning of declaration
SH: static should be at beginning of declaration
MIPS: static should be at beginning of declaration
ARM: static should be at beginning of declaration
rcu: treewide: Do not use rcu_read_lock_held when calling rcu_dereference_check
Update my e-mail address
PCIe ASPM: forcedly -> forcibly
gma500: push through device driver tree
...
Fix up trivial conflicts:
- arch/arm/mach-ep93xx/dma-m2p.c (deleted)
- drivers/gpio/gpio-ep93xx.c (renamed and context nearby)
- drivers/net/r8169.c (just context changes)
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/bootgraph.pl | 2 | ||||
-rw-r--r-- | scripts/docproc.c | 17 | ||||
-rw-r--r-- | scripts/gcc-goto.sh | 2 |
3 files changed, 7 insertions, 14 deletions
diff --git a/scripts/bootgraph.pl b/scripts/bootgraph.pl index 12caa822a232..b78fca994a15 100644 --- a/scripts/bootgraph.pl +++ b/scripts/bootgraph.pl | |||
@@ -44,7 +44,7 @@ my %end; | |||
44 | my %type; | 44 | my %type; |
45 | my $done = 0; | 45 | my $done = 0; |
46 | my $maxtime = 0; | 46 | my $maxtime = 0; |
47 | my $firsttime = 100; | 47 | my $firsttime = 99999; |
48 | my $count = 0; | 48 | my $count = 0; |
49 | my %pids; | 49 | my %pids; |
50 | my %pidctr; | 50 | my %pidctr; |
diff --git a/scripts/docproc.c b/scripts/docproc.c index 98dec87974d0..4cfdc1797eb8 100644 --- a/scripts/docproc.c +++ b/scripts/docproc.c | |||
@@ -205,8 +205,7 @@ static void find_export_symbols(char * filename) | |||
205 | PATH_MAX - strlen(real_filename)); | 205 | PATH_MAX - strlen(real_filename)); |
206 | sym = add_new_file(filename); | 206 | sym = add_new_file(filename); |
207 | fp = fopen(real_filename, "r"); | 207 | fp = fopen(real_filename, "r"); |
208 | if (fp == NULL) | 208 | if (fp == NULL) { |
209 | { | ||
210 | fprintf(stderr, "docproc: "); | 209 | fprintf(stderr, "docproc: "); |
211 | perror(real_filename); | 210 | perror(real_filename); |
212 | exit(1); | 211 | exit(1); |
@@ -487,8 +486,7 @@ static void parse_file(FILE *infile) | |||
487 | default: | 486 | default: |
488 | defaultline(line); | 487 | defaultline(line); |
489 | } | 488 | } |
490 | } | 489 | } else { |
491 | else { | ||
492 | defaultline(line); | 490 | defaultline(line); |
493 | } | 491 | } |
494 | } | 492 | } |
@@ -519,8 +517,7 @@ int main(int argc, char *argv[]) | |||
519 | exit(2); | 517 | exit(2); |
520 | } | 518 | } |
521 | 519 | ||
522 | if (strcmp("doc", argv[1]) == 0) | 520 | if (strcmp("doc", argv[1]) == 0) { |
523 | { | ||
524 | /* Need to do this in two passes. | 521 | /* Need to do this in two passes. |
525 | * First pass is used to collect all symbols exported | 522 | * First pass is used to collect all symbols exported |
526 | * in the various files; | 523 | * in the various files; |
@@ -556,9 +553,7 @@ int main(int argc, char *argv[]) | |||
556 | fprintf(stderr, "Warning: didn't use docs for %s\n", | 553 | fprintf(stderr, "Warning: didn't use docs for %s\n", |
557 | all_list[i]); | 554 | all_list[i]); |
558 | } | 555 | } |
559 | } | 556 | } else if (strcmp("depend", argv[1]) == 0) { |
560 | else if (strcmp("depend", argv[1]) == 0) | ||
561 | { | ||
562 | /* Create first part of dependency chain | 557 | /* Create first part of dependency chain |
563 | * file.tmpl */ | 558 | * file.tmpl */ |
564 | printf("%s\t", argv[2]); | 559 | printf("%s\t", argv[2]); |
@@ -571,9 +566,7 @@ int main(int argc, char *argv[]) | |||
571 | findall = adddep; | 566 | findall = adddep; |
572 | parse_file(infile); | 567 | parse_file(infile); |
573 | printf("\n"); | 568 | printf("\n"); |
574 | } | 569 | } else { |
575 | else | ||
576 | { | ||
577 | fprintf(stderr, "Unknown option: %s\n", argv[1]); | 570 | fprintf(stderr, "Unknown option: %s\n", argv[1]); |
578 | exit(1); | 571 | exit(1); |
579 | } | 572 | } |
diff --git a/scripts/gcc-goto.sh b/scripts/gcc-goto.sh index 520d16b1ffaf..98cffcb941ea 100644 --- a/scripts/gcc-goto.sh +++ b/scripts/gcc-goto.sh | |||
@@ -1,5 +1,5 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | # Test for gcc 'asm goto' suport | 2 | # Test for gcc 'asm goto' support |
3 | # Copyright (C) 2010, Jason Baron <jbaron@redhat.com> | 3 | # Copyright (C) 2010, Jason Baron <jbaron@redhat.com> |
4 | 4 | ||
5 | echo "int main(void) { entry: asm goto (\"\"::::entry); return 0; }" | $@ -x c - -c -o /dev/null >/dev/null 2>&1 && echo "y" | 5 | echo "int main(void) { entry: asm goto (\"\"::::entry); return 0; }" | $@ -x c - -c -o /dev/null >/dev/null 2>&1 && echo "y" |