Re: [PATCH 2/3] hid: 3m: Convert to MT slots

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Le 28 août 10 à 16:29, Henrik Rydberg a écrit :

 #define MAX_SLOTS		60
-#define MAX_TRKID		59
+#define MAX_TRKID		USHRT_MAX


Oops, I forgot this one: in the rest of the code, it seems to me that you use your knowledge that TRACKINGID cannot be more than 59 (you use it to map the tracking ID onto the slot ID). Therefore, why change TRKID to a larger value?

Cheers,

St.

--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux