diff options
author | Ashutosh Dixit <ashutosh.dixit@intel.com> | 2025-07-15 11:14:22 -0700 |
---|---|---|
committer | Rodrigo Vivi <rodrigo.vivi@intel.com> | 2025-07-28 10:22:17 -0400 |
commit | 6aaceed7fe1a400082ec5990884b11ef7266a605 (patch) | |
tree | 8f1cfb9c4190e960db19b3831635582ab136aa54 /lib/crypto/mpi/mpi-sub-ui.c | |
parent | d9e9aa3e971b37c6d6dfd15ad8dc65537a925725 (diff) |
drm/xe/oa: Fix static checker warning about null gt
There is a static checker warning that gt returned by xe_device_get_gt can
be NULL and that is being dereferenced. Use xe_root_mmio_gt instead, which
is equivalent and cannot return a NULL gt 0.
Fixes: 10d42ef34bce ("drm/xe/oa: Assign hwe for OAM_SAG")
Signed-off-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
Reviewed-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
Link: https://lore.kernel.org/r/20250715181422.2807624-1-ashutosh.dixit@intel.com
(cherry picked from commit 308dc9b27874d0e8a0258869b9e681b0fdd2e579)
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'lib/crypto/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions