]> git.baikalelectronics.ru Git - kernel.git/commit
fbdev: chipsfb: Fix error codes in chipsfb_pci_init()
authorDan Carpenter <error27@gmail.com>
Mon, 27 Feb 2023 10:33:30 +0000 (13:33 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 Mar 2023 12:33:39 +0000 (13:33 +0100)
commit4418831ad11db1cfdd64dc6060db65a053007604
tree2bbd9a97d2982331a9bec6e2a7658770249c7ed4
parent8b503e8464f7d8c1b20025d2c6c8a752ab89aa9c
fbdev: chipsfb: Fix error codes in chipsfb_pci_init()

[ Upstream commit 03fa022c67c44ce92fe1e51a11ab411779fd4f94 ]

The error codes are not set on these error paths.

Fixes: 41539220b34c ("fbdev: Remove conflicting devices on PCI bus")
Signed-off-by: Dan Carpenter <error27@gmail.com>
Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/Y/yG+sm2mhdJeTZW@kili
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/video/fbdev/chipsfb.c