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 'char-misc-4.9-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc

Pull char/misc fixes from Greg KH:
"Here are three small driver fixes for some reported issues for
4.9-rc5.

One for the hyper-v subsystem, fixing up a naming issue that showed up
in 4.9-rc1, one mei driver fix, and one fix for parallel ports,
resolving a reported regression.

All have been in linux-next with no reported issues"

* tag 'char-misc-4.9-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc:
ppdev: fix double-free of pp->pdev->name
vmbus: make sysfs names consistent with PCI
mei: bus: fix received data size check in NFC fixup

+3 -6
-3
drivers/char/ppdev.c
··· 748 748 } 749 749 750 750 if (pp->pdev) { 751 - const char *name = pp->pdev->name; 752 - 753 751 parport_unregister_device(pp->pdev); 754 - kfree(name); 755 752 pp->pdev = NULL; 756 753 pr_debug(CHRDEV "%x: unregistered pardevice\n", minor); 757 754 }
+1 -1
drivers/hv/vmbus_drv.c
··· 961 961 { 962 962 int ret = 0; 963 963 964 - dev_set_name(&child_device_obj->device, "vmbus-%pUl", 964 + dev_set_name(&child_device_obj->device, "%pUl", 965 965 child_device_obj->channel->offermsg.offer.if_instance.b); 966 966 967 967 child_device_obj->device.bus = &hv_bus;
+1 -1
drivers/misc/mei/bus-fixup.c
··· 178 178 179 179 ret = 0; 180 180 bytes_recv = __mei_cl_recv(cl, (u8 *)reply, if_version_length); 181 - if (bytes_recv < 0 || bytes_recv < sizeof(struct mei_nfc_reply)) { 181 + if (bytes_recv < if_version_length) { 182 182 dev_err(bus->dev, "Could not read IF version\n"); 183 183 ret = -EIO; 184 184 goto err;
+1 -1
drivers/nfc/mei_phy.c
··· 133 133 return -ENOMEM; 134 134 135 135 bytes_recv = mei_cldev_recv(phy->cldev, (u8 *)reply, if_version_length); 136 - if (bytes_recv < 0 || bytes_recv < sizeof(struct mei_nfc_reply)) { 136 + if (bytes_recv < 0 || bytes_recv < if_version_length) { 137 137 pr_err("Could not read IF version\n"); 138 138 r = -EIO; 139 139 goto err;