aboutsummaryrefslogtreecommitdiff
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorNicholas Kazlauskas <[email protected]>2020-04-30 12:24:05 -0400
committerAlex Deucher <[email protected]>2020-05-28 14:00:48 -0400
commit0922b899f36621126d49c0d86e90fb18d572d8a1 (patch)
treec39cb076285ca9218b6672cbf97b1ec23b57754b /lib/string_helpers.c
parent08a512d4ab2f32c6b06ea89bb8a707a66c3ec13d (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/string_helpers.c')
0 files changed, 0 insertions, 0 deletions