WARNING: sizeof(& should be avoided #43: FILE: drivers/net/ethernet/amd/hplance.c:87: + dev = devm_alloc_etherdev(sizeof(&d->dev, struct hplance_private)); CHECK: Alignment should match open parenthesis #51: FILE: drivers/net/ethernet/amd/hplance.c:92: + if (!devm_request_mem_region(&d->dev, dio_resource_start(d), dio_resource_len(d), d->name)) total: 0 errors, 1 warnings, 1 checks, 64 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 fa33ed9d18dd ("net: hplance: use devm in probe") 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, 1 checks, 64 lines checked