From: Nestor Lopez Casado Date: Tue, 20 Sep 2011 13:59:03 +0000 (+0200) Subject: HID: hid-logitech-dj: fix off by one X-Git-Tag: v3.2-rc1~187^2~2^3~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=844580ff63ef4eb19eec4cfd8cd6e0b62d81279f;p=pandora-kernel.git HID: hid-logitech-dj: fix off by one There is a bug where a device with index 6 would write out of bounds in the array of paired devices. This patch fixes that problem. Reported-by: Dan Carpenter Reviewed-by: Benjamin Tissoires Reviewed-by: Olivier Gay Signed-off-by: Nestor Lopez Casado Signed-off-by: Jiri Kosina --- Reading git-diff-tree failed