✗ CI.checkpatch: warning for drm/xe: VM bind refactor
Patchwork
patchwork at emeril.freedesktop.org
Sat Feb 10 03:47:14 UTC 2024
== Series Details ==
Series: drm/xe: VM bind refactor
URL : https://patchwork.freedesktop.org/series/129743/
State : warning
== Summary ==
+ KERNEL=/kernel
+ git clone https://gitlab.freedesktop.org/drm/maintainer-tools mt
Cloning into 'mt'...
warning: redirecting to https://gitlab.freedesktop.org/drm/maintainer-tools.git/
+ git -C mt rev-list -n1 origin/master
35591fb8b4d5305b37ce31483f85ac0956eaa536
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 68a862a0e74e43ac852cc9da82c66d11b8ff9394
Author: Matthew Brost <matthew.brost at intel.com>
Date: Fri Feb 9 19:45:04 2024 -0800
drm/xe: VM bind refactor
Single squashed patch for CI
Signed-off-by: Matthew Brost <matthew.brost at intel.com>
+ /mt/dim checkpatch cb45a93504e3a257c069e6f68a2f005bf2ed360c drm-intel
68a862a0e drm/xe: VM bind refactor
Traceback (most recent call last):
File "scripts/spdxcheck.py", line 6, in <module>
from ply import lex, yacc
ModuleNotFoundError: No module named 'ply'
Traceback (most recent call last):
File "scripts/spdxcheck.py", line 6, in <module>
from ply import lex, yacc
ModuleNotFoundError: No module named 'ply'
-:563: WARNING:UNNECESSARY_ELSE: else is not generally useful after a break or return
#563: FILE: drivers/gpu/drm/xe/xe_exec_queue.c:809:
+ return test_bit(DMA_FENCE_FLAG_SIGNALED_BIT, &fence->flags);
+ } else {
-:831: CHECK:BRACES: Blank lines aren't necessary before a close brace '}'
#831: FILE: drivers/gpu/drm/xe/xe_gt_tlb_invalidation.c:306:
+
+}
-:2641: WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (8, 15)
#2641: FILE: drivers/gpu/drm/xe/xe_pt.c:1755:
+ if (vops->inject_error &&
[...]
+ return -ENOSPC;
-:2643: WARNING:TABSTOP: Statements should start on a tabstop
#2643: FILE: drivers/gpu/drm/xe/xe_pt.c:1757:
+ return -ENOSPC;
-:2764: WARNING:TYPO_SPELLING: 'commiting' may be misspelled - perhaps 'committing'?
#2764: FILE: drivers/gpu/drm/xe/xe_pt.c:1860:
+ * Run PT update operations which includes commiting internal PT state changes,
^^^^^^^^^
-:2823: WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (8, 15)
#2823: FILE: drivers/gpu/drm/xe/xe_pt.c:1889:
+ if (vops->inject_error &&
[...]
+ return ERR_PTR(-ENOSPC);
-:2825: WARNING:TABSTOP: Statements should start on a tabstop
#2825: FILE: drivers/gpu/drm/xe/xe_pt.c:1891:
+ return ERR_PTR(-ENOSPC);
-:2981: WARNING:TYPO_SPELLING: 'commiting' may be misspelled - perhaps 'committing'?
#2981: FILE: drivers/gpu/drm/xe/xe_pt.c:1991:
+ * Finish PT update operations by commiting to destroy page table memory
^^^^^^^^^
-:3068: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating?
#3068:
new file mode 100644
-:3348: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#3348: FILE: drivers/gpu/drm/xe/xe_sched_job.c:38:
+ max_t(size_t,
sizeof(u64) *
-:3506: ERROR:FLEXIBLE_ARRAY: Use C99 flexible arrays - see https://docs.kernel.org/process/deprecated.html#zero-length-and-one-element-arrays
#3506: FILE: drivers/gpu/drm/xe/xe_sched_job_types.h:70:
+ struct pt_update_args pt_update[0];
+ };
-:4534: WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (8, 15)
#4534: FILE: drivers/gpu/drm/xe/xe_vm.c:2386:
+ if (vops->inject_error &&
[...]
+ return -ENOSPC;
-:4536: WARNING:TABSTOP: Statements should start on a tabstop
#4536: FILE: drivers/gpu/drm/xe/xe_vm.c:2388:
+ return -ENOSPC;
-:4596: ERROR:SPACING: space prohibited after that open parenthesis '('
#4596: FILE: drivers/gpu/drm/xe/xe_vm.c:2408:
+ trace_xe_vma_unbind( gpuva_to_vma(op->base.unmap.va));
total: 2 errors, 10 warnings, 2 checks, 4932 lines checked
More information about the Intel-xe
mailing list