WARNING: struct regmap_bus should normally be const #107: FILE: drivers/net/dsa/sja1105/sja1105_spi.c:438: +static struct regmap_bus sja1105_regmap_bus = { WARNING: struct regmap_config should normally be const #120: FILE: drivers/net/dsa/sja1105/sja1105_spi.c:451: + struct regmap_config regmap_config = { total: 0 errors, 2 warnings, 0 checks, 98 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 29807205953a ("net: dsa: sja1105: prepare regmap for passing to child devices") has style problems, please review. NOTE: Ignored message types: ALLOC_SIZEOF_STRUCT BAD_REPORTED_BY_LINK CAMELCASE COMMIT_LOG_LONG_LINE FILE_PATH_CHANGES 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, 2 warnings, 0 checks, 98 lines checked