WARNING: line length of 82 exceeds 80 columns #107: FILE: drivers/rtc/rtc-nct6694.c:37: +#define NCT6694_RTC_IRQ_INT_EN BIT(0) /* Transmit a USB INT-in when RTC alarm */ WARNING: line length of 84 exceeds 80 columns #108: FILE: drivers/rtc/rtc-nct6694.c:38: +#define NCT6694_RTC_IRQ_GPO_EN BIT(5) /* Trigger a GPO Low Pulse when RTC alarm */ WARNING: line length of 81 exceeds 80 columns #110: FILE: drivers/rtc/rtc-nct6694.c:40: +#define NCT6694_RTC_IRQ_EN (NCT6694_RTC_IRQ_INT_EN | NCT6694_RTC_IRQ_GPO_EN) WARNING: line length of 82 exceeds 80 columns #165: FILE: drivers/rtc/rtc-nct6694.c:95: + tm->tm_sec = bcd2bin(time->sec); /* tm_sec expect 0 ~ 59 */ WARNING: line length of 82 exceeds 80 columns #166: FILE: drivers/rtc/rtc-nct6694.c:96: + tm->tm_min = bcd2bin(time->min); /* tm_min expect 0 ~ 59 */ WARNING: line length of 83 exceeds 80 columns #167: FILE: drivers/rtc/rtc-nct6694.c:97: + tm->tm_hour = bcd2bin(time->hour); /* tm_hour expect 0 ~ 23 */ WARNING: line length of 82 exceeds 80 columns #168: FILE: drivers/rtc/rtc-nct6694.c:98: + tm->tm_wday = bcd2bin(time->week) - 1; /* tm_wday expect 0 ~ 6 */ WARNING: line length of 83 exceeds 80 columns #169: FILE: drivers/rtc/rtc-nct6694.c:99: + tm->tm_mday = bcd2bin(time->day); /* tm_mday expect 1 ~ 31 */ WARNING: line length of 84 exceeds 80 columns #170: FILE: drivers/rtc/rtc-nct6694.c:100: + tm->tm_mon = bcd2bin(time->month) - 1; /* tm_month expect 0 ~ 11 */ WARNING: line length of 87 exceeds 80 columns #171: FILE: drivers/rtc/rtc-nct6694.c:101: + tm->tm_year = bcd2bin(time->year) + 100; /* tm_year expect since 1900 */ WARNING: line length of 81 exceeds 80 columns #243: FILE: drivers/rtc/rtc-nct6694.c:173: +static int nct6694_rtc_alarm_irq_enable(struct device *dev, unsigned int enabled) WARNING: line length of 81 exceeds 80 columns #334: FILE: drivers/rtc/rtc-nct6694.c:264: + return dev_err_probe(&pdev->dev, ret, "Failed to init wakeup\n"); WARNING: line length of 81 exceeds 80 columns #351: FILE: drivers/rtc/rtc-nct6694.c:281: + return dev_err_probe(&pdev->dev, ret, "Failed to request irq\n"); total: 0 errors, 13 warnings, 0 checks, 328 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 805159c11691 ("rtc: Add Nuvoton NCT6694 RTC support") 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, 13 warnings, 0 checks, 328 lines checked