== Series Details ==
Series: Revert "drm/vgem: fix cache synchronization on arm/arm64"
URL : https://patchwork.freedesktop.org/series/64544/
State : warning
== Summary ==
$ dim checkpatch origin/drm-tip
18f70bceaf5b Revert "drm/vgem: fix cache synchronization on arm/arm64"
-:52: CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#52: FILE: drivers/gpu/drm/vgem/vgem_drv.c:97:
+ page = shmem_read_mapping_page(
-:58: ERROR:SWITCH_CASE_INDENT_LEVEL: switch and case should be at the same
indent
#58: FILE: drivers/gpu/drm/vgem/vgem_drv.c:103:
+ } else switch (PTR_ERR(page)) {
+ case -ENOSPC:
+ case -ENOMEM:
[...]
+ case -EBUSY:
[...]
+ case -EFAULT:
+ case -EINVAL:
[...]
+ default:
-:58: ERROR:TRAILING_STATEMENTS: trailing statements should be on next line
#58: FILE: drivers/gpu/drm/vgem/vgem_drv.c:103:
+ } else switch (PTR_ERR(page)) {
-:76: CHECK:BRACES: Blank lines aren't necessary before a close brace '}'
#76: FILE: drivers/gpu/drm/vgem/vgem_drv.c:121:
+ }
total: 2 errors, 0 warnings, 2 checks, 183 lines checked
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx