WARNING: line length of 95 exceeds 80 columns #58: FILE: drivers/net/ethernet/google/gve/gve.h:66: + (GVE_ADMINQ_BUFFER_SIZE / sizeof(((struct gve_adminq_queried_flow_rule *)0)->location)) WARNING: line length of 84 exceeds 80 columns #92: FILE: drivers/net/ethernet/google/gve/gve.h:711: + bool rules_cache_synced; /* False if the driver's rules_cache is outdated */ WARNING: line length of 84 exceeds 80 columns #166: FILE: drivers/net/ethernet/google/gve/gve_adminq.c:1204: + struct gve_adminq_configure_flow_rule *flow_rule_cmd) WARNING: line length of 95 exceeds 80 columns #183: FILE: drivers/net/ethernet/google/gve/gve_adminq.c:1221: +int gve_adminq_add_flow_rule(struct gve_priv *priv, struct gve_adminq_flow_rule *rule, u32 loc) WARNING: line length of 97 exceeds 80 columns #213: FILE: drivers/net/ethernet/google/gve/gve_adminq.c:1251: +/* In the dma memory that the driver allocated for the device to query the flow rules, the device WARNING: line length of 95 exceeds 80 columns #214: FILE: drivers/net/ethernet/google/gve/gve_adminq.c:1252: + * will first write it with a struct of gve_query_flow_rules_descriptor. Next to it, the device WARNING: line length of 92 exceeds 80 columns #215: FILE: drivers/net/ethernet/google/gve/gve_adminq.c:1253: + * will write an array of rules or rule ids with the count that specified in the descriptor. WARNING: line length of 87 exceeds 80 columns #218: FILE: drivers/net/ethernet/google/gve/gve_adminq.c:1256: +static int gve_adminq_process_flow_rules_query(struct gve_priv *priv, u16 query_opcode, WARNING: line length of 98 exceeds 80 columns #219: FILE: drivers/net/ethernet/google/gve/gve_adminq.c:1257: + struct gve_query_flow_rules_descriptor *descriptor) WARNING: line length of 91 exceeds 80 columns #231: FILE: drivers/net/ethernet/google/gve/gve_adminq.c:1269: + rule_info_len = num_queried_rules * sizeof(*flow_rules_cache->rules_cache); WARNING: line length of 94 exceeds 80 columns #241: FILE: drivers/net/ethernet/google/gve/gve_adminq.c:1279: + rule_info_len = num_queried_rules * sizeof(*flow_rules_cache->rule_ids_cache); WARNING: line length of 83 exceeds 80 columns #247: FILE: drivers/net/ethernet/google/gve/gve_adminq.c:1285: + memcpy(flow_rules_cache->rule_ids_cache, rule_info, rule_info_len); WARNING: line length of 90 exceeds 80 columns #261: FILE: drivers/net/ethernet/google/gve/gve_adminq.c:1299: +int gve_adminq_query_flow_rules(struct gve_priv *priv, u16 query_opcode, u32 starting_loc) WARNING: line length of 84 exceeds 80 columns #269: FILE: drivers/net/ethernet/google/gve/gve_adminq.c:1307: + descriptor = dma_pool_alloc(priv->adminq_pool, GFP_KERNEL, &descriptor_bus); WARNING: line length of 82 exceeds 80 columns #284: FILE: drivers/net/ethernet/google/gve/gve_adminq.c:1322: + err = gve_adminq_process_flow_rules_query(priv, query_opcode, descriptor); WARNING: line length of 86 exceeds 80 columns #379: FILE: drivers/net/ethernet/google/gve/gve_adminq.h:506: + __be64 available_length; /* The dma memory length that the driver allocated */ WARNING: line length of 96 exceeds 80 columns #400: FILE: drivers/net/ethernet/google/gve/gve_adminq.h:567: +int gve_adminq_add_flow_rule(struct gve_priv *priv, struct gve_adminq_flow_rule *rule, u32 loc); WARNING: line length of 91 exceeds 80 columns #403: FILE: drivers/net/ethernet/google/gve/gve_adminq.h:570: +int gve_adminq_query_flow_rules(struct gve_priv *priv, u16 query_opcode, u32 starting_loc); WARNING: line length of 94 exceeds 80 columns #416: FILE: drivers/net/ethernet/google/gve/gve_ethtool.c:77: + "adminq_report_stats_cnt", "adminq_report_link_speed_cnt", "adminq_get_ptype_map_cnt", WARNING: line length of 91 exceeds 80 columns #447: FILE: drivers/net/ethernet/google/gve/gve_main.c:153: + kvcalloc(GVE_FLOW_RULES_CACHE_SIZE, sizeof(*flow_rules_cache->rules_cache), WARNING: line length of 97 exceeds 80 columns #455: FILE: drivers/net/ethernet/google/gve/gve_main.c:161: + kvcalloc(GVE_FLOW_RULE_IDS_CACHE_SIZE, sizeof(*flow_rules_cache->rule_ids_cache), total: 0 errors, 21 warnings, 0 checks, 430 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 3e083988cc1d ("gve: Add flow steering adminq commands") 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, 21 warnings, 0 checks, 430 lines checked