[SRU] [H/U/OEM-5.10] [PATCH 0/1] Fix kernel panic on non-PCI efifb

Kai-Heng Feng kai.heng.feng at canonical.com
Wed Apr 14 15:01:23 UTC 2021


BugLink: https://bugs.launchpad.net/bugs/1922403

[Impact]
Kernel panic at boot time on RPi4 UEFI and Hyper-V.

[Fix]
efifb isn't neccessarily a PCI device, so check that before using it.

[Test]
Boot Hirsute kernel on Hyper-V.
With the fix applied, no more kernel panic at boot.

[Where problems could occur]
Nothing really. The NULL check should've done in the first place.

Kai-Heng Feng (1):
  UBUNTU: SAUCE: efifb: Check efifb_pci_dev before using it

 drivers/video/fbdev/efifb.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

-- 
2.30.2




More information about the kernel-team mailing list