aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorMatthew Auld <[email protected]>2024-02-05 15:31:11 +0000
committerThomas Hellström <[email protected]>2024-02-15 09:53:11 +0100
commitc2626b7387210cff741be9fb91d317f02a70347c (patch)
treec0adb4ba9204e7f6454681e192e838a81f8a2925 /lib/test_fortify/write_overflow-strncpy-src.c
parent9377de4cb3e8fb6c494fa2f5ae2c3780d3e73822 (diff)
drm/xe/display: fix i915_gem_object_is_shmem() wrapper
shmem ensures the memory is cleared on allocation, however here we are using TTM, which doesn't natively support shmem (other than for swap), but instead just allocates normal system memory. And we only zero such memory for userspace allocations. In the case of intel_fbdev we are missing the memset_io() since display path incorrectly thinks object is shmem based. Fixes: 44e694958b95 ("drm/xe/display: Implement display support") Signed-off-by: Matthew Auld <[email protected]> Reviewed-by: Suraj Kandpal <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] (cherry picked from commit 63fb531fbfda81bda652546a39333b565aea324d) Signed-off-by: Thomas Hellström <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions