CHECK: usleep_range is preferred over udelay; see Documentation/timers/timers-howto.rst #581: FILE: drivers/net/ethernet/tehuti/tn40.c:539: + udelay(50); /* Give the HW a chance to clean the fifo */ CHECK: usleep_range is preferred over udelay; see Documentation/timers/timers-howto.rst #631: FILE: drivers/net/ethernet/tehuti/tn40.c:589: + udelay(50); CHECK: usleep_range is preferred over udelay; see Documentation/timers/timers-howto.rst #650: FILE: drivers/net/ethernet/tehuti/tn40.c:608: + udelay(50); CHECK: usleep_range is preferred over udelay; see Documentation/timers/timers-howto.rst #670: FILE: drivers/net/ethernet/tehuti/tn40.c:628: + udelay(50); CHECK: usleep_range is preferred over udelay; see Documentation/timers/timers-howto.rst #690: FILE: drivers/net/ethernet/tehuti/tn40.c:648: + udelay(50); CHECK: usleep_range is preferred over udelay; see Documentation/timers/timers-howto.rst #694: FILE: drivers/net/ethernet/tehuti/tn40.c:652: + udelay(50); CHECK: usleep_range is preferred over udelay; see Documentation/timers/timers-howto.rst #713: FILE: drivers/net/ethernet/tehuti/tn40.c:671: + udelay(50); CHECK: usleep_range is preferred over udelay; see Documentation/timers/timers-howto.rst #885: FILE: drivers/net/ethernet/tehuti/tn40.c:843: + udelay(50); CHECK: usleep_range is preferred over udelay; see Documentation/timers/timers-howto.rst #893: FILE: drivers/net/ethernet/tehuti/tn40.c:851: + udelay(50); WARNING: Missing a blank line after declarations #983: FILE: drivers/net/ethernet/tehuti/tn40.c:941: + struct tn40_priv *priv = netdev_priv(ndev); + tn40_stop(priv); total: 0 errors, 1 warnings, 9 checks, 1446 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 97a596bdf991 ("net: tn40xx: add basic Tx handling") 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, 1 warnings, 9 checks, 1446 lines checked