drm/nouveau/vfn/r535: Convert comma to semicolon
authorChen Ni <nichen@iscas.ac.cn>
Tue, 3 Jun 2025 06:10:27 +0000 (14:10 +0800)
committerDave Airlie <airlied@redhat.com>
Fri, 6 Jun 2025 04:00:06 +0000 (14:00 +1000)
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@iscas.ac.cn>
Fixes: cd3c62282b61 ("drm/nouveau/gsp: add usermode class id to gpu hal")
Signed-off-by: Dave Airlie <airlied@redhat.com>
Link: https://lore.kernel.org/r/20250603061027.1310267-1-nichen@iscas.ac.cn
drivers/gpu/drm/nouveau/nvkm/subdev/vfn/r535.c

index 9446049642e1c60249e6967865fbde895f7d8e3a..d294844d9eaed151d027fe5c53d475ef39f272c0 100644 (file)
@@ -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;