Merge branch 'for-4.17/multitouch' into for-linus
[sfrench/cifs-2.6.git] / drivers / hid / hid-multitouch.c
index 6ae2d14146b3b22eb50ff2a94bdfcb4b2ba41d56..ba32f0172030f8401a3b507d0f4fa8a0738d7218 100644 (file)
@@ -379,7 +379,8 @@ static const struct attribute_group mt_attribute_group = {
 
 static void mt_get_feature(struct hid_device *hdev, struct hid_report *report)
 {
-       int ret, size = hid_report_len(report);
+       int ret;
+       u32 size = hid_report_len(report);
        u8 *buf;
 
        /*
@@ -1187,7 +1188,7 @@ static void mt_set_input_mode(struct hid_device *hdev)
        struct hid_report_enum *re;
        struct mt_class *cls = &td->mtclass;
        char *buf;
-       int report_len;
+       u32 report_len;
 
        if (td->inputmode < 0)
                return;