[lkml]   [2010]   [Sep]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH 2/3] hid: 3m: Convert to MT slots
    On 09/20/2010 09:46 PM, Stéphane Chatty wrote:

    > 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?

    There are only 60 slots available, but an infinite number of tracking ids.
    Nowhere is the tracking id assumed to be bounded by anything but MAX_TRKID.

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2010-09-20 21:53    [W:0.038 / U:34.992 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site