diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2012-07-11 10:28:00 +0100 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2012-07-12 17:50:26 +0100 |
commit | 3879089ba3421bc8136025837b1a532729643371 (patch) | |
tree | 2d5ca5fd4e00739415468763c2f11b702518b7ac /drivers/iio | |
parent | 7b7627410e2c211f24787f61e6419e16d259aa13 (diff) | |
download | blackbird-op-linux-3879089ba3421bc8136025837b1a532729643371.tar.gz blackbird-op-linux-3879089ba3421bc8136025837b1a532729643371.zip |
staging:iio:max1363: Don't free uninitialized variable
It is possible that on one of the error paths we are going to try to free
'rxbuf', even though it has not been allocated yet, which cause the following
warning:
drivers/staging/iio/adc/max1363_ring.c: In function 'max1363_trigger_handler':
drivers/staging/iio/adc/max1363_ring.c:87:7: warning: 'rxbuf' may be used
uninitialized in this function
Reported-by: Fengguang Wu <wfg@linux.intel.com>
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Diffstat (limited to 'drivers/iio')
0 files changed, 0 insertions, 0 deletions