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' of git://git.kernel.org/pub/scm/linux/kernel/git/hyperv/linux

Pull Hyper-V update from Wei Liu:

- Update MAINTAINERS file for Hyper-V

- One cleanup patch for Hyper-V HID driver

* tag 'hyperv-fixes-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/hyperv/linux:
HID: hyperv: NULL check before some freeing functions is not needed.
Hyper-V: add myself as a maintainer
Hyper-V: Drop Sasha Levin from the Hyper-V maintainers

+3 -5
+1 -1
MAINTAINERS
··· 7738 7738 M: "K. Y. Srinivasan" <kys@microsoft.com> 7739 7739 M: Haiyang Zhang <haiyangz@microsoft.com> 7740 7740 M: Stephen Hemminger <sthemmin@microsoft.com> 7741 - M: Sasha Levin <sashal@kernel.org> 7741 + M: Wei Liu <wei.liu@kernel.org> 7742 7742 T: git git://git.kernel.org/pub/scm/linux/kernel/git/hyperv/linux.git 7743 7743 L: linux-hyperv@vger.kernel.org 7744 7744 S: Supported
+2 -4
drivers/hid/hid-hyperv.c
··· 193 193 goto cleanup; 194 194 195 195 /* The pointer is not NULL when we resume from hibernation */ 196 - if (input_device->hid_desc != NULL) 197 - kfree(input_device->hid_desc); 196 + kfree(input_device->hid_desc); 198 197 input_device->hid_desc = kmemdup(desc, desc->bLength, GFP_ATOMIC); 199 198 200 199 if (!input_device->hid_desc) ··· 206 207 } 207 208 208 209 /* The pointer is not NULL when we resume from hibernation */ 209 - if (input_device->report_desc != NULL) 210 - kfree(input_device->report_desc); 210 + kfree(input_device->report_desc); 211 211 input_device->report_desc = kzalloc(input_device->report_desc_size, 212 212 GFP_ATOMIC); 213 213