Module Name:    src
Committed By:   riastradh
Date:           Mon Feb 14 09:25:39 UTC 2022

Modified Files:
        src/sys/external/bsd/drm2/dist/drm/ttm: ttm_bo.c

Log Message:
drm/ttm: Avoid uninitialized mem in error branch.

Not sure why this error branch is getting hit, but let's not make the
problem worse by choking on stack garbage.

Candidate fix for symptom of PR kern/56565, PR kern/56711.
Underlying problem -- that ttm_bo_mem_space fails with ENOMEM --
remains.


To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 src/sys/external/bsd/drm2/dist/drm/ttm/ttm_bo.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Reply via email to