WARNING: line length of 85 exceeds 80 columns #76: FILE: drivers/net/ethernet/sfc/efx_reflash.c:297: + for (offset = 0, next_update = 0; offset < partition_size; offset += chunk) { WARNING: line length of 88 exceeds 80 columns #81: FILE: drivers/net/ethernet/sfc/efx_reflash.c:302: + next_update += partition_size / EFX_DEVLINK_STATUS_UPDATE_COUNT; WARNING: line length of 81 exceeds 80 columns #89: FILE: drivers/net/ethernet/sfc/efx_reflash.c:310: + type, offset, offset + chunk - 1); WARNING: line length of 89 exceeds 80 columns #124: FILE: drivers/net/ethernet/sfc/efx_reflash.c:345: + for (offset = 0, next_update = 0; offset + chunk <= data_size; offset += chunk) { WARNING: line length of 83 exceeds 80 columns #129: FILE: drivers/net/ethernet/sfc/efx_reflash.c:350: + next_update += data_size / EFX_DEVLINK_STATUS_UPDATE_COUNT; WARNING: line length of 83 exceeds 80 columns #132: FILE: drivers/net/ethernet/sfc/efx_reflash.c:353: + rc = efx_mcdi_nvram_write(efx, type, offset, data + offset, chunk); WARNING: line length of 81 exceeds 80 columns #136: FILE: drivers/net/ethernet/sfc/efx_reflash.c:357: + type, offset, offset + chunk - 1); WARNING: line length of 81 exceeds 80 columns #163: FILE: drivers/net/ethernet/sfc/efx_reflash.c:384: + type, offset, offset + chunk - 1); WARNING: line length of 83 exceeds 80 columns #250: FILE: drivers/net/ethernet/sfc/efx_reflash.c:478: + devlink_flash_update_status_notify(devlink, "Starting update", NULL, 0, 0); WARNING: line length of 81 exceeds 80 columns #276: FILE: drivers/net/ethernet/sfc/efx_reflash.c:504: + efx_mcdi_nvram_update_finish(efx, type, EFX_UPDATE_FINISH_ABORT); CHECK: struct mutex definition without comment #300: FILE: drivers/net/ethernet/sfc/net_driver.h:1195: + struct mutex reflash_mutex; total: 0 errors, 10 warnings, 1 checks, 270 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 dc56dfdf853c ("sfc: deploy devlink flash images to NIC over MCDI") 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, 10 warnings, 1 checks, 270 lines checked