]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/nouveau: rename "argv" to what it represents on the GSP message send path
authorZhi Wang <zhiw@nvidia.com>
Fri, 24 Jan 2025 18:29:46 +0000 (10:29 -0800)
committerDanilo Krummrich <dakr@kernel.org>
Fri, 24 Jan 2025 23:55:10 +0000 (00:55 +0100)
commit2c6a79af3fe0bc5db6f1097d0f64380f557830af
tree3c891e5a2443674817070e8632927b1699e047c0
parentf98ed88eb98b84f3e12ff09ec41a36a39dc43a98
drm/nouveau: rename "argv" to what it represents on the GSP message send path

The name "argv" has different meanings in different functions.

To improve the readability, it's better to refine it to a name that
reflects what it represents.

Rename "repc" to what it represents in the GSP message send path.
Wrap the long container_of() into to_gsp_hdr() to make checkpatch.pl
happy.

No functional change is intended.

Signed-off-by: Zhi Wang <zhiw@nvidia.com>
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20250124182958.2040494-4-zhiw@nvidia.com
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/r535.c