[PATCH] drm/nouveau/vfn/r535: Convert comma to semicolon
Chen Ni
nichen at iscas.ac.cn
Tue Jun 3 06:10:27 UTC 2025
Replace comma between expressions with semicolons.
Using a ',' in place of a ';' can have unintended side effects.
Although that is not the case here, it is seems best to use ';'
unless ',' is intended.
Found by inspection.
No functional change intended.
Compile tested only.
Signed-off-by: Chen Ni <nichen at iscas.ac.cn>
---
drivers/gpu/drm/nouveau/nvkm/subdev/vfn/r535.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/nouveau/nvkm/subdev/vfn/r535.c b/drivers/gpu/drm/nouveau/nvkm/subdev/vfn/r535.c
index 9446049642e1..d294844d9eae 100644
--- a/drivers/gpu/drm/nouveau/nvkm/subdev/vfn/r535.c
+++ b/drivers/gpu/drm/nouveau/nvkm/subdev/vfn/r535.c
@@ -42,7 +42,7 @@ r535_vfn_new(const struct nvkm_vfn_func *hw,
return -ENOMEM;
rm->dtor = r535_vfn_dtor;
- rm->intr = &tu102_vfn_intr,
+ rm->intr = &tu102_vfn_intr;
rm->user.addr = 0x030000;
rm->user.size = 0x010000;
rm->user.base.minver = -1;
--
2.25.1
More information about the dri-devel
mailing list