]> git.baikalelectronics.ru Git - kernel.git/commit
iio:cdc:ad7150: Fix use of uninitialized ret
authorJonathan Cameron <Jonathan.Cameron@huawei.com>
Tue, 6 Apr 2021 08:23:37 +0000 (09:23 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Wed, 7 Apr 2021 07:36:39 +0000 (08:36 +0100)
commit0f940530dfacd547d47c906db771fe95f2f9fc70
tree11423d0fdbc94c645baa9e991b57ecce0510f6d5
parent44b47df1d5bcb1a79069ceba79088f855a6c7bdc
iio:cdc:ad7150: Fix use of uninitialized ret

This doesn't appear to generate a warning on all versions of GCC, but
0-day reported it and the report looks valid.

Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/cdc/ad7150.c