Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lib-extablec-use-bsearch-library-function-in-search_extable-checkpatc…
…h-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]>
- Loading branch information