WARNING: line length of 90 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 92 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 89 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) CHECK: struct mutex definition without comment #133: FILE: drivers/rtc/rtc-nct6694.c:64: + struct mutex lock; WARNING: line length of 81 exceeds 80 columns #140: FILE: drivers/rtc/rtc-nct6694.c:71: + struct nct6694_rtc_cmd0 *buf = (struct nct6694_rtc_cmd0 *)data->xmit_buf; WARNING: line length of 81 exceeds 80 columns #166: FILE: drivers/rtc/rtc-nct6694.c:97: + struct nct6694_rtc_cmd0 *buf = (struct nct6694_rtc_cmd0 *)data->xmit_buf; WARNING: line length of 81 exceeds 80 columns #187: FILE: drivers/rtc/rtc-nct6694.c:118: + struct nct6694_rtc_cmd1 *buf = (struct nct6694_rtc_cmd1 *)data->xmit_buf; WARNING: line length of 81 exceeds 80 columns #211: FILE: drivers/rtc/rtc-nct6694.c:142: + struct nct6694_rtc_cmd1 *buf = (struct nct6694_rtc_cmd1 *)data->xmit_buf; WARNING: line length of 81 exceeds 80 columns #227: FILE: drivers/rtc/rtc-nct6694.c:158: +static int nct6694_rtc_alarm_irq_enable(struct device *dev, unsigned int enabled) WARNING: line length of 81 exceeds 80 columns #230: FILE: drivers/rtc/rtc-nct6694.c:161: + struct nct6694_rtc_cmd2 *buf = (struct nct6694_rtc_cmd2 *)data->xmit_buf; WARNING: line length of 81 exceeds 80 columns #258: FILE: drivers/rtc/rtc-nct6694.c:189: + struct nct6694_rtc_cmd2 *buf = (struct nct6694_rtc_cmd2 *)data->xmit_buf; WARNING: line length of 81 exceeds 80 columns #315: FILE: drivers/rtc/rtc-nct6694.c:246: + return dev_err_probe(&pdev->dev, ret, "Failed to request irq\n"); WARNING: From:/Signed-off-by: email address mismatch: 'From: Ming Yu ' != 'Signed-off-by: Ming Yu ' total: 0 errors, 12 warnings, 1 checks, 294 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 6cb24a3a645a ("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, 12 warnings, 1 checks, 294 lines checked