diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c index 38db8321b211887f4ce86e842e0823bc294a1207..b8cf50fcd64d358e2dadfbb5935bde979886506b 100644 --- a/drivers/hid/hid-core.c +++ b/drivers/hid/hid-core.c @@ -951,7 +951,7 @@ int hid_input_report(struct hid_device *hid, int type, u8 *data, int size, int i } #ifdef DEBUG_DATA - printk(KERN_DEBUG __FILE__ ": report (size %u) (%snumbered)\n", len, report_enum->numbered ? "" : "un"); + printk(KERN_DEBUG __FILE__ ": report (size %u) (%snumbered)\n", size, report_enum->numbered ? "" : "un"); #endif n = 0; /* Normally report number is 0 */