drm/xe/xe_vm: Convert comma to semicolon
Subsystems (2)
PATCH 1/1 drm/xe/xe_vm: Convert comma to semicolon
Using a ',' in place of a ';' can have unintended side effects. Although that is not the case here, it seems best to use ';' unless ',' is intended.
Found by inspection.
No functional change intended.
Compile tested only.
--- drivers/gpu/drm/xe/xe_vm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/xe/xe_vm.c +2 -2
@@ -626,9 +626,9 @@ void xe_vm_add_fault_entry_pf(struct xe_vm *vm, struct xe_pagefault *pf) e->address_precision =SZ_4K ; e->access_type = pf->consumer.access_type; e->fault_type =FIELD_GET (XE_PAGEFAULT_TYPE_MASK , - pf->consumer.fault_type_level), + pf->consumer.fault_type_level); e->fault_level =FIELD_GET (XE_PAGEFAULT_LEVEL_MASK , - pf->consumer.fault_type_level), + pf->consumer.fault_type_level);list_add_tail (&e->list, &vm->faults.list); vm->faults.len++;
Signature · 1 line
2.25.1
Rodrigo Vivi
maintainerQuoted 18 lines · Chen Ni
Using a ',' in place of a ';' can have unintended side effects. Although that is not the case here, it seems best to use ';' unless ',' is intended.
Found by inspection.
No functional change intended.
Compile tested only.Signed-off-by Chen Ni <[email protected]>--- drivers/gpu/drm/xe/xe_vm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/gpu/drm/xe/xe_vm.c +0
-0
drivers/gpu/drm/xe/xe_vm.c void xe_vm_add_fault_entry_pf(struct xe_vm *vm, struct xe_pagefault *pf) · line 631
Quoted 8 lines
drivers/gpu/drm/xe/xe_vm.c +2
-2@@ -626,9 +626,9 @@ void xe_vm_add_fault_entry_pf(struct xe_vm *vm, struct xe_pagefault *pf) e->address_precision =SZ_4K ; e->access_type = pf->consumer.access_type; e->fault_type =FIELD_GET (XE_PAGEFAULT_TYPE_MASK , - pf->consumer.fault_type_level), + pf->consumer.fault_type_level); e->fault_level =FIELD_GET (XE_PAGEFAULT_LEVEL_MASK , - pf->consumer.fault_type_level), + pf->consumer.fault_type_level);
This code is not present in our tree.
In the xe_pagefault.c where this FIELD_GET commands are actually implemented, the comma is the right way.
Quoted 6 lines
drivers/gpu/drm/xe/xe_vm.c +0
-0list_add_tail (&e->list, &vm->faults.list); vm->faults.len++;Signature · 1 line
2.25.1
Patchwork
CI✗ LGCI.VerificationFailed: failure for drm/xe/xe_vm: Convert comma to semicolon
In reply to Chen Ni== Series Details ==
== Series Details ==
Series: drm/xe/xe_vm: Convert comma to semicolon
URL : https://patchwork.freedesktop.org/series/164081/
State : failure
== Summary ==
Address '[email protected]' is not on the allowlist, which prevents CI from being triggered for this patch. If you want Intel GFX CI to accept this address, please contact the script maintainers at [email protected]. Exception occurred during validation, bailing out!
Quoted 9 lines · Chen Ni
Using a ',' in place of a ';' can have unintended side effects. Although that is not the case here, it seems best to use ';' unless ',' is intended.
Found by inspection.
No functional change intended.
Compile tested only.Signed-off-by Chen Ni <[email protected]>
LGTM.
BTW, it is blocked by the CI due to the mail address restriction. Let me re-send it for CI validation. Thanks.
Quoted 23 lines
--- drivers/gpu/drm/xe/xe_vm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/gpu/drm/xe/xe_vm.c index renamed from drivers/gpu/drm/xe/xe_vm.c +0
-0
d96e0a0c5605..21844217dccd100644drivers/gpu/drm/xe/xe_vm.c +2
-2@@ -626,9 +626,9 @@ void xe_vm_add_fault_entry_pf(struct xe_vm *vm, struct xe_pagefault *pf) e->address_precision = SZ_4K; e->access_type = pf->consumer.access_type; e->fault_type =FIELD_GET (XE_PAGEFAULT_TYPE_MASK , - pf->consumer.fault_type_level), + pf->consumer.fault_type_level); e->fault_level =FIELD_GET (XE_PAGEFAULT_LEVEL_MASK , - pf->consumer.fault_type_level), + pf->consumer.fault_type_level);list_add_tail (&e->list, &vm->faults.list);vm->faults.len++;
--
2.25.1