linux/drivers/hid/intel-ish-hid/ipc
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
..
hw-ish-regs.h
hw-ish.h
ipc.c HID: intel-ish-hid: initialize ts_format.reserved 2016-11-05 22:59:36 +01:00
pci-ish.c HID: intel-ish-hid: use module_pci_driver to simplify the code 2016-08-29 09:36:19 +02:00
utils.h