On Wed, 10 Jan 2018, Dan Carpenter wrote: > We get the "new_profile_index" value from the mouse device when we're > handling raw events. Smatch taints it as untrusted data and complains > that we need a bounds check. This seems like a reasonable warning > otherwise there is a small read beyond the end of the array. > > Fixes: 0e70f97f257e ("HID: roccat: Add support for Kova[+] mouse") > Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx> Applied, thanks. -- Jiri Kosina SUSE Labs -- To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html