WARNING: line length of 96 exceeds 80 columns #400: FILE: drivers/net/ethernet/intel/hbl_cn/common/hbl_cn_debugfs.c:26: + debugfs_create_file(hbl_cn_debugfs_names[__op], perm, dir, dev, fops); \ WARNING: line length of 89 exceeds 80 columns #407: FILE: drivers/net/ethernet/intel/hbl_cn/common/hbl_cn_debugfs.c:33: + debugfs_create_u8(hbl_cn_debugfs_names[__op], perm, dir, fops); \ WARNING: line length of 90 exceeds 80 columns #414: FILE: drivers/net/ethernet/intel/hbl_cn/common/hbl_cn_debugfs.c:40: + debugfs_create_u16(hbl_cn_debugfs_names[__op], perm, dir, fops); \ WARNING: line length of 88 exceeds 80 columns #457: FILE: drivers/net/ethernet/intel/hbl_cn/common/hbl_cn_debugfs.c:83: + timeout = ktime_add_ms(ktime_get(), hdev->pending_reset_long_timeout * 1000ull); WARNING: line length of 88 exceeds 80 columns #458: FILE: drivers/net/ethernet/intel/hbl_cn/common/hbl_cn_debugfs.c:84: + while (!hbl_cn_comp_device_operational(hdev) && !READ_ONCE(hdev->in_teardown)) { WARNING: line length of 94 exceeds 80 columns #469: FILE: drivers/net/ethernet/intel/hbl_cn/common/hbl_cn_debugfs.c:95: +static ssize_t debugfs_print_value_to_buffer(void *buf, size_t count, loff_t *ppos, char *fmt, WARNING: line length of 95 exceeds 80 columns #492: FILE: drivers/net/ethernet/intel/hbl_cn/common/hbl_cn_debugfs.c:118: +static ssize_t debugfs_pam4_tx_taps_write(struct file *f, const char __user *buf, size_t count, WARNING: line length of 83 exceeds 80 columns #521: FILE: drivers/net/ethernet/intel/hbl_cn/common/hbl_cn_debugfs.c:147: + dev_err(hdev->dev, "lane max value is %d\n", max_num_of_lanes - 1); WARNING: line length of 88 exceeds 80 columns #593: FILE: drivers/net/ethernet/intel/hbl_cn/common/hbl_cn_debugfs.c:219: +static ssize_t debugfs_pam4_tx_taps_read(struct file *f, char __user *buf, size_t count, WARNING: line length of 92 exceeds 80 columns #620: FILE: drivers/net/ethernet/intel/hbl_cn/common/hbl_cn_debugfs.c:246: + snprintf(kbuf + len, KBUF_OUT_SIZE - len, "lane %u: %d %d %d %d %d\n", lane, WARNING: line length of 94 exceeds 80 columns #638: FILE: drivers/net/ethernet/intel/hbl_cn/common/hbl_cn_debugfs.c:264: +static ssize_t debugfs_nrz_tx_taps_write(struct file *f, const char __user *buf, size_t count, WARNING: line length of 83 exceeds 80 columns #667: FILE: drivers/net/ethernet/intel/hbl_cn/common/hbl_cn_debugfs.c:293: + dev_err(hdev->dev, "lane max value is %d\n", max_num_of_lanes - 1); WARNING: line length of 87 exceeds 80 columns #739: FILE: drivers/net/ethernet/intel/hbl_cn/common/hbl_cn_debugfs.c:365: +static ssize_t debugfs_nrz_tx_taps_read(struct file *f, char __user *buf, size_t count, WARNING: line length of 92 exceeds 80 columns #766: FILE: drivers/net/ethernet/intel/hbl_cn/common/hbl_cn_debugfs.c:392: + snprintf(kbuf + len, KBUF_OUT_SIZE - len, "lane %u: %d %d %d %d %d\n", lane, WARNING: line length of 91 exceeds 80 columns #784: FILE: drivers/net/ethernet/intel/hbl_cn/common/hbl_cn_debugfs.c:410: +static ssize_t debugfs_polarity_write(struct file *f, const char __user *buf, size_t count, WARNING: line length of 83 exceeds 80 columns #814: FILE: drivers/net/ethernet/intel/hbl_cn/common/hbl_cn_debugfs.c:440: + dev_err(hdev->dev, "lane max value is %d\n", max_num_of_lanes - 1); WARNING: line length of 92 exceeds 80 columns #865: FILE: drivers/net/ethernet/intel/hbl_cn/common/hbl_cn_debugfs.c:491: +static ssize_t debugfs_qp_read(struct file *f, char __user *buf, size_t count, loff_t *ppos) WARNING: line length of 99 exceeds 80 columns #893: FILE: drivers/net/ethernet/intel/hbl_cn/common/hbl_cn_debugfs.c:519: +static ssize_t debugfs_qp_write(struct file *f, const char __user *buf, size_t count, loff_t *ppos) WARNING: line length of 83 exceeds 80 columns #922: FILE: drivers/net/ethernet/intel/hbl_cn/common/hbl_cn_debugfs.c:548: + dev_err(hdev->dev, "port max value is %d\n", max_num_of_ports - 1); WARNING: line length of 93 exceeds 80 columns #1005: FILE: drivers/net/ethernet/intel/hbl_cn/common/hbl_cn_debugfs.c:631: +static ssize_t debugfs_wqe_read(struct file *f, char __user *buf, size_t count, loff_t *ppos) WARNING: line length of 100 exceeds 80 columns #1033: FILE: drivers/net/ethernet/intel/hbl_cn/common/hbl_cn_debugfs.c:659: +static ssize_t debugfs_wqe_write(struct file *f, const char __user *buf, size_t count, loff_t *ppos) WARNING: line length of 83 exceeds 80 columns #1062: FILE: drivers/net/ethernet/intel/hbl_cn/common/hbl_cn_debugfs.c:688: + dev_err(hdev->dev, "port max value is %d\n", max_num_of_lanes - 1); WARNING: line length of 92 exceeds 80 columns #1117: FILE: drivers/net/ethernet/intel/hbl_cn/common/hbl_cn_debugfs.c:743: +static ssize_t debugfs_reset_cnt_write(struct file *f, const char __user *buf, size_t count, WARNING: line length of 97 exceeds 80 columns #1139: FILE: drivers/net/ethernet/intel/hbl_cn/common/hbl_cn_debugfs.c:765: +static int parse_user_mac_lane_remap_data(u32 *dest_arr, int *dest_arr_cnt, char *buf, int count) WARNING: line length of 97 exceeds 80 columns #1162: FILE: drivers/net/ethernet/intel/hbl_cn/common/hbl_cn_debugfs.c:788: +static ssize_t debugfs_mac_lane_remap_write(struct file *f, const char __user *buf, size_t count, WARNING: line length of 90 exceeds 80 columns #1177: FILE: drivers/net/ethernet/intel/hbl_cn/common/hbl_cn_debugfs.c:803: + mac_lane_remap_buf = kcalloc(cn_props->num_of_macros, sizeof(*mac_lane_remap_buf), WARNING: line length of 92 exceeds 80 columns #1191: FILE: drivers/net/ethernet/intel/hbl_cn/common/hbl_cn_debugfs.c:817: + rc = parse_user_mac_lane_remap_data(mac_lane_remap_buf, &n_parsed, kbuf, count + 1); WARNING: line length of 90 exceeds 80 columns #1218: FILE: drivers/net/ethernet/intel/hbl_cn/common/hbl_cn_debugfs.c:844: +static ssize_t debugfs_mac_lane_remap_read(struct file *f, char __user *buf, size_t count, WARNING: line length of 93 exceeds 80 columns #1231: FILE: drivers/net/ethernet/intel/hbl_cn/common/hbl_cn_debugfs.c:857: + for (i = 0, j = 0; i < cn_props->num_of_macros; i++, j += MAC_LANE_REMAP_READ_SIZE) { WARNING: line length of 95 exceeds 80 columns #1252: FILE: drivers/net/ethernet/intel/hbl_cn/common/hbl_cn_debugfs.c:878: +static ssize_t debugfs_eth_loopback_write(struct file *f, const char __user *buf, size_t count, WARNING: line length of 92 exceeds 80 columns #1265: FILE: drivers/net/ethernet/intel/hbl_cn/common/hbl_cn_debugfs.c:891: + dev_info(hdev->dev, "%s eth_loopback\n", hdev->eth_loopback ? "enable" : "disable"); WARNING: line length of 88 exceeds 80 columns #1270: FILE: drivers/net/ethernet/intel/hbl_cn/common/hbl_cn_debugfs.c:896: +static ssize_t debugfs_eth_loopback_read(struct file *f, char __user *buf, size_t count, WARNING: line length of 89 exceeds 80 columns #1275: FILE: drivers/net/ethernet/intel/hbl_cn/common/hbl_cn_debugfs.c:901: + return debugfs_print_value_to_buffer(buf, count, ppos, "%u", hdev->eth_loopback); WARNING: line length of 97 exceeds 80 columns #1284: FILE: drivers/net/ethernet/intel/hbl_cn/common/hbl_cn_debugfs.c:910: +static ssize_t debugfs_phy_regs_print_write(struct file *f, const char __user *buf, size_t count, WARNING: line length of 90 exceeds 80 columns #1303: FILE: drivers/net/ethernet/intel/hbl_cn/common/hbl_cn_debugfs.c:929: +static ssize_t debugfs_phy_regs_print_read(struct file *f, char __user *buf, size_t count, WARNING: line length of 91 exceeds 80 columns #1308: FILE: drivers/net/ethernet/intel/hbl_cn/common/hbl_cn_debugfs.c:934: + return debugfs_print_value_to_buffer(buf, count, ppos, "%u", hdev->phy_regs_print); WARNING: line length of 88 exceeds 80 columns #1317: FILE: drivers/net/ethernet/intel/hbl_cn/common/hbl_cn_debugfs.c:943: +static ssize_t debugfs_show_internal_ports_status_read(struct file *f, char __user *buf, WARNING: line length of 82 exceeds 80 columns #1318: FILE: drivers/net/ethernet/intel/hbl_cn/common/hbl_cn_debugfs.c:944: + size_t count, loff_t *ppos) WARNING: line length of 84 exceeds 80 columns #1331: FILE: drivers/net/ethernet/intel/hbl_cn/common/hbl_cn_debugfs.c:957: + if (!(hdev->ports_mask & BIT(i)) || (hdev->ext_ports_mask & BIT(i))) WARNING: line length of 83 exceeds 80 columns #1352: FILE: drivers/net/ethernet/intel/hbl_cn/common/hbl_cn_debugfs.c:978: + return simple_read_from_buffer(buf, count, ppos, msg, strlen(msg)); WARNING: line length of 91 exceeds 80 columns #1363: FILE: drivers/net/ethernet/intel/hbl_cn/common/hbl_cn_debugfs.c:989: +static ssize_t debugfs_print_fec_stats_read(struct file *f, char __user *buf, size_t count, WARNING: line length of 82 exceeds 80 columns #1381: FILE: drivers/net/ethernet/intel/hbl_cn/common/hbl_cn_debugfs.c:1007: + sprintf(kbuf + strlen(kbuf), "Card %u FEC stats:\n", hdev->card_location); WARNING: line length of 92 exceeds 80 columns #1389: FILE: drivers/net/ethernet/intel/hbl_cn/common/hbl_cn_debugfs.c:1015: + asic_funcs->port_funcs->collect_fec_stats(cn_port, kbuf, KBUF_OUT_BIG_SIZE); WARNING: line length of 94 exceeds 80 columns #1404: FILE: drivers/net/ethernet/intel/hbl_cn/common/hbl_cn_debugfs.c:1030: +static ssize_t debugfs_phy_set_nrz_write(struct file *f, const char __user *buf, size_t count, WARNING: line length of 87 exceeds 80 columns #1421: FILE: drivers/net/ethernet/intel/hbl_cn/common/hbl_cn_debugfs.c:1047: + dev_info(hdev->dev, "%s NRZ mode\n", hdev->phy_set_nrz ? "Enable" : "Disable"); WARNING: line length of 98 exceeds 80 columns #1435: FILE: drivers/net/ethernet/intel/hbl_cn/common/hbl_cn_debugfs.c:1061: +static ssize_t debugfs_phy_dump_serdes_params_read(struct file *f, char __user *buf, size_t count, WARNING: line length of 91 exceeds 80 columns #1465: FILE: drivers/net/ethernet/intel/hbl_cn/common/hbl_cn_debugfs.c:1091: +static ssize_t debugfs_phy_dump_serdes_params_write(struct file *f, const char __user *buf, WARNING: line length of 89 exceeds 80 columns #1499: FILE: drivers/net/ethernet/intel/hbl_cn/common/hbl_cn_debugfs.c:1125: +static ssize_t debugfs_inject_rx_err_read(struct file *f, char __user *buf, size_t count, WARNING: line length of 92 exceeds 80 columns #1504: FILE: drivers/net/ethernet/intel/hbl_cn/common/hbl_cn_debugfs.c:1130: + return debugfs_print_value_to_buffer(buf, count, ppos, "%u", hdev->rx_drop_percent); WARNING: line length of 96 exceeds 80 columns #1507: FILE: drivers/net/ethernet/intel/hbl_cn/common/hbl_cn_debugfs.c:1133: +static ssize_t debugfs_inject_rx_err_write(struct file *f, const char __user *buf, size_t count, WARNING: line length of 84 exceeds 80 columns #1525: FILE: drivers/net/ethernet/intel/hbl_cn/common/hbl_cn_debugfs.c:1151: + dev_dbg_ratelimited(hdev->dev, "Invalid drop percentage %d\n", val); WARNING: line length of 89 exceeds 80 columns #1540: FILE: drivers/net/ethernet/intel/hbl_cn/common/hbl_cn_debugfs.c:1166: +static ssize_t debugfs_override_port_status_write(struct file *f, const char __user *buf, WARNING: line length of 83 exceeds 80 columns #1570: FILE: drivers/net/ethernet/intel/hbl_cn/common/hbl_cn_debugfs.c:1196: + dev_err(hdev->dev, "port max value is %d\n", max_num_of_ports - 1); WARNING: line length of 100 exceeds 80 columns #1602: FILE: drivers/net/ethernet/intel/hbl_cn/common/hbl_cn_debugfs.c:1228: +static ssize_t debugfs_write_wqe_index_checker(struct file *f, const char __user *buf, size_t count, WARNING: line length of 93 exceeds 80 columns #1627: FILE: drivers/net/ethernet/intel/hbl_cn/common/hbl_cn_debugfs.c:1253: +static ssize_t debugfs_read_wqe_index_checker(struct file *f, char __user *buf, size_t count, WARNING: line length of 84 exceeds 80 columns #1641: FILE: drivers/net/ethernet/intel/hbl_cn/common/hbl_cn_debugfs.c:1267: + return debugfs_print_value_to_buffer(buf, count, ppos, "%u", index_checker); WARNING: line length of 92 exceeds 80 columns #1650: FILE: drivers/net/ethernet/intel/hbl_cn/common/hbl_cn_debugfs.c:1276: +static ssize_t debugfs_accumulate_fec_duration_write(struct file *f, const char __user *buf, WARNING: line length of 99 exceeds 80 columns #1669: FILE: drivers/net/ethernet/intel/hbl_cn/common/hbl_cn_debugfs.c:1295: +static ssize_t debugfs_accumulate_fec_duration_read(struct file *f, char __user *buf, size_t count, WARNING: line length of 88 exceeds 80 columns #1684: FILE: drivers/net/ethernet/intel/hbl_cn/common/hbl_cn_debugfs.c:1310: +static ssize_t debugfs_mac_loopback_read(struct file *f, char __user *buf, size_t count, WARNING: line length of 93 exceeds 80 columns #1689: FILE: drivers/net/ethernet/intel/hbl_cn/common/hbl_cn_debugfs.c:1315: + return debugfs_print_value_to_buffer(buf, count, ppos, "0x%llx", hdev->mac_loopback); WARNING: line length of 95 exceeds 80 columns #1692: FILE: drivers/net/ethernet/intel/hbl_cn/common/hbl_cn_debugfs.c:1318: +static ssize_t debugfs_mac_loopback_write(struct file *f, const char __user *buf, size_t count, WARNING: line length of 90 exceeds 80 columns #1721: FILE: drivers/net/ethernet/intel/hbl_cn/common/hbl_cn_debugfs.c:1347: +static void __hbl_cn_debugfs_dev_init(struct hbl_cn_device *hdev, struct dentry *root_dir) WARNING: line length of 95 exceeds 80 columns #1732: FILE: drivers/net/ethernet/intel/hbl_cn/common/hbl_cn_debugfs.c:1358: + HBL_CN_DEBUGFS_CREATE_FILE(NIC_POLARITY, 0444, root_dir, hdev, &debugfs_polarity_fops); WARNING: line length of 83 exceeds 80 columns #1734: FILE: drivers/net/ethernet/intel/hbl_cn/common/hbl_cn_debugfs.c:1360: + HBL_CN_DEBUGFS_CREATE_FILE(NIC_QP, 0444, root_dir, hdev, &debugfs_qp_fops); WARNING: line length of 85 exceeds 80 columns #1736: FILE: drivers/net/ethernet/intel/hbl_cn/common/hbl_cn_debugfs.c:1362: + HBL_CN_DEBUGFS_CREATE_FILE(NIC_WQE, 0444, root_dir, hdev, &debugfs_wqe_fops); WARNING: line length of 86 exceeds 80 columns #1744: FILE: drivers/net/ethernet/intel/hbl_cn/common/hbl_cn_debugfs.c:1370: + HBL_CN_DEBUGFS_CREATE_U8(NIC_RAND_STATUS, 0644, root_dir, &hdev->rand_status); WARNING: line length of 84 exceeds 80 columns #1746: FILE: drivers/net/ethernet/intel/hbl_cn/common/hbl_cn_debugfs.c:1372: + HBL_CN_DEBUGFS_CREATE_U8(NIC_MMU_BYPASS, 0644, root_dir, &hdev->mmu_bypass); WARNING: line length of 88 exceeds 80 columns #1754: FILE: drivers/net/ethernet/intel/hbl_cn/common/hbl_cn_debugfs.c:1380: + HBL_CN_DEBUGFS_CREATE_FILE(NIC_SHOW_INTERNAL_PORTS_STATUS, 0444, root_dir, hdev, WARNING: line length of 94 exceeds 80 columns #1760: FILE: drivers/net/ethernet/intel/hbl_cn/common/hbl_cn_debugfs.c:1386: + HBL_CN_DEBUGFS_CREATE_U8(NIC_DISABLE_DECAP, 0644, root_dir, &hdev->is_decap_disabled); WARNING: line length of 84 exceeds 80 columns #1765: FILE: drivers/net/ethernet/intel/hbl_cn/common/hbl_cn_debugfs.c:1391: + HBL_CN_DEBUGFS_CREATE_FILE(NIC_PHY_DUMP_SERDES_PARAMS, 0444, root_dir, hdev, WARNING: line length of 88 exceeds 80 columns #1771: FILE: drivers/net/ethernet/intel/hbl_cn/common/hbl_cn_debugfs.c:1397: + HBL_CN_DEBUGFS_CREATE_U8(NIC_PHY_CALC_BER, 0644, root_dir, &hdev->phy_calc_ber); WARNING: line length of 82 exceeds 80 columns #1776: FILE: drivers/net/ethernet/intel/hbl_cn/common/hbl_cn_debugfs.c:1402: + HBL_CN_DEBUGFS_CREATE_FILE(NIC_OVERRIDE_PORT_STATUS, 0200, root_dir, hdev, WARNING: line length of 85 exceeds 80 columns #1782: FILE: drivers/net/ethernet/intel/hbl_cn/common/hbl_cn_debugfs.c:1408: + HBL_CN_DEBUGFS_CREATE_FILE(NIC_ACCUMULATE_FEC_DURATION, 0644, root_dir, hdev, WARNING: line length of 81 exceeds 80 columns #1785: FILE: drivers/net/ethernet/intel/hbl_cn/common/hbl_cn_debugfs.c:1411: + HBL_CN_DEBUGFS_CREATE_U8(NIC_PHY_FORCE_FIRST_TX_TAPS_CFG, 0644, root_dir, total: 0 errors, 74 warnings, 0 checks, 1792 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 e58bed2b775e ("net: hbl_cn: debugfs support") 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, 74 warnings, 0 checks, 1792 lines checked