]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/i915/uc: remove accidental static from a local variable
authorJani Nikula <jani.nikula@intel.com>
Wed, 11 May 2022 09:46:19 +0000 (12:46 +0300)
committerJani Nikula <jani.nikula@intel.com>
Mon, 13 Jun 2022 10:53:35 +0000 (13:53 +0300)
commit2636e008112465ca54559ac4898da5a2515e118a
tree9c707d3add95ecbe3a8cf839c982514837471518
parent842d9346b2fdda4d2fb8ccb5b87faef1ac01ab51
drm/i915/uc: remove accidental static from a local variable

The arrays are static const, but the pointer shouldn't be static.

Fixes: 3d832f370d16 ("drm/i915/uc: Allow platforms to have GuC but not HuC")
Cc: John Harrison <John.C.Harrison@Intel.com>
Cc: Lucas De Marchi <lucas.demarchi@intel.com>
Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220511094619.27889-1-jani.nikula@intel.com
(cherry picked from commit 5821a0bbb4c39960975d29d6b58ae290088db0ed)
drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c