WARNING: line length of 82 exceeds 80 columns #101: FILE: drivers/rtc/rtc-nct6694.c:32: +#define NCT6694_RTC_IRQ_INT_EN BIT(0) /* Transmit a USB INT-in when RTC alarm */ WARNING: line length of 84 exceeds 80 columns #102: FILE: drivers/rtc/rtc-nct6694.c:33: +#define NCT6694_RTC_IRQ_GPO_EN BIT(5) /* Trigger a GPO Low Pulse when RTC alarm */ WARNING: line length of 81 exceeds 80 columns #104: FILE: drivers/rtc/rtc-nct6694.c:35: +#define NCT6694_RTC_IRQ_EN (NCT6694_RTC_IRQ_INT_EN | NCT6694_RTC_IRQ_GPO_EN) WARNING: line length of 82 exceeds 80 columns #155: FILE: drivers/rtc/rtc-nct6694.c:86: + tm->tm_sec = bcd2bin(time->sec); /* tm_sec expect 0 ~ 59 */ WARNING: line length of 82 exceeds 80 columns #156: FILE: drivers/rtc/rtc-nct6694.c:87: + tm->tm_min = bcd2bin(time->min); /* tm_min expect 0 ~ 59 */ WARNING: line length of 83 exceeds 80 columns #157: FILE: drivers/rtc/rtc-nct6694.c:88: + tm->tm_hour = bcd2bin(time->hour); /* tm_hour expect 0 ~ 23 */ WARNING: line length of 82 exceeds 80 columns #158: FILE: drivers/rtc/rtc-nct6694.c:89: + tm->tm_wday = bcd2bin(time->week) - 1; /* tm_wday expect 0 ~ 6 */ WARNING: line length of 83 exceeds 80 columns #159: FILE: drivers/rtc/rtc-nct6694.c:90: + tm->tm_mday = bcd2bin(time->day); /* tm_mday expect 1 ~ 31 */ WARNING: line length of 84 exceeds 80 columns #160: FILE: drivers/rtc/rtc-nct6694.c:91: + tm->tm_mon = bcd2bin(time->month) - 1; /* tm_month expect 0 ~ 11 */ WARNING: line length of 87 exceeds 80 columns #161: FILE: drivers/rtc/rtc-nct6694.c:92: + tm->tm_year = bcd2bin(time->year) + 100; /* tm_year expect since 1900 */ WARNING: line length of 81 exceeds 80 columns #224: FILE: drivers/rtc/rtc-nct6694.c:155: +static int nct6694_rtc_alarm_irq_enable(struct device *dev, unsigned int enabled) WARNING: line length of 81 exceeds 80 columns #310: FILE: drivers/rtc/rtc-nct6694.c:241: + return dev_err_probe(&pdev->dev, ret, "Failed to request irq\n"); WARNING: line length of 82 exceeds 80 columns #314: FILE: drivers/rtc/rtc-nct6694.c:245: + return dev_err_probe(&pdev->dev, ret, "Failed to register rtc\n"); total: 0 errors, 13 warnings, 0 checks, 293 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 aacceecc9530 ("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, 293 lines checked