diff options
author | Jiri Kosina <jkosina@suse.cz> | 2012-06-18 17:08:08 +0200 |
---|---|---|
committer | Pawit Pornkitprasan <p.pawit@gmail.com> | 2012-12-05 23:04:13 +0700 |
commit | 39167aef40e77895d4899fe93020c8cf8b557369 (patch) | |
tree | c9b80d678f727b410d2fbd973a5eadbdaf0c086d /fs/nilfs2 | |
parent | 576b72b63b85458a7f0a6835d5e4e19515702e79 (diff) | |
download | kernel_samsung_aries-39167aef40e77895d4899fe93020c8cf8b557369.zip kernel_samsung_aries-39167aef40e77895d4899fe93020c8cf8b557369.tar.gz kernel_samsung_aries-39167aef40e77895d4899fe93020c8cf8b557369.tar.bz2 |
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>
Diffstat (limited to 'fs/nilfs2')
0 files changed, 0 insertions, 0 deletions