Name of failed tests ====================
checkpatch master debugfs.c checkpatch master distributed-arp-table.c checkpatch master network-coding.c checkpatch master originator.c checkpatch master sysfs.c checkpatch master sysfs.h checkpatch master types.h checkpatch next debugfs.c checkpatch next distributed-arp-table.c checkpatch next network-coding.c checkpatch next originator.c checkpatch next sysfs.c checkpatch next sysfs.h checkpatch next types.h
Output of different failed tests ================================
checkpatch next debugfs.c:
>>
WARNING: Missing a blank line after declarations #248: FILE: debugfs.c:248: + struct net_device *net_dev = (struct net_device *)inode->i_private; + return single_open(file, batadv_orig_seq_print_text, net_dev);
WARNING: Missing a blank line after declarations #261: FILE: debugfs.c:261: + struct net_device *net_dev = (struct net_device *)inode->i_private; + return single_open(file, batadv_orig_hardif_seq_print_text, net_dev);
WARNING: Missing a blank line after declarations #267: FILE: debugfs.c:267: + struct net_device *net_dev = (struct net_device *)inode->i_private; + return single_open(file, batadv_gw_client_seq_print_text, net_dev);
WARNING: Missing a blank line after declarations #273: FILE: debugfs.c:273: + struct net_device *net_dev = (struct net_device *)inode->i_private; + return single_open(file, batadv_tt_global_seq_print_text, net_dev);
WARNING: Missing a blank line after declarations #280: FILE: debugfs.c:280: + struct net_device *net_dev = (struct net_device *)inode->i_private; + return single_open(file, batadv_bla_claim_table_seq_print_text,
WARNING: Missing a blank line after declarations #288: FILE: debugfs.c:288: + struct net_device *net_dev = (struct net_device *)inode->i_private; + return single_open(file, batadv_bla_backbone_table_seq_print_text,
WARNING: Missing a blank line after declarations #303: FILE: debugfs.c:303: + struct net_device *net_dev = (struct net_device *)inode->i_private; + return single_open(file, batadv_dat_cache_seq_print_text, net_dev);
WARNING: Missing a blank line after declarations #310: FILE: debugfs.c:310: + struct net_device *net_dev = (struct net_device *)inode->i_private; + return single_open(file, batadv_tt_local_seq_print_text, net_dev);
WARNING: Missing a blank line after declarations #322: FILE: debugfs.c:322: + struct net_device *net_dev = (struct net_device *)inode->i_private; + return single_open(file, batadv_nc_nodes_seq_print_text, net_dev);
WARNING: macros should not use a trailing semicolon #326: FILE: debugfs.c:326: +#define BATADV_DEBUGINFO(_name, _mode, _open) \ +struct batadv_debuginfo batadv_debuginfo_##_name = { \ + .attr = { .name = __stringify(_name), \ + .mode = _mode, }, \ + .fops = { .owner = THIS_MODULE, \ + .open = _open, \ + .read = seq_read, \ + .llseek = seq_lseek, \ + .release = single_release, \ + } \ +};
WARNING: macros should not use a trailing semicolon #385: FILE: debugfs.c:385: +#define BATADV_HARDIF_DEBUGINFO(_name, _mode, _open) \ +struct batadv_debuginfo batadv_hardif_debuginfo_##_name = { \ + .attr = { \ + .name = __stringify(_name), \ + .mode = _mode, \ + }, \ + .fops = { \ + .owner = THIS_MODULE, \ + .open = _open, \ + .read = seq_read, \ + .llseek = seq_lseek, \ + .release = single_release, \ + }, \ +};
total: 0 errors, 11 warnings, 0 checks, 552 lines checked
checkpatch next distributed-arp-table.c:
>>
WARNING: Missing a blank line after declarations #665: FILE: distributed-arp-table.c:665: + struct batadv_priv *bat_priv = netdev_priv(net_dev); + batadv_dat_tvlv_container_update(bat_priv);
total: 0 errors, 1 warnings, 0 checks, 1201 lines checked
checkpatch next network-coding.c:
>>
WARNING: Missing a blank line after declarations #89: FILE: network-coding.c:89: + struct batadv_priv *bat_priv = netdev_priv(net_dev); + batadv_nc_tvlv_container_update(bat_priv);
total: 0 errors, 1 warnings, 0 checks, 1936 lines checked
checkpatch next originator.c:
>>
WARNING: line over 80 characters #850: FILE: originator.c:850: + /* only neccesary if not the whole neighbor is to be deleted,
total: 0 errors, 1 warnings, 0 checks, 1177 lines checked
checkpatch next sysfs.c:
>>
WARNING: Missing a blank line after declarations #32: FILE: sysfs.c:32: + struct device *dev = container_of(obj->parent, struct device, kobj); + return to_net_dev(dev);
WARNING: Missing a blank line after declarations #38: FILE: sysfs.c:38: + struct net_device *net_dev = batadv_kobj_to_netdev(obj); + return netdev_priv(net_dev);
WARNING: macros should not use a trailing semicolon #103: FILE: sysfs.c:103: +#define BATADV_ATTR_VLAN(_name, _mode, _show, _store) \ +struct batadv_attribute batadv_attr_vlan_##_name = { \ + .attr = {.name = __stringify(_name), \ + .mode = _mode }, \ + .show = _show, \ + .store = _store, \ +};
WARNING: macros should not use a trailing semicolon #112: FILE: sysfs.c:112: +#define BATADV_ATTR(_name, _mode, _show, _store) \ +struct batadv_attribute batadv_attr_##_name = { \ + .attr = {.name = __stringify(_name), \ + .mode = _mode }, \ + .show = _show, \ + .store = _store, \ +};
WARNING: Missing a blank line after declarations #327: FILE: sysfs.c:327: + struct batadv_priv *bat_priv = batadv_kobj_to_batpriv(kobj); + return sprintf(buff, "%s\n", bat_priv->bat_algo_ops->name);
WARNING: Missing a blank line after declarations #333: FILE: sysfs.c:333: + struct batadv_priv *bat_priv = netdev_priv(net_dev); + batadv_gw_reselect(bat_priv);
total: 0 errors, 6 warnings, 0 checks, 934 lines checked
checkpatch next sysfs.h:
>>
WARNING: Missing a blank line after declarations #32: FILE: sysfs.h:32: + struct attribute attr; + ssize_t (*show)(struct kobject *kobj, struct attribute *attr,
total: 0 errors, 1 warnings, 0 checks, 50 lines checked
checkpatch next types.h:
>>
WARNING: Missing a blank line after declarations #1132: FILE: types.h:1132: + char *name; + int (*bat_iface_enable)(struct batadv_hard_iface *hard_iface);
WARNING: Missing a blank line after declarations #1230: FILE: types.h:1230: + struct hlist_node list; + void (*ogm_handler)(struct batadv_priv *bat_priv,
total: 0 errors, 2 warnings, 0 checks, 1257 lines checked