diff options
| author | Patrisious Haddad <phaddad@nvidia.com> | 2025-10-22 15:29:41 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2025-10-23 07:14:33 -0700 |
| commit | 8f82f89550daafc8ca3ba74c389ae1b4afdd75c8 (patch) | |
| tree | a41c489ea090eabd53870209a292e01252f6a58a /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | |
| parent | d58a9a917aa39b10250ec16cb9c24e942cbc77d3 (diff) | |
net/mlx5: Refactor devcom to return NULL on failure
Devcom device and component registration isn't always critical to the
functionality of the caller, hence the registration can fail and we can
continue working with an ERR_PTR value saved inside a variable.
In order to avoid that make sure all devcom failures return NULL.
Signed-off-by: Patrisious Haddad <phaddad@nvidia.com>
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Link: https://patch.msgid.link/1761136182-918470-4-git-send-email-tariqt@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c')
0 files changed, 0 insertions, 0 deletions
