diff options
| author | Jiri Kosina <[email protected]> | 2016-11-05 15:15:03 +0000 |
|---|---|---|
| committer | Jiri Kosina <[email protected]> | 2016-11-05 21:59:36 +0000 |
| commit | 15607a3ad4272ed6f781a5250479c87746746dda (patch) | |
| tree | 9507bd58c1d33fa9a0811ead283cf5b77e237e2a /net/unix/af_unix.c | |
| parent | Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jik... (diff) | |
| download | kernel-15607a3ad4272ed6f781a5250479c87746746dda.tar.gz kernel-15607a3ad4272ed6f781a5250479c87746746dda.zip | |
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 <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
