Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'hyperv-fixes-signed-20210402' of git://git.kernel.org/pub/scm/linux/kernel/git/hyperv/linux

Pull Hyper-V fixes from Wei Liu:
"One fix from Lu Yunlong for a double free in hvfb_probe"

* tag 'hyperv-fixes-signed-20210402' of git://git.kernel.org/pub/scm/linux/kernel/git/hyperv/linux:
video: hyperv_fb: Fix a double free in hvfb_probe

-3
-3
drivers/video/fbdev/hyperv_fb.c
··· 1031 1031 PCI_DEVICE_ID_HYPERV_VIDEO, NULL); 1032 1032 if (!pdev) { 1033 1033 pr_err("Unable to find PCI Hyper-V video\n"); 1034 - kfree(info->apertures); 1035 1034 return -ENODEV; 1036 1035 } 1037 1036 ··· 1128 1129 } else { 1129 1130 pci_dev_put(pdev); 1130 1131 } 1131 - kfree(info->apertures); 1132 1132 1133 1133 return 0; 1134 1134 ··· 1139 1141 err1: 1140 1142 if (!gen2vm) 1141 1143 pci_dev_put(pdev); 1142 - kfree(info->apertures); 1143 1144 1144 1145 return -ENOMEM; 1145 1146 }