diff options
author | zhong jiang <zhongjiang@huawei.com> | 2018-09-13 15:41:10 +0800 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2018-09-24 11:30:52 +0200 |
commit | 5fe2ccbef9d7aecf5c4402c753444f1a12096cfd (patch) | |
tree | 7106dd603efbee982ab15ca1876ebb32041bf741 /kernel/irq | |
parent | 3fe1d6bbcd16f384d2c7dab2caf8e4b2df9ea7e6 (diff) | |
download | op-kernel-dev-5fe2ccbef9d7aecf5c4402c753444f1a12096cfd.zip op-kernel-dev-5fe2ccbef9d7aecf5c4402c753444f1a12096cfd.tar.gz |
HID: logitech: fix a used uninitialized GCC warning
Fix the following compile warning:
drivers/hid/hid-logitech-hidpp.c: In function 'hi_res_scroll_enable':
drivers/hid/hid-logitech-hidpp.c:2714:54: warning: 'multiplier' may be used uninitialized in this function [-Wmaybe-uninitialized]
hidpp->vertical_wheel_counter.resolution_multiplier = multiplier;
Signed-off-by: zhong jiang <zhongjiang@huawei.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'kernel/irq')
0 files changed, 0 insertions, 0 deletions