WSL2-Linux-Kernel/drivers/gpu/drm/vboxvideo
Dan Carpenter 7bce202777 drm/vboxvideo: fix a NULL vs IS_ERR() check
[ Upstream commit cebbb5c46d ]

The devm_gen_pool_create() function never returns NULL, it returns
error pointers.

Fixes: 4cc9b56545 ("drm/vboxvideo: Use devm_gen_pool_create")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211118111233.GA1147@kili
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-01-27 11:03:13 +01:00
..
Kconfig
Makefile
hgsmi_base.c drm/vboxvideo/hgsmi_base: Place function names into headers 2021-06-03 13:33:09 +02:00
hgsmi_ch_setup.h
hgsmi_channels.h
hgsmi_defs.h drm/vboxvideo: Replace HTTP links with HTTPS ones 2020-07-16 22:12:50 +02:00
modesetting.c drm/vboxvideo/modesetting: Provide function names for prototype headers 2021-06-03 13:33:18 +02:00
vbox_drv.c drm/vbox: Convert to Linux IRQ interfaces 2021-07-15 11:16:06 +02:00
vbox_drv.h drm/vbox: Convert to Linux IRQ interfaces 2021-07-15 11:16:06 +02:00
vbox_hgsmi.c drm/vboxvideo: Replace HTTP links with HTTPS ones 2020-07-16 22:12:50 +02:00
vbox_irq.c drm/vbox: Convert to Linux IRQ interfaces 2021-07-15 11:16:06 +02:00
vbox_main.c drm/vboxvideo: fix a NULL vs IS_ERR() check 2022-01-27 11:03:13 +01:00
vbox_mode.c drm/vbox: Use offset-adjusted shadow-plane mappings 2021-08-08 20:27:49 +02:00
vbox_ttm.c drm/vboxvideo: Use managed VRAM-helper initialization 2021-03-11 14:19:43 +01:00
vboxvideo.h drm/vboxvideo/vboxvideo.h: Replace zero-length array with flexible-array member 2020-03-07 12:55:05 +01:00
vboxvideo_guest.h
vboxvideo_vbe.h
vbva_base.c