This is a note to let you know that I've just added the patch titled HID: wacom - remove report_id from wacom_get_report interface to the 3.17-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: hid-wacom-remove-report_id-from-wacom_get_report-interface.patch and it can be found in the queue-3.17 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let <stable@xxxxxxxxxxxxxxx> know about it. >From c64d883476812783e0400d37028756151d103e5c Mon Sep 17 00:00:00 2001 From: Ping Cheng <pinglinux@xxxxxxxxx> Date: Wed, 10 Sep 2014 12:41:04 -0700 Subject: HID: wacom - remove report_id from wacom_get_report interface From: Ping Cheng <pinglinux@xxxxxxxxx> commit c64d883476812783e0400d37028756151d103e5c upstream. It is assigned in buf[0] anyway. Signed-off-by: Ping Cheng <pingc@xxxxxxxxx> Reviewed-by: Benjamin Tissoires <benjamin.tissoires@xxxxxxxxxx> Signed-off-by: Jiri Kosina <jkosina@xxxxxxx> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> --- drivers/hid/wacom_sys.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) --- a/drivers/hid/wacom_sys.c +++ b/drivers/hid/wacom_sys.c @@ -23,13 +23,13 @@ #define WAC_CMD_ICON_BT_XFER 0x26 #define WAC_CMD_RETRIES 10 -static int wacom_get_report(struct hid_device *hdev, u8 type, u8 id, - void *buf, size_t size, unsigned int retries) +static int wacom_get_report(struct hid_device *hdev, u8 type, u8 *buf, + size_t size, unsigned int retries) { int retval; do { - retval = hid_hw_raw_request(hdev, id, buf, size, type, + retval = hid_hw_raw_request(hdev, buf[0], buf, size, type, HID_REQ_GET_REPORT); } while ((retval == -ETIMEDOUT || retval == -EPIPE) && --retries); @@ -255,7 +255,7 @@ static int wacom_set_device_mode(struct length, 1); if (error >= 0) error = wacom_get_report(hdev, HID_FEATURE_REPORT, - report_id, rep_data, length, 1); + rep_data, length, 1); } while ((error < 0 || rep_data[1] != mode) && limit++ < WAC_MSG_RETRIES); kfree(rep_data); Patches currently in stable-queue which might be from pinglinux@xxxxxxxxx are queue-3.17/hid-wacom-remove-report_id-from-wacom_get_report-interface.patch -- To unsubscribe from this list: send the line "unsubscribe stable" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html