diff options
author | Dave Airlie <airlied@redhat.com> | 2022-11-25 09:21:10 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2022-11-25 09:21:11 +1000 |
commit | 9e2c5c651a63baaa39005070481d39dcf5b0893a (patch) | |
tree | 1711aefad939e34c9a6323d16788242e906da1b5 /drivers/video | |
parent | eb7081409f94a9a8608593d0fb63a1aa3d6f95d8 (diff) | |
parent | a6a00d7e8ffd78d1cdb7a43f1278f081038c638f (diff) | |
download | linux-stable-9e2c5c651a63baaa39005070481d39dcf5b0893a.tar.gz linux-stable-9e2c5c651a63baaa39005070481d39dcf5b0893a.tar.bz2 linux-stable-9e2c5c651a63baaa39005070481d39dcf5b0893a.zip |
Merge tag 'drm-misc-fixes-2022-11-24' of git://anongit.freedesktop.org/drm/drm-misc into drm-fixes
drm-misc-fixes for v6.1-rc7:
- Another amdgpu gang submit fix.
- Use dma_fence_unwrap_for_each when importing sync files.
- Fix race in dma_heap_add().
- Fix use of uninitialized memory in logo.
Signed-off-by: Dave Airlie <airlied@redhat.com>
From: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/a5721505-4823-98ef-7d6f-0ea478221391@linux.intel.com
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/fbdev/core/fbcon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/fbdev/core/fbcon.c b/drivers/video/fbdev/core/fbcon.c index 098b62f7b701..c0143d38df83 100644 --- a/drivers/video/fbdev/core/fbcon.c +++ b/drivers/video/fbdev/core/fbcon.c @@ -577,7 +577,7 @@ static void fbcon_prepare_logo(struct vc_data *vc, struct fb_info *info, if (scr_readw(r) != vc->vc_video_erase_char) break; if (r != q && new_rows >= rows + logo_lines) { - save = kmalloc(array3_size(logo_lines, new_cols, 2), + save = kzalloc(array3_size(logo_lines, new_cols, 2), GFP_KERNEL); if (save) { int i = min(cols, new_cols); |