Commit f38ebd3
lib-extablec-use-bsearch-library-function-in-search_extable-checkpatch-fixes
WARNING: line over 80 characters
torvalds#42: FILE: kernel/extable.c:58:
+ e = search_extable(__start___ex_table, __stop___ex_table - __start___ex_table, addr);
ERROR: "foo * bar" should be "foo *bar"
torvalds#94: FILE: lib/extable.c:100:
+ const struct exception_table_entry * _elt = elt;
ERROR: "(foo*)" should be "(foo *)"
torvalds#95: FILE: lib/extable.c:101:
+ unsigned long k = *(unsigned long*) key;
WARNING: line over 80 characters
torvalds#132: FILE: lib/extable.c:123:
+ return bsearch(&value, first, num, sizeof(struct exception_table_entry), cmp_ex_search);
total: 2 errors, 2 warnings, 100 lines checked
NOTE: For some of the reported defects, checkpatch may be able to
mechanically convert to the typical style using --fix or --fix-inplace.
./patches/lib-extablec-use-bsearch-library-function-in-search_extable.patch has style problems, please review.
NOTE: If any of the errors are false positives, please report
them to the maintainer, see CHECKPATCH in MAINTAINERS.
Please run checkpatch prior to sending patches
Cc: Thomas Meyer <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>1 parent ad8aa0a commit f38ebd3
2 files changed
+6
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
| 59 | + | |
59 | 60 | | |
60 | 61 | | |
61 | 62 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | | - | |
101 | | - | |
| 100 | + | |
| 101 | + | |
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
123 | | - | |
| 123 | + | |
| 124 | + | |
124 | 125 | | |
125 | 126 | | |
0 commit comments