CHECK: extern prototypes should be avoided in .h files #49: FILE: include/linux/timekeeping.h:321: +extern bool ktime_real_to_base_clock(ktime_t treal, CHECK: extern prototypes should be avoided in .h files #51: FILE: include/linux/timekeeping.h:323: +extern bool timekeeping_clocksource_has_base(enum clocksource_ids id); WARNING: line length of 90 exceeds 80 columns #91: FILE: kernel/time/timekeeping.c:1259: + * ktime_real_to_base_clock() - Convert CLOCK_REALTIME timestamp to a base clock timestamp WARNING: line length of 90 exceeds 80 columns #96: FILE: kernel/time/timekeeping.c:1264: + * Converts a supplied, future realtime clock value to the corresponding base clock value. WARNING: line length of 87 exceeds 80 columns #100: FILE: kernel/time/timekeeping.c:1268: +bool ktime_real_to_base_clock(ktime_t treal, enum clocksource_ids base_id, u64 *cycles) WARNING: line length of 82 exceeds 80 columns #148: FILE: kernel/time/timekeeping.c:1420: + ret = (tk_core.timekeeper.tkr_mono.clock->base->id == id); total: 0 errors, 4 warnings, 2 checks, 108 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. Commit 23d3c6ab482f ("timekeeping: Add function to convert realtime to base clock") has style problems, please review. NOTE: Ignored message types: ALLOC_SIZEOF_STRUCT BAD_REPORTED_BY_LINK CAMELCASE COMMIT_LOG_LONG_LINE GIT_COMMIT_ID MACRO_ARG_REUSE NO_AUTHOR_SIGN_OFF NOTE: If any of the errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS. total: 0 errors, 4 warnings, 2 checks, 108 lines checked