diff options
author | Arnd Bergmann <[email protected]> | 2017-07-14 11:31:03 +0200 |
---|---|---|
committer | Jonathan Cameron <[email protected]> | 2017-07-15 12:41:54 +0100 |
commit | 105967ad68d2eb1a041bc041f9cf96af2a653b65 (patch) | |
tree | f471eb06f84aaa8924f3bc70087907f21f3bf2ea /lib/mpi/mpih-mul.c | |
parent | 3091141d7803608950adc001518ffb544a4e3308 (diff) |
staging:iio:resolver:ad2s1210 fix negative IIO_ANGL_VEL read
gcc-7 points out an older regression:
drivers/staging/iio/resolver/ad2s1210.c: In function 'ad2s1210_read_raw':
drivers/staging/iio/resolver/ad2s1210.c:515:42: error: '<<' in boolean context, did you mean '<' ? [-Werror=int-in-bool-context]
The original code had 'unsigned short' here, but incorrectly got
converted to 'bool'. This reverts the regression and uses a normal
type instead.
Fixes: 29148543c521 ("staging:iio:resolver:ad2s1210 minimal chan spec conversion.")
Cc: [email protected]
Signed-off-by: Arnd Bergmann <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'lib/mpi/mpih-mul.c')
0 files changed, 0 insertions, 0 deletions