diff options
| author | Leo (Hanghong) Ma <hanghong.ma@amd.com> | 2021-03-15 18:31:55 -0400 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2021-04-09 16:48:02 -0400 |
| commit | 6c8e1f3b95a2fb3dbad1fe0f72d2902f34cfb75f (patch) | |
| tree | 2620090a1e229202fc27af2c420ab72bc4d6430e /lib/mpi/mpi-sub-ui.c | |
| parent | 4758823355a0ed90bd9bfec508de41635a75d4d1 (diff) | |
drm/amd/display: Fix static checker warnings on tracebuff_fb
[Why]
Static analysis on linux-next has found a potential null pointer
dereference;
[How]
Refactor the function, add ASSERT and remove the unnecessary check.
Signed-off-by: Leo (Hanghong) Ma <hanghong.ma@amd.com>
Reviewed-by: Harry Wentland <Harry.Wentland@amd.com>
Acked-by: Anson Jacob <Anson.Jacob@amd.com>
Tested-by: Dan Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions
