WARNING: line length of 81 exceeds 80 columns #73: FILE: net/devlink/resource.c:136: + return resource->occ_set(size, info->extack, resource->occ_priv); WARNING: suspect code indent for conditional statements (8, 12) #97: FILE: net/devlink/resource.c:176: + if (resource->size != resource->size_new) { + err = devlink_nl_put_u64(skb, DEVLINK_ATTR_RESOURCE_SIZE_NEW, CHECK: Please don't use multiple blank lines #109: FILE: net/devlink/resource.c:188: + + total: 0 errors, 2 warnings, 1 checks, 153 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 3693c16822f2 ("devlink: give user option to allocate resources") 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, 2 warnings, 1 checks, 153 lines checked