On Sun, Jun 25, 2017 at 11:06:09AM -0700, Dmitry Torokhov wrote: > Hi Nick, > > Since the time the code was written we got nice helpers to clamp the > values. Does the following work for you or it still leaves clang > unhappy? LGTM, no more warnings with Clang. -- 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