diff options
author | Gustavo A. R. Silva | 2017-08-22 21:13:25 +0200 |
---|---|---|
committer | Jonathan Cameron | 2017-09-03 19:10:30 +0200 |
commit | 4e57562b4846e42cd1c2e556f0ece18c1154e116 (patch) | |
tree | 21860738bb28c016a8ffa8fe78be3cfe9907ab45 /drivers/iio/imu/adis.c | |
parent | iio: multiplexer: add NULL check on devm_kzalloc() and devm_kmemdup() return ... (diff) | |
download | kernel-qcow2-linux-4e57562b4846e42cd1c2e556f0ece18c1154e116.tar.gz kernel-qcow2-linux-4e57562b4846e42cd1c2e556f0ece18c1154e116.tar.xz kernel-qcow2-linux-4e57562b4846e42cd1c2e556f0ece18c1154e116.zip |
iio: imu: inv_mpu6050: fix missing break in switch
Add missing break statement to prevent the code for case
IIO_CHAN_INFO_CALIBBIAS falling through to the default case.
Also, add a break to the default case for the switch within
case IIO_CHAN_INFO_CALIBBIAS.
Addresses-Coverity-ID: 1357377
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/imu/adis.c')
0 files changed, 0 insertions, 0 deletions