aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorVasily Khoruzhick <[email protected]>2024-06-07 15:09:32 -0700
committerDanilo Krummrich <[email protected]>2024-06-11 12:04:59 +0200
commitb96a225377b6602299a03d2ce3c289b68cd41bb7 (patch)
tree166b264a2f8e119f98f9c3b64a6208254fed60e6 /lib/test_fortify/write_overflow-strncpy-src.c
parent31849bf07e0fb3e7d050c086b77ebdb6cec89167 (diff)
drm/nouveau: don't attempt to schedule hpd_work on headless cards
If the card doesn't have display hardware, hpd_work and hpd_lock are left uninitialized which causes BUG when attempting to schedule hpd_work on runtime PM resume. Fix it by adding headless flag to DRM and skip any hpd if it's set. Fixes: ae1aadb1eb8d ("nouveau: don't fail driver load if no display hw present.") Link: https://gitlab.freedesktop.org/drm/nouveau/-/issues/337 Signed-off-by: Vasily Khoruzhick <[email protected]> Reviewed-by: Ben Skeggs <[email protected]> Signed-off-by: Danilo Krummrich <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions