diff options
author | Nicholas Kazlauskas <[email protected]> | 2020-04-30 12:24:05 -0400 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2020-05-28 14:00:48 -0400 |
commit | 0922b899f36621126d49c0d86e90fb18d572d8a1 (patch) | |
tree | c39cb076285ca9218b6672cbf97b1ec23b57754b /lib/debugobjects.c | |
parent | 08a512d4ab2f32c6b06ea89bb8a707a66c3ec13d (diff) |
drm/amd/display: Don't pass invalid fw_bss_data pointer into DMUB srv
[Why]
If bss_data_size is 0 then we shouldn't be passing down fw_bss_data into
the DMUB service since the region isn't really "valid."
[How]
Pass NULL instead if the size is 0.
Signed-off-by: Nicholas Kazlauskas <[email protected]>
Reviewed-by: Zhan Liu <[email protected]>
Acked-by: Rodrigo Siqueira <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions