]> www.infradead.org Git - users/dwmw2/linux.git/commit
drm/amd: Copy entire structure in amdgpu_acpi_get_backlight_caps()
authorMario Limonciello <mario.limonciello@amd.com>
Fri, 28 Feb 2025 18:51:41 +0000 (12:51 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 5 Mar 2025 15:42:37 +0000 (10:42 -0500)
commit1c79b5fcdf1a29525dbb6e8243d0e63c0e9a5000
treeb3701c235699213c4ae167a6c2c7dbd8eba9ea4b
parent43e88e20d3f3107b0f49f41200e315c9dc8a921d
drm/amd: Copy entire structure in amdgpu_acpi_get_backlight_caps()

As new members are introduced to the structure copying the entire
structure will help avoid missing them.

Reviewed-by: Alex Hung <alex.hung@amd.com>
Link: https://lore.kernel.org/r/20250228185145.186319-2-mario.limonciello@amd.com
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c