| commit | b44e8e88d49e21cf63335c2e99e81b4258a86295 | [log] [tgz] |
|---|---|---|
| author | Jiri Kosina <jkosina@suse.cz> | Mon Jun 18 17:08:08 2012 +0200 |
| committer | Gerrit Code Review <evervolv.gerrit2@p000000.pubip.peer1.net> | Sun Feb 03 20:41:55 2013 +0000 |
| tree | 46548964d3c733e5db65421b2f8953ad528e4ba0 | |
| parent | 56c6b5584fae45030ef7098d6ba2b544380798a1 [diff] |
HID: uhid: silence gcc warning gcc is giving me: drivers/hid/uhid.c: In function ‘uhid_hid_get_raw’: drivers/hid/uhid.c:157: warning: ‘len’ may be used uninitialized in this function which is clearly bogus, as - when used as memcpy() argument, it's initialized properly - the code is structured in a way that either 'ret' or 'len' is always initialized, so the return statement always has an initialized value. Signed-off-by: Jiri Kosina <jkosina@suse.cz>