diff options
| author | Ingo Molnar <mingo@kernel.org> | 2017-10-23 07:30:47 -0400 |
|---|---|---|
| committer | Ingo Molnar <mingo@kernel.org> | 2017-10-23 07:30:47 -0400 |
| commit | f95b23a112f1a31ea042483540cd907b58d23a5f (patch) | |
| tree | 3d41d2f8cf1d66ed593deb12f25a30d2905eb077 /scripts | |
| parent | da20ab35180780e4a6eadc804544f1fa967f3567 (diff) | |
| parent | 58c3862b521ead4f69a24ef009a679cb3c519620 (diff) | |
Merge branch 'x86/urgent' into x86/asm, to pick up dependent fixes
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/checkpatch.pl | 2 | ||||
| -rwxr-xr-x | scripts/faddr2line | 5 | ||||
| -rw-r--r-- | scripts/kallsyms.c | 2 | ||||
| -rw-r--r-- | scripts/spelling.txt | 33 |
4 files changed, 38 insertions, 4 deletions
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index dd2c262aebbf..8b80bac055e4 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl | |||
| @@ -6390,7 +6390,7 @@ sub process { | |||
| 6390 | exit(0); | 6390 | exit(0); |
| 6391 | } | 6391 | } |
| 6392 | 6392 | ||
| 6393 | if (!$is_patch && $file !~ /cover-letter\.patch$/) { | 6393 | if (!$is_patch && $filename !~ /cover-letter\.patch$/) { |
| 6394 | ERROR("NOT_UNIFIED_DIFF", | 6394 | ERROR("NOT_UNIFIED_DIFF", |
| 6395 | "Does not appear to be a unified-diff format patch\n"); | 6395 | "Does not appear to be a unified-diff format patch\n"); |
| 6396 | } | 6396 | } |
diff --git a/scripts/faddr2line b/scripts/faddr2line index 29df825d375c..2f6ce802397d 100755 --- a/scripts/faddr2line +++ b/scripts/faddr2line | |||
| @@ -103,11 +103,12 @@ __faddr2line() { | |||
| 103 | 103 | ||
| 104 | # Go through each of the object's symbols which match the func name. | 104 | # Go through each of the object's symbols which match the func name. |
| 105 | # In rare cases there might be duplicates. | 105 | # In rare cases there might be duplicates. |
| 106 | file_end=$(size -Ax $objfile | awk '$1 == ".text" {print $2}') | ||
| 106 | while read symbol; do | 107 | while read symbol; do |
| 107 | local fields=($symbol) | 108 | local fields=($symbol) |
| 108 | local sym_base=0x${fields[0]} | 109 | local sym_base=0x${fields[0]} |
| 109 | local sym_type=${fields[1]} | 110 | local sym_type=${fields[1]} |
| 110 | local sym_end=0x${fields[3]} | 111 | local sym_end=${fields[3]} |
| 111 | 112 | ||
| 112 | # calculate the size | 113 | # calculate the size |
| 113 | local sym_size=$(($sym_end - $sym_base)) | 114 | local sym_size=$(($sym_end - $sym_base)) |
| @@ -157,7 +158,7 @@ __faddr2line() { | |||
| 157 | addr2line -fpie $objfile $addr | sed "s; $dir_prefix\(\./\)*; ;" | 158 | addr2line -fpie $objfile $addr | sed "s; $dir_prefix\(\./\)*; ;" |
| 158 | DONE=1 | 159 | DONE=1 |
| 159 | 160 | ||
| 160 | done < <(nm -n $objfile | awk -v fn=$func '$3 == fn { found=1; line=$0; start=$1; next } found == 1 { found=0; print line, $1 }') | 161 | done < <(nm -n $objfile | awk -v fn=$func -v end=$file_end '$3 == fn { found=1; line=$0; start=$1; next } found == 1 { found=0; print line, "0x"$1 } END {if (found == 1) print line, end; }') |
| 161 | } | 162 | } |
| 162 | 163 | ||
| 163 | [[ $# -lt 2 ]] && usage | 164 | [[ $# -lt 2 ]] && usage |
diff --git a/scripts/kallsyms.c b/scripts/kallsyms.c index 5d554419170b..9ee9bf7fd1a2 100644 --- a/scripts/kallsyms.c +++ b/scripts/kallsyms.c | |||
| @@ -158,7 +158,7 @@ static int read_symbol(FILE *in, struct sym_entry *s) | |||
| 158 | else if (str[0] == '$') | 158 | else if (str[0] == '$') |
| 159 | return -1; | 159 | return -1; |
| 160 | /* exclude debugging symbols */ | 160 | /* exclude debugging symbols */ |
| 161 | else if (stype == 'N') | 161 | else if (stype == 'N' || stype == 'n') |
| 162 | return -1; | 162 | return -1; |
| 163 | 163 | ||
| 164 | /* include the type field in the symbol name, so that it gets | 164 | /* include the type field in the symbol name, so that it gets |
diff --git a/scripts/spelling.txt b/scripts/spelling.txt index 400ef35169c5..aa0cc49ad1ad 100644 --- a/scripts/spelling.txt +++ b/scripts/spelling.txt | |||
| @@ -53,6 +53,7 @@ acumulator||accumulator | |||
| 53 | adapater||adapter | 53 | adapater||adapter |
| 54 | addional||additional | 54 | addional||additional |
| 55 | additionaly||additionally | 55 | additionaly||additionally |
| 56 | additonal||additional | ||
| 56 | addres||address | 57 | addres||address |
| 57 | adddress||address | 58 | adddress||address |
| 58 | addreses||addresses | 59 | addreses||addresses |
| @@ -67,6 +68,8 @@ adviced||advised | |||
| 67 | afecting||affecting | 68 | afecting||affecting |
| 68 | againt||against | 69 | againt||against |
| 69 | agaist||against | 70 | agaist||against |
| 71 | aggreataon||aggregation | ||
| 72 | aggreation||aggregation | ||
| 70 | albumns||albums | 73 | albumns||albums |
| 71 | alegorical||allegorical | 74 | alegorical||allegorical |
| 72 | algined||aligned | 75 | algined||aligned |
| @@ -80,6 +83,8 @@ aligment||alignment | |||
| 80 | alignement||alignment | 83 | alignement||alignment |
| 81 | allign||align | 84 | allign||align |
| 82 | alligned||aligned | 85 | alligned||aligned |
| 86 | alllocate||allocate | ||
| 87 | alloated||allocated | ||
| 83 | allocatote||allocate | 88 | allocatote||allocate |
| 84 | allocatrd||allocated | 89 | allocatrd||allocated |
| 85 | allocte||allocate | 90 | allocte||allocate |
| @@ -171,6 +176,7 @@ availale||available | |||
| 171 | availavility||availability | 176 | availavility||availability |
| 172 | availble||available | 177 | availble||available |
| 173 | availiable||available | 178 | availiable||available |
| 179 | availible||available | ||
| 174 | avalable||available | 180 | avalable||available |
| 175 | avaliable||available | 181 | avaliable||available |
| 176 | aysnc||async | 182 | aysnc||async |
| @@ -203,6 +209,7 @@ broadcat||broadcast | |||
| 203 | cacluated||calculated | 209 | cacluated||calculated |
| 204 | caculation||calculation | 210 | caculation||calculation |
| 205 | calender||calendar | 211 | calender||calendar |
| 212 | calescing||coalescing | ||
| 206 | calle||called | 213 | calle||called |
| 207 | callibration||calibration | 214 | callibration||calibration |
| 208 | calucate||calculate | 215 | calucate||calculate |
| @@ -210,6 +217,7 @@ calulate||calculate | |||
| 210 | cancelation||cancellation | 217 | cancelation||cancellation |
| 211 | cancle||cancel | 218 | cancle||cancel |
| 212 | capabilites||capabilities | 219 | capabilites||capabilities |
| 220 | capabilty||capability | ||
| 213 | capabitilies||capabilities | 221 | capabitilies||capabilities |
| 214 | capatibilities||capabilities | 222 | capatibilities||capabilities |
| 215 | capapbilities||capabilities | 223 | capapbilities||capabilities |
| @@ -302,6 +310,7 @@ containts||contains | |||
| 302 | contaisn||contains | 310 | contaisn||contains |
| 303 | contant||contact | 311 | contant||contact |
| 304 | contence||contents | 312 | contence||contents |
| 313 | continious||continuous | ||
| 305 | continous||continuous | 314 | continous||continuous |
| 306 | continously||continuously | 315 | continously||continuously |
| 307 | continueing||continuing | 316 | continueing||continuing |
| @@ -393,6 +402,7 @@ differrence||difference | |||
| 393 | diffrent||different | 402 | diffrent||different |
| 394 | diffrentiate||differentiate | 403 | diffrentiate||differentiate |
| 395 | difinition||definition | 404 | difinition||definition |
| 405 | dimesions||dimensions | ||
| 396 | diplay||display | 406 | diplay||display |
| 397 | direectly||directly | 407 | direectly||directly |
| 398 | disassocation||disassociation | 408 | disassocation||disassociation |
| @@ -449,6 +459,7 @@ equiped||equipped | |||
| 449 | equivelant||equivalent | 459 | equivelant||equivalent |
| 450 | equivilant||equivalent | 460 | equivilant||equivalent |
| 451 | eror||error | 461 | eror||error |
| 462 | errorr||error | ||
| 452 | estbalishment||establishment | 463 | estbalishment||establishment |
| 453 | etsablishment||establishment | 464 | etsablishment||establishment |
| 454 | etsbalishment||establishment | 465 | etsbalishment||establishment |
| @@ -481,6 +492,7 @@ failied||failed | |||
| 481 | faillure||failure | 492 | faillure||failure |
| 482 | failue||failure | 493 | failue||failure |
| 483 | failuer||failure | 494 | failuer||failure |
| 495 | failng||failing | ||
| 484 | faireness||fairness | 496 | faireness||fairness |
| 485 | falied||failed | 497 | falied||failed |
| 486 | faliure||failure | 498 | faliure||failure |
| @@ -493,6 +505,7 @@ fetaure||feature | |||
| 493 | fetaures||features | 505 | fetaures||features |
| 494 | fileystem||filesystem | 506 | fileystem||filesystem |
| 495 | fimware||firmware | 507 | fimware||firmware |
| 508 | firware||firmware | ||
| 496 | finanize||finalize | 509 | finanize||finalize |
| 497 | findn||find | 510 | findn||find |
| 498 | finilizes||finalizes | 511 | finilizes||finalizes |
| @@ -502,6 +515,7 @@ folloing||following | |||
| 502 | followign||following | 515 | followign||following |
| 503 | followings||following | 516 | followings||following |
| 504 | follwing||following | 517 | follwing||following |
| 518 | fonud||found | ||
| 505 | forseeable||foreseeable | 519 | forseeable||foreseeable |
| 506 | forse||force | 520 | forse||force |
| 507 | fortan||fortran | 521 | fortan||fortran |
| @@ -532,6 +546,7 @@ grabing||grabbing | |||
| 532 | grahical||graphical | 546 | grahical||graphical |
| 533 | grahpical||graphical | 547 | grahpical||graphical |
| 534 | grapic||graphic | 548 | grapic||graphic |
| 549 | grranted||granted | ||
| 535 | guage||gauge | 550 | guage||gauge |
| 536 | guarenteed||guaranteed | 551 | guarenteed||guaranteed |
| 537 | guarentee||guarantee | 552 | guarentee||guarantee |
| @@ -543,6 +558,7 @@ happend||happened | |||
| 543 | harware||hardware | 558 | harware||hardware |
| 544 | heirarchically||hierarchically | 559 | heirarchically||hierarchically |
| 545 | helpfull||helpful | 560 | helpfull||helpful |
| 561 | hybernate||hibernate | ||
| 546 | hierachy||hierarchy | 562 | hierachy||hierarchy |
| 547 | hierarchie||hierarchy | 563 | hierarchie||hierarchy |
| 548 | howver||however | 564 | howver||however |
| @@ -565,16 +581,19 @@ implemenation||implementation | |||
| 565 | implementaiton||implementation | 581 | implementaiton||implementation |
| 566 | implementated||implemented | 582 | implementated||implemented |
| 567 | implemention||implementation | 583 | implemention||implementation |
| 584 | implementd||implemented | ||
| 568 | implemetation||implementation | 585 | implemetation||implementation |
| 569 | implemntation||implementation | 586 | implemntation||implementation |
| 570 | implentation||implementation | 587 | implentation||implementation |
| 571 | implmentation||implementation | 588 | implmentation||implementation |
| 572 | implmenting||implementing | 589 | implmenting||implementing |
| 590 | incative||inactive | ||
| 573 | incomming||incoming | 591 | incomming||incoming |
| 574 | incompatabilities||incompatibilities | 592 | incompatabilities||incompatibilities |
| 575 | incompatable||incompatible | 593 | incompatable||incompatible |
| 576 | inconsistant||inconsistent | 594 | inconsistant||inconsistent |
| 577 | increas||increase | 595 | increas||increase |
| 596 | incremeted||incremented | ||
| 578 | incrment||increment | 597 | incrment||increment |
| 579 | indendation||indentation | 598 | indendation||indentation |
| 580 | indended||intended | 599 | indended||intended |
| @@ -619,6 +638,7 @@ interger||integer | |||
| 619 | intermittant||intermittent | 638 | intermittant||intermittent |
| 620 | internel||internal | 639 | internel||internal |
| 621 | interoprability||interoperability | 640 | interoprability||interoperability |
| 641 | interuupt||interrupt | ||
| 622 | interrface||interface | 642 | interrface||interface |
| 623 | interrrupt||interrupt | 643 | interrrupt||interrupt |
| 624 | interrup||interrupt | 644 | interrup||interrupt |
| @@ -638,8 +658,10 @@ intrrupt||interrupt | |||
| 638 | intterrupt||interrupt | 658 | intterrupt||interrupt |
| 639 | intuative||intuitive | 659 | intuative||intuitive |
| 640 | invaid||invalid | 660 | invaid||invalid |
| 661 | invald||invalid | ||
| 641 | invalde||invalid | 662 | invalde||invalid |
| 642 | invalide||invalid | 663 | invalide||invalid |
| 664 | invalidiate||invalidate | ||
| 643 | invalud||invalid | 665 | invalud||invalid |
| 644 | invididual||individual | 666 | invididual||individual |
| 645 | invokation||invocation | 667 | invokation||invocation |
| @@ -713,6 +735,7 @@ misformed||malformed | |||
| 713 | mispelled||misspelled | 735 | mispelled||misspelled |
| 714 | mispelt||misspelt | 736 | mispelt||misspelt |
| 715 | mising||missing | 737 | mising||missing |
| 738 | mismactch||mismatch | ||
| 716 | missmanaged||mismanaged | 739 | missmanaged||mismanaged |
| 717 | missmatch||mismatch | 740 | missmatch||mismatch |
| 718 | miximum||maximum | 741 | miximum||maximum |
| @@ -731,6 +754,7 @@ multidimensionnal||multidimensional | |||
| 731 | multple||multiple | 754 | multple||multiple |
| 732 | mumber||number | 755 | mumber||number |
| 733 | muticast||multicast | 756 | muticast||multicast |
| 757 | mutilcast||multicast | ||
| 734 | mutiple||multiple | 758 | mutiple||multiple |
| 735 | mutli||multi | 759 | mutli||multi |
| 736 | nams||names | 760 | nams||names |
| @@ -834,6 +858,7 @@ posible||possible | |||
| 834 | positon||position | 858 | positon||position |
| 835 | possibilites||possibilities | 859 | possibilites||possibilities |
| 836 | powerfull||powerful | 860 | powerfull||powerful |
| 861 | preample||preamble | ||
| 837 | preapre||prepare | 862 | preapre||prepare |
| 838 | preceeded||preceded | 863 | preceeded||preceded |
| 839 | preceeding||preceding | 864 | preceeding||preceding |
| @@ -1059,6 +1084,7 @@ sturcture||structure | |||
| 1059 | subdirectoires||subdirectories | 1084 | subdirectoires||subdirectories |
| 1060 | suble||subtle | 1085 | suble||subtle |
| 1061 | substract||subtract | 1086 | substract||subtract |
| 1087 | submition||submission | ||
| 1062 | succesfully||successfully | 1088 | succesfully||successfully |
| 1063 | succesful||successful | 1089 | succesful||successful |
| 1064 | successed||succeeded | 1090 | successed||succeeded |
| @@ -1078,6 +1104,7 @@ suppoted||supported | |||
| 1078 | suppported||supported | 1104 | suppported||supported |
| 1079 | suppport||support | 1105 | suppport||support |
| 1080 | supress||suppress | 1106 | supress||suppress |
| 1107 | surpressed||suppressed | ||
| 1081 | surpresses||suppresses | 1108 | surpresses||suppresses |
| 1082 | susbsystem||subsystem | 1109 | susbsystem||subsystem |
| 1083 | suspeneded||suspended | 1110 | suspeneded||suspended |
| @@ -1091,6 +1118,7 @@ swithced||switched | |||
| 1091 | swithcing||switching | 1118 | swithcing||switching |
| 1092 | swithed||switched | 1119 | swithed||switched |
| 1093 | swithing||switching | 1120 | swithing||switching |
| 1121 | swtich||switch | ||
| 1094 | symetric||symmetric | 1122 | symetric||symmetric |
| 1095 | synax||syntax | 1123 | synax||syntax |
| 1096 | synchonized||synchronized | 1124 | synchonized||synchronized |
| @@ -1111,7 +1139,9 @@ therfore||therefore | |||
| 1111 | thier||their | 1139 | thier||their |
| 1112 | threds||threads | 1140 | threds||threads |
| 1113 | threshhold||threshold | 1141 | threshhold||threshold |
| 1142 | thresold||threshold | ||
| 1114 | throught||through | 1143 | throught||through |
| 1144 | troughput||throughput | ||
| 1115 | thses||these | 1145 | thses||these |
| 1116 | tiggered||triggered | 1146 | tiggered||triggered |
| 1117 | tipically||typically | 1147 | tipically||typically |
| @@ -1120,6 +1150,7 @@ tmis||this | |||
| 1120 | torerable||tolerable | 1150 | torerable||tolerable |
| 1121 | tramsmitted||transmitted | 1151 | tramsmitted||transmitted |
| 1122 | tramsmit||transmit | 1152 | tramsmit||transmit |
| 1153 | tranasction||transaction | ||
| 1123 | tranfer||transfer | 1154 | tranfer||transfer |
| 1124 | transciever||transceiver | 1155 | transciever||transceiver |
| 1125 | transferd||transferred | 1156 | transferd||transferred |
| @@ -1133,6 +1164,7 @@ trasmission||transmission | |||
| 1133 | treshold||threshold | 1164 | treshold||threshold |
| 1134 | trigerring||triggering | 1165 | trigerring||triggering |
| 1135 | trun||turn | 1166 | trun||turn |
| 1167 | tunning||tuning | ||
| 1136 | ture||true | 1168 | ture||true |
| 1137 | tyep||type | 1169 | tyep||type |
| 1138 | udpate||update | 1170 | udpate||update |
| @@ -1199,6 +1231,7 @@ visiters||visitors | |||
| 1199 | vitual||virtual | 1231 | vitual||virtual |
| 1200 | wakeus||wakeups | 1232 | wakeus||wakeups |
| 1201 | wating||waiting | 1233 | wating||waiting |
| 1234 | wiat||wait | ||
| 1202 | wether||whether | 1235 | wether||whether |
| 1203 | whataver||whatever | 1236 | whataver||whatever |
| 1204 | whcih||which | 1237 | whcih||which |
