diff options
author | Martin Kepplinger <martink@posteo.de> | 2017-04-04 20:06:57 +0300 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2017-04-05 18:52:36 +0300 |
commit | dd04dc6dbd7f32b904c3b9916f5eb6be6fc2bb58 (patch) | |
tree | 000e6f95fa7c13ca8ed3538758ce445d5b1dd1a2 /drivers/input/misc/pm8xxx-vibrator.c | |
parent | d99caa472c0a28dc95dd9b98c30ee46f9755181f (diff) | |
download | linux-dd04dc6dbd7f32b904c3b9916f5eb6be6fc2bb58.tar.xz |
Input: sur40 - fix bad endianness handling in sur40_poll
sparse says:
sur40.c:372:40: warning: restricted __le32 degrades to integer
the header's data is __le32 so we need to convert it before comparing.
Signed-off-by: Martin Kepplinger <martink@posteo.de>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/misc/pm8xxx-vibrator.c')
0 files changed, 0 insertions, 0 deletions