WARNING: unchecked sscanf return value #52: FILE: drivers/net/ethernet/broadcom/bnxt/bnxt_debugfs.c:86: + sscanf(buf, "%u", &ring_nr); WARNING: Prefer kstrto to single variable sscanf #52: FILE: drivers/net/ethernet/broadcom/bnxt/bnxt_debugfs.c:86: + sscanf(buf, "%u", &ring_nr); WARNING: line length of 92 exceeds 80 columns #81: FILE: drivers/net/ethernet/broadcom/bnxt/bnxt_debugfs.c:133: + debugfs_create_file("reset_rx", 0600, bp->debugfs_pdev, bp, &debugfs_reset_rx_fops); total: 0 errors, 3 warnings, 0 checks, 63 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 65f9de6737b5 ("bnxt_en: add debugfs file for restarting rx queues") 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, 3 warnings, 0 checks, 63 lines checked