WARNING: line length of 90 exceeds 80 columns #39: FILE: drivers/net/ethernet/intel/hbl_cn/common/hbl_cn_memory.c:10: +static int hbl_cn_map_vmalloc_range(struct hbl_cn_ctx *ctx, u64 vmalloc_va, u64 device_va, WARNING: line length of 100 exceeds 80 columns #48: FILE: drivers/net/ethernet/intel/hbl_cn/common/hbl_cn_memory.c:19: + return aux_ops->vm_dev_mmu_map(aux_dev, ctx->driver_vm_info.vm_handle, HBL_CN_MEM_TYPE_HOST, WARNING: line length of 87 exceeds 80 columns #52: FILE: drivers/net/ethernet/intel/hbl_cn/common/hbl_cn_memory.c:23: +static void hbl_cn_unmap_vmalloc_range(struct hbl_cn_ctx *ctx, u64 device_va, u64 size) WARNING: line length of 91 exceeds 80 columns #60: FILE: drivers/net/ethernet/intel/hbl_cn/common/hbl_cn_memory.c:31: + aux_ops->vm_dev_mmu_unmap(aux_dev, ctx->driver_vm_info.vm_handle, device_va, size); WARNING: line length of 93 exceeds 80 columns #63: FILE: drivers/net/ethernet/intel/hbl_cn/common/hbl_cn_memory.c:34: +static int alloc_mem(struct hbl_cn_mem_buf *buf, gfp_t gfp, struct hbl_cn_mem_data *mem_data) WARNING: line length of 96 exceeds 80 columns #76: FILE: drivers/net/ethernet/intel/hbl_cn/common/hbl_cn_memory.c:47: + dev_err(hdev->dev, "memory size 0x%llx must be less than 0x%lx\n", size, WARNING: line length of 100 exceeds 80 columns #81: FILE: drivers/net/ethernet/intel/hbl_cn/common/hbl_cn_memory.c:52: + p = hbl_cn_dma_alloc_coherent(hdev, size, &buf->bus_address, GFP_USER | __GFP_ZERO); WARNING: line length of 95 exceeds 80 columns #84: FILE: drivers/net/ethernet/intel/hbl_cn/common/hbl_cn_memory.c:55: + "failed to allocate 0x%llx of dma memory for the NIC\n", size); WARNING: line length of 100 exceeds 80 columns #110: FILE: drivers/net/ethernet/intel/hbl_cn/common/hbl_cn_memory.c:81: + dev_err(hdev->dev, "Failed to allocate device memory, size 0x%llx\n", size); WARNING: line length of 89 exceeds 80 columns #140: FILE: drivers/net/ethernet/intel/hbl_cn/common/hbl_cn_memory.c:111: + rc = hbl_cn_map_vmalloc_range(ctx, (u64)buf->kernel_address, mem_data->device_va, WARNING: line length of 82 exceeds 80 columns #150: FILE: drivers/net/ethernet/intel/hbl_cn/common/hbl_cn_memory.c:121: +static void mem_do_release(struct hbl_cn_device *hdev, struct hbl_cn_mem_buf *buf) WARNING: line length of 92 exceeds 80 columns #155: FILE: drivers/net/ethernet/intel/hbl_cn/common/hbl_cn_memory.c:126: + asic_funcs->dma_free_coherent(hdev, buf->mappable_size, buf->kernel_address, WARNING: line length of 90 exceeds 80 columns #160: FILE: drivers/net/ethernet/intel/hbl_cn/common/hbl_cn_memory.c:131: + gen_pool_free(hdev->wq_arrays_pool, buf->device_addr, buf->mappable_size); WARNING: line length of 81 exceeds 80 columns #193: FILE: drivers/net/ethernet/intel/hbl_cn/common/hbl_cn_memory.c:164: +static struct hbl_cn_mem_buf *cn_mem_buf_alloc(struct hbl_cn_ctx *ctx, gfp_t gfp, WARNING: line length of 94 exceeds 80 columns #208: FILE: drivers/net/ethernet/intel/hbl_cn/common/hbl_cn_memory.c:179: + dev_err(hdev->dev, "Failed to allocate xarray for a new buffer, rc=%d\n", rc); WARNING: line length of 81 exceeds 80 columns #231: FILE: drivers/net/ethernet/intel/hbl_cn/common/hbl_cn_memory.c:202: +static int cn_mem_alloc(struct hbl_cn_ctx *ctx, struct hbl_cn_mem_data *mem_data) WARNING: line length of 89 exceeds 80 columns #275: FILE: drivers/net/ethernet/intel/hbl_cn/common/hbl_cn_memory.c:246: + hbl_cn_unmap_vmalloc_range(buf->ctx, buf->device_va, buf->mappable_size); WARNING: line length of 98 exceeds 80 columns #289: FILE: drivers/net/ethernet/intel/hbl_cn/common/hbl_cn_memory.c:260: + dev_dbg(hdev->dev, "Memory destroy failed, no match for handle 0x%llx\n", handle); WARNING: line length of 94 exceeds 80 columns #306: FILE: drivers/net/ethernet/intel/hbl_cn/common/hbl_cn_memory.c:277: + dev_dbg(hdev->dev, "Handle 0x%llx is destroyed while still in use\n", handle); WARNING: line length of 89 exceeds 80 columns #313: FILE: drivers/net/ethernet/intel/hbl_cn/common/hbl_cn_memory.c:284: + struct hbl_cn_mem_buf *buf = container_of(kref, struct hbl_cn_mem_buf, refcount); WARNING: line length of 90 exceeds 80 columns #330: FILE: drivers/net/ethernet/intel/hbl_cn/common/hbl_cn_memory.c:300: + dev_dbg(hdev->dev, "Buff get failed, no match to handle %#llx\n", handle); WARNING: line length of 89 exceeds 80 columns #348: FILE: drivers/net/ethernet/intel/hbl_cn/common/hbl_cn_memory.c:317: + struct hbl_cn_mem_buf *buf = container_of(kref, struct hbl_cn_mem_buf, refcount); WARNING: line length of 87 exceeds 80 columns #350: FILE: drivers/net/ethernet/intel/hbl_cn/common/hbl_cn_memory.c:319: + __xa_erase(&buf->ctx->hdev->mem_ids, lower_32_bits(buf->handle >> PAGE_SHIFT)); WARNING: line length of 90 exceeds 80 columns #361: FILE: drivers/net/ethernet/intel/hbl_cn/common/hbl_cn_memory.c:330: + dev_dbg(hdev->dev, "Buff put failed, no match to handle %#llx\n", handle); total: 0 errors, 24 warnings, 0 checks, 359 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 f1daf5583664 ("net: hbl_cn: memory manager component") 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, 24 warnings, 0 checks, 359 lines checked