From a98111b9836bf17d6b59203f27c08eedfd0b1106 Mon Sep 17 00:00:00 2001 From: Aditya Garg <85610623+AdityaGarg8@users.noreply.github.com> Date: Tue, 7 Jan 2025 19:47:03 +0530 Subject: [PATCH] Update 1019-t1-tb.patch --- 1019-t1-tb.patch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/1019-t1-tb.patch b/1019-t1-tb.patch index 1caf3ee..d2c2955 100644 --- a/1019-t1-tb.patch +++ b/1019-t1-tb.patch @@ -144,7 +144,7 @@ index aefba5332b083d..cdb20061962e6e 100644 switch (item->tag) { case HID_MAIN_ITEM_TAG_BEGIN_COLLECTION: @@ -711,12 +713,19 @@ static void hid_device_release(struct device *dev) - kfree(hid); + kref_put(&hid->ref, hiddev_free); } -/* @@ -161,8 +161,8 @@ index aefba5332b083d..cdb20061962e6e 100644 + * Return: the position of the next item in the report */ - --static u8 *fetch_item(__u8 *start, __u8 *end, struct hid_item *item) -+u8 *hid_fetch_item(__u8 *start, __u8 *end, struct hid_item *item) +-static const u8 *fetch_item(__u8 *start, __u8 *end, struct hid_item *item) ++u8 const *hid_fetch_item(__u8 *start, __u8 *end, struct hid_item *item) { u8 b;