Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bb5da491 authored by K. Y. Srinivasan's avatar K. Y. Srinivasan Committed by Greg Kroah-Hartman
Browse files

Staging: hv: mousevsc: Fix checkpatch errors and warnings



Fix checkpatch errors and warnings.

Signed-off-by: default avatarK. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: default avatarHaiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent d9add43b
Loading
Loading
Loading
Loading
+8 −7
Original line number Original line Diff line number Diff line
@@ -335,7 +335,8 @@ static void mousevsc_on_receive_device_info(struct mousevsc_dev *input_device,
	input_device->hid_desc = kzalloc(desc->bLength, GFP_KERNEL);
	input_device->hid_desc = kzalloc(desc->bLength, GFP_KERNEL);


	if (!input_device->hid_desc) {
	if (!input_device->hid_desc) {
		pr_err("unable to allocate hid descriptor - size %d", desc->bLength);
		pr_err("unable to allocate hid descriptor - size %d",
			 desc->bLength);
		goto cleanup;
		goto cleanup;
	}
	}