# \[PATCH 1/4\] input - wacom: fix retrieving touch\_max bug

- Subsystems: INPUT (KEYBOARD, MOUSE, JOYSTICK, TOUCHSCREEN) DRIVERS, THE REST
- Maintainers: Dmitry Torokhov, Linus Torvalds
- List: linux-input
- 1 message, 1 author
- Page: https://ratatoskr.run/linux-input/2012/06/8919758/t

## \[PATCH 1/4\] input - wacom: fix retrieving touch\_max bug

- From: Ping Cheng \<hidden\>
- Date: 2012-06-25 21:31:51 
- Message: https://ratatoskr.run/linux-input/2012/06/8919758.md

```text
rep_data has already been declared as a pointer.

Signed-off-by: Ping Cheng <redacted>
---
 drivers/input/tablet/wacom_sys.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/input/tablet/wacom_sys.c b/drivers/input/tablet/wacom_sys.c
index 9e8fdcf..c2fb698 100644
--- a/drivers/input/tablet/wacom_sys.c
+++ b/drivers/input/tablet/wacom_sys.c
@@ -213,7 +213,7 @@ static void wacom_retrieve_report_data(struct usb_interface *intf,
 
 		rep_data[0] = 12;
 		result = wacom_get_report(intf, WAC_HID_FEATURE_REPORT,
-					  rep_data[0], &rep_data, 2,
+					  rep_data[0], rep_data, 2,
 					  WAC_MSG_RETRIES);
 
 		if (result >= 0 && rep_data[1] > 2)
-- 
1.7.7.6

```
