Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=e54dea69bac12dae2ff27c1c7a472d4eee70638d
Commit:     e54dea69bac12dae2ff27c1c7a472d4eee70638d
Parent:     d4ae650a904612ffb7edd3f28b69b022988d2466
Author:     Jiri Kosina <[EMAIL PROTECTED]>
AuthorDate: Mon Jan 15 23:53:05 2007 +0100
Committer:  Jiri Kosina <[EMAIL PROTECTED]>
CommitDate: Sun Jan 21 22:17:55 2007 +0100

    HID: compilation fix when DEBUG_DATA is defined
    
    hid/hid-core.c references 'len' variable when DEBUG_DATA is defined,
    but the actual name of the variable is 'size'. Fix it.
    
    Signed-off-by: Jiri Kosina <[EMAIL PROTECTED]>
---
 drivers/hid/hid-core.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c
index 38db832..b8cf50f 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 */
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to