linux/drivers/hid/intel-ish-hid
Jiri Kosina 15607a3ad4 HID: intel-ish-hid: initialize ts_format.reserved
ts_format.reserved is not used anywhere yet, but the compiler generates a
warning when the struct's (uninitialized) field is being copied around

drivers/hid/intel-ish-hid/ipc/ipc.c: In function ‘write_ipc_from_queue’:
drivers/hid/intel-ish-hid/ipc/ipc.c:316: warning: ‘ts_format.reserved’ may be used uninitialized in this function

Avoid this by force-initializing the field to zero.

Acked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
2016-11-05 22:59:36 +01:00
..
ipc HID: intel-ish-hid: initialize ts_format.reserved 2016-11-05 22:59:36 +01:00
ishtp HID: intel_ish-hid: Remove duplicated include from bus.c 2016-08-29 09:36:21 +02:00
Kconfig HID: intel_ish-hid: ISH Transport layer 2016-08-17 11:13:07 +02:00
Makefile HID: intel-ish-hid: ISH HID client driver 2016-08-17 11:13:08 +02:00
ishtp-hid-client.c HID: intel-ish-hid: ISH HID client driver 2016-08-17 11:13:08 +02:00
ishtp-hid.c HID: intel-ish-hid: ISH HID client driver 2016-08-17 11:13:08 +02:00
ishtp-hid.h HID: intel-ish-hid: ISH HID client driver 2016-08-17 11:13:08 +02:00