Skip to content

sahara: Unbreak ramdump by making images optional again#180

Merged
andersson merged 1 commit intolinux-msm:masterfrom
quic-bjorande:for-linux-msm/fix-ramdump-segfault-missing-images
Jan 29, 2026
Merged

sahara: Unbreak ramdump by making images optional again#180
andersson merged 1 commit intolinux-msm:masterfrom
quic-bjorande:for-linux-msm/fix-ramdump-segfault-missing-images

Conversation

@andersson
Copy link
Collaborator

Commit 'ff260604e774 ("sahara: Load programmer at parse time")' added a convenient debug function to dump the list of loaded images, but failed to recognize that when this is invoked from qdl-ramdump images will be NULL, and hence we have a segfault.

Make the debug call conditional on the presence of images.

Fixes: ff26060 ("sahara: Load programmer at parse time")

Commit 'ff260604e774 ("sahara: Load programmer at parse time")' added a
convenient debug function to dump the list of loaded images, but failed
to recognize that when this is invoked from qdl-ramdump `images` will be
NULL, and hence we have a segfault.

Make the debug call conditional on the presence of images.

Fixes: ff26060 ("sahara: Load programmer at parse time")
Signed-off-by: Bjorn Andersson <bjorn.andersson@oss.qualcomm.com>
@andersson andersson merged commit f5b6ce9 into linux-msm:master Jan 29, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants