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
hgsmi_ch_setup.h
hgsmi_channels.h
hgsmi_defs.h
modesetting.c
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
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
vboxvideo.h
vboxvideo_guest.h
vboxvideo_vbe.h
vbva_base.c