Jiri Kosina
1a8b294ce6
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 >
2012-06-18 17:08:30 +02:00
..
2012-05-22 16:02:13 -07:00
2012-05-22 18:27:32 -07:00
2012-05-21 20:20:23 -07:00
2012-05-18 15:42:55 -07:00
2012-05-22 16:34:21 -07:00
2012-05-21 12:41:17 -07:00
2012-05-17 09:57:13 -07:00
2012-05-22 16:02:13 -07:00
2012-05-22 16:02:13 -07:00
2012-06-18 17:08:30 +02:00
2012-05-22 16:02:13 -07:00
2012-05-22 09:39:42 -07:00
2012-05-16 15:17:08 -04:00
2012-05-14 13:37:45 -07:00
2012-05-21 17:54:55 -07:00
2012-05-22 15:50:46 -07:00
2012-05-14 14:37:47 +02:00
2012-05-22 16:12:24 -07:00
2012-05-18 18:22:45 -07:00
2012-05-22 15:50:46 -07:00
2012-05-14 12:52:52 -07:00
2012-05-15 20:23:16 -04:00
2012-05-22 09:23:24 -07:00
2012-05-22 16:34:21 -07:00
2012-05-22 09:39:42 -07:00
2012-05-22 13:32:53 -07:00
2012-05-22 16:34:21 -07:00
2012-05-22 09:30:52 -07:00
2012-05-22 16:02:13 -07:00
2012-05-21 16:24:54 -07:00
2012-05-22 09:39:42 -07:00
2012-05-16 22:17:37 -04:00
2012-05-21 16:49:16 -07:00
2012-05-13 23:15:42 +03:00
2012-05-22 09:23:24 -07:00
2012-05-22 16:12:24 -07:00
2012-05-21 17:46:21 -07:00
2012-05-12 09:43:11 +08:00
2012-05-22 16:34:21 -07:00
2012-05-21 17:37:09 -07:00
2012-05-22 16:12:24 -07:00
2012-05-15 08:44:58 -07:00
2012-05-22 16:12:24 -07:00
2012-05-16 22:17:37 -04:00
2012-05-22 15:50:46 -07:00
2012-05-22 12:16:15 +09:30
2012-05-21 19:25:14 -07:00
2012-05-22 16:34:21 -07:00
2012-05-22 16:34:21 -07:00